Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 51d59af2 authored by Casey Schaufler's avatar Casey Schaufler
Browse files

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: default avatarStephen Smalley <sds@tyco.nsa.gov>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent e661a582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment