commit | 51d59af26fe81967e0d7ec92bd9381d3b26434f3 | [log] [tgz] |
---|---|---|
author | Casey Schaufler <casey@schaufler-ca.com> | Wed May 31 08:53:42 2017 -0700 |
committer | Casey Schaufler <casey@schaufler-ca.com> | Thu Jun 01 09:27:12 2017 -0700 |
tree | d43e2610710a1f4c82283120df19fe593ed77de0 | |
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 <sds@tyco.nsa.gov> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>