screen_macros.te
PATCH 1/1 screen_macros.te
One of the entries had the parameters backward, which prevented screen from HUPing it's parent. This was causing "power detach" to fail.
screen_macros.te renamed from screen_macros.te.orig +1 -1
@@ -76,7 +76,7 @@ file_type_auto_trans($1_screen_t, screen_dir_t, $1_screen_var_run_t, fifo_file) allow $1_screen_t self:process { fork signal_perms }; -allow $1_t $1_screen_t:process signal; +allow $1_screen_t $1_t:process signal; allow $1_screen_t self:capability { setuid setgid fsetid }; dontaudit $1_screen_t shadow_t:file read;
Quoted 2 lines · Greg Norris
One of the entries had the parameters backward, which prevented screen from HUPing it's parent. This was causing "power detach" to fail.
After further testing, it seems that screen actually requires both variations. Here's an updated patch... please disregard my original version.
screen_macros.te renamed from screen_macros.te.orig +1 -0
@@ -77,6 +77,7 @@ allow $1_screen_t self:process { fork signal_perms }; allow $1_t $1_screen_t:process signal; +allow $1_screen_t $1_t:process signal; allow $1_screen_t self:capability { setuid setgid fsetid }; dontaudit $1_screen_t shadow_t:file read;
I would like to add a new file type cert_t for ssl cert files, since these are defaulted to usr_t right now. Shouldn't these be protected at a higher level?
#
# cert_t is the type of files in the system certs directories. # type cert_t, file_type, sysadmfile;
...
/usr/share/ssl/certs(/.*)? system_u:object_r:cert_t
--
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.
New type cert_t?
Sorry hit reply instead of new.
Quoted 17 lines
I would like to add a new file type
cert_tfor ssl cert files, since these are defaulted tousr_tright now. Shouldn't these be protected at a higher level?#
# cert_t is the type of files in the system certs directories. # type cert_t, file_type, sysadmfile;...
/usr/share/ssl/certs(/.*)? system_u:object_r:cert_t
Signature · 3 lines
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.
--
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.
Quoted 3 lines · Daniel J Walsh
I would like to add a new file type
cert_tfor ssl cert files, since these are defaulted tousr_tright now.
Shouldn't these be protected at a higher level?
Are you talking about protecting the integrity or the secrecy of data in such files?
If integrity then anything which can write to usr_t can break the system anyway. If secrecy then nothing in an rpm is secret anyway.
If there are certificates that have any secret data then they should be somewhere other than under /usr.
Signature · 9 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.
Quoted 9 lines · Russell Coker
Quoted 5 lines · Daniel J Walsh
I would like to add a new file type
cert_tfor ssl cert files, since these are defaulted tousr_tright now.
Shouldn't these be protected at a higher level?
Quoted 8 lines
Are you talking about protecting the integrity or the secrecy of data in such files?
If integrity then anything which can write to
usr_tcan break the system anyway. If secrecy then nothing in an rpm is secret anyway.If there are certificates that have any secret data then they should be somewhere other than under /usr.
They are not in an RPM, and there has been discussions that they should be moved under /var/ or /etc/. I think readability is the problem here. Wherever they end up we need a general case protecting the
certificates so ever application that can read /usr or /etc/ or /var can not read these files. We are also going
have to start looking at how we can protect Kerberos Key Files. But that is another conversation.
--
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.
Merged.
Quoted 7 lines · Greg Norris
Quoted 2 lines · Greg Norris
One of the entries had the parameters backward, which prevented screen from HUPing it's parent. This was causing "power detach" to fail.
After further testing, it seems that screen actually requires both variations. Here's an updated patch... please disregard my original version.
Signature · 7 lines
James Carter <[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.