diff options
author | Casey Schaufler <[email protected]> | 2017-05-31 08:53:42 -0700 |
---|---|---|
committer | Casey Schaufler <[email protected]> | 2017-06-01 09:27:12 -0700 |
commit | 51d59af26fe81967e0d7ec92bd9381d3b26434f3 (patch) | |
tree | d43e2610710a1f4c82283120df19fe593ed77de0 /net/unix/af_unix.c | |
parent | e661a58279132da0127c67705e59d12f6027858d (diff) |
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 <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions