1
0
Fork 0
alistair23-linux/security/smack
Casey Schaufler 6ea062475a Smack: IPv6 casting error fix for 3.11
The original implementation of the Smack IPv6 port based
local controls works most of the time using a sockaddr as
a temporary variable, but not always as it overflows in
some circumstances. The correct data is a sockaddr_in6.
A struct sockaddr isn't as large as a struct sockaddr_in6.
There would need to be casting one way or the other. This
patch gets it the right way.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2013-08-06 20:53:54 +10:00
..
Kconfig Smack: use select not depends in Kconfig 2012-12-14 10:57:10 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h Smack: Add smkfstransmute mount option 2013-05-28 10:08:44 -07:00
smack_access.c Smack: Fix possible NULL pointer dereference at smk_netlbl_mls() 2013-05-28 10:15:35 -07:00
smack_lsm.c Smack: IPv6 casting error fix for 3.11 2013-08-06 20:53:54 +10:00
smackfs.c Smack: Fix the bug smackcipso can't set CIPSO correctly 2013-06-03 10:56:02 -07:00