Skip to contentSkip to conversation

Access_terminal + ioctl

DISCUSSION Ivan Gyurdiev 2 participants 2 messages Feb 21, 2005 – Feb 22, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Is it all right if I add back ioctl permission on $1_devpts_t, $1_tty_device_t, and devtty_t (chr_file) in the access_terminal macro?

Already all of those domains need it:
- smbmount_t
- $1_su_t
- $1_ssh_t
- $1_gpg_t
- $1_mplayer_t
- $1_mencoder_t

Can I just use rw_file_perms?

Signature · 8 lines
Ivan Gyurdiev <[email protected]>
Cornell University


--
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 3 lines · Ivan Gyurdiev

Is it all right if I add back ioctl permission on $1_devpts_t, $1_tty_device_t, and devtty_t (chr_file) in the access_terminal macro?

Yes.

Quoted 1 line

Can I just use rw_file_perms?

No.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.