aboutsummaryrefslogtreecommitdiff
path: root/security/smack/smack.h
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2017-05-31 08:53:42 -0700
committerCasey Schaufler <casey@schaufler-ca.com>2017-06-01 09:27:12 -0700
commit51d59af26fe81967e0d7ec92bd9381d3b26434f3 (patch)
treed43e2610710a1f4c82283120df19fe593ed77de0 /security/smack/smack.h
parente661a58279132da0127c67705e59d12f6027858d (diff)
downloadlinux-51d59af26fe81967e0d7ec92bd9381d3b26434f3.tar.gz
Smack: Safer check for a socket in file_receive
The check of S_ISSOCK() in smack_file_receive() is not appropriate if the passed descriptor is a socket. Reported-by: Stephen Smalley <sds@tyco.nsa.gov> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smack.h')
0 files changed, 0 insertions, 0 deletions