diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2015-12-08 01:34:32 +0300 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2015-12-10 03:10:55 +0300 |
commit | 79be093500791cc25cc31bcaec5a4db62e21497b (patch) | |
tree | 4cdbb37c73f0e8f4112d9780880b23c0fdfd7890 /security/integrity/Kconfig | |
parent | ebd68df3f24b318d391d15c458d6f43f340ba36a (diff) | |
download | linux-79be093500791cc25cc31bcaec5a4db62e21497b.tar.xz |
Smack: File receive for sockets
The existing file receive hook checks for access on
the file inode even for UDS. This is not right, as
the inode is not used by Smack to make access checks
for sockets. This change checks for an appropriate
access relationship between the receiving (current)
process and the socket. If the process can't write
to the socket's send label or the socket's receive
label can't write to the process fail.
This will allow the legitimate cases, where the
socket sender and socket receiver can freely communicate.
Only strangly set socket labels should cause a problem.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/integrity/Kconfig')
0 files changed, 0 insertions, 0 deletions