[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TTY question


On Thu, 2005-02-10 at 16:16 -0500, Stephen Smalley wrote:
>On Thu, 2005-02-10 at 16:12, Ivan Gyurdiev wrote:
>> It's restored fine.
>> /dev/pts/x goes to sysadm_devpts_t after su
>>   and back to user_devpts_t after exit.
>>   
>>  There are no denials.
>
>Ok, good.

Actually here's probably why:
it's duplicated in su_mini_domain:

# Close and re-open ttys and ptys to get the fd into the correct domain.
allow $1_su_t { ttyfile ptyfile }:chr_file { read write };

So it's all good.

-- 
Ivan Gyurdiev <ivg2@xxxxxxxxxxx>
Cornell University


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


This mailing list archive is a service of Copilot Consulting.