Skip to contentSkip to conversation

signal permissions

DISCUSSION Russell Coker 2 participants 2 messages May 23, 2002 – May 24, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Why is it possible to specify sigstop but not sigcont in the permissions? Surely it would make sense to be able to control starting in the same way as controlling stopping? If you allow "signal" access to get the sigcont then you are also allowing sigusr*, sigsegv, etc.

Also what about sighup?

Signature · 10 lines
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.


--
You have received this message because you are subscribed to the selinux 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 · Russell Coker

Why is it possible to specify sigstop but not sigcont in the permissions? Surely it would make sense to be able to control starting in the same way as controlling stopping? If you allow "signal" access to get the sigcont then you are also allowing sigusr*, sigsegv, etc.

Also what about sighup?

Distinct permissions are provided for signals that cannot be caught or ignored (sigkill, sigstop), since they may have different security implications. A distinct permission is also provided for sigchld, since it is commonly granted between a child and its parent without wanting to grant other signal permissions.

It would be easy to provide a distinct permission for every signal, but it isn't clear that whether such distinctions would be worthwhile.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.