Re: [PATCH v7 2/2] block: add overflow checks for Amiga partition support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 15, 2023 at 10:13:14AM +1000, Finn Thain wrote:
> > affs_hardblocks.h is a UAPI header - what are the rules and 
> > ramifications around changes to those? Might not be worth the hassle in 
> > the end.
> > 
> 
> I think it's safe to fix the UAPI header if we are talking about 
> endianness annotations that affect static checking and not code 
> generation. The existing annotations in that struct would appear to 
> support that notion, if indeed they were put there for the benefit of the 
> kernel.

More importantly there has never been any API gurantee in the UAPI
headers.  Compiling user space code absolutely may break due to changes
to them (although we avoid that if we can), we just must not change the
kernel ABI.  But as as said the __be annotations are no-ops for
compilers, and do the right thing even in userspace for projects using
sparse.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux