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: NStephen Smalley <sds@tyco.nsa.gov> Signed-off-by: NCasey Schaufler <casey@schaufler-ca.com>
Showing
想要评论请 注册 或 登录