Skip to contentSkip to conversation

executing a sock_file

DISCUSSION Stephen D. Smalley 2 participants 2 messages Nov 29, 2002 – Dec 1, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines
Nov 28 15:50:18 lyta kernel: avc:  denied  { execute } for  pid=4084 

exe=/usr/lib/openoffice/program/soffice.bin path=/tmp/OSL_PIPE_1001_SingleOfficeIPC_-383479802 dev=03:02 ino=900 scontext=rjc:user_r:user_t tcontext=rjc:object_r:user_tmp_t tclass=sock_file

What does it mean by executing a sock_file?

Star Office seems to run OK anyway...

Can you reproduce this denial reliably? For normal file execution, the base kernel should deny attempts to execute any non-regular file before LSM/SELinux is ever invoked. Possibly a check on a mmap, but that doesn't make a lot of sense to me either for a sock file.

--
Stephen Smalley, NSA
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 6 lines · Stephen D. Smalley
Quoted 6 lines
Nov 28 15:50:18 lyta kernel: avc:  denied  { execute } for  pid=4084

exe=/usr/lib/openoffice/program/soffice.bin path=/tmp/OSL_PIPE_1001_SingleOfficeIPC_-383479802 dev=03:02 ino=900 scontext=rjc:user_r:user_t tcontext=rjc:object_r:user_tmp_t tclass=sock_file

Quoted 8 lines
Quoted 3 lines

What does it mean by executing a sock_file?

Star Office seems to run OK anyway...

Can you reproduce this denial reliably? For normal file execution, the base kernel should deny attempts to execute any non-regular file before LSM/SELinux is ever invoked. Possibly a check on a mmap, but that doesn't make a lot of sense to me either for a sock file.

I've tried a few times to do this, under both 2.4.19 and 2.4.20, but I can't get it to happen again.

For the moment I've given up, if I see such a thing in future I'll have to make careful notes about the state of my machine.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.