lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48860CA3.7030806@trash.net>
Date:	Tue, 22 Jul 2008 18:36:51 +0200
From:	Patrick McHardy <kaber@...sh.net>
To:	Adrian Bunk <bunk@...nel.org>
CC:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: struct tpacket_auxdata userspace ABI breakage

Adrian Bunk wrote:
> Commit 393e52e33c6c26ec7db290dab803bac1bed962d4
> (packet: deliver VLAN TCI to userspace) adds a
> member tp_vlan_tci to struct tpacket_auxdata.
> 
> This changes the size of the struct, and unless I miss something
> it is an ABI change that must be reverted.

It increases the structure size under the assumption that userspace
should be able to handle this since its expected that more things
will be added over time. Existing binaries will continue to run just
fine in any case, the only potential problem is when compiling against
new headers and running on old kernels (structures will appear
undersized if userspace doesn't handle this correctly). An alternative
would a new cmsg for the VLAN TCI.

The only existing user of this (a set of patches I sent for libpcap)
handles this correctly though.


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ