* Mozilla vs ORBit tmp files
@ 2005-02-20 14:48 Ivan Gyurdiev
2005-02-21 13:25 ` Daniel J Walsh
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Gyurdiev @ 2005-02-20 14:48 UTC (permalink / raw)
To: selinux; +Cc: dwalsh
Hi,
Mozilla was recently changed in the Fedora policy
to prevent writing to user_tmp_t. However that introduced
the following regression:
audit(1108909606.145:0): avc: denied { write } for pid=3830
exe=/usr/lib/firefox-1.0/firefox-bin name=linc-fd0-0-5891c0341b10d
dev=dm-0 ino=827446 scontext=user_u:user_r:user_mozilla_t
tcontext=user_u:object_r:user_tmp_t tclass=sock_file
Should it be changed back?
The original suggestion was to transition mozilla to user_mozilla_tmp_t,
but file_auto_trans() only works for creating new files, while here
mozilla is using existing sockets in /tmp/orbit-username.
--
Ivan Gyurdiev <ivg2@cornell.edu>
Cornell University
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Mozilla vs ORBit tmp files
2005-02-20 14:48 Mozilla vs ORBit tmp files Ivan Gyurdiev
@ 2005-02-21 13:25 ` Daniel J Walsh
0 siblings, 0 replies; 2+ messages in thread
From: Daniel J Walsh @ 2005-02-21 13:25 UTC (permalink / raw)
To: ivg2; +Cc: selinux
Ivan Gyurdiev wrote:
>Hi,
>
>Mozilla was recently changed in the Fedora policy
>to prevent writing to user_tmp_t. However that introduced
>the following regression:
>
>audit(1108909606.145:0): avc: denied { write } for pid=3830
>exe=/usr/lib/firefox-1.0/firefox-bin name=linc-fd0-0-5891c0341b10d
>dev=dm-0 ino=827446 scontext=user_u:user_r:user_mozilla_t
>tcontext=user_u:object_r:user_tmp_t tclass=sock_file
>
>Should it be changed back?
>
>The original suggestion was to transition mozilla to user_mozilla_tmp_t,
>but file_auto_trans() only works for creating new files, while here
>mozilla is using existing sockets in /tmp/orbit-username.
>
>
>
I will add the following back in.
allow user_mozilla_t user_tmp_t:sock_file rw_file_perms;
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-21 13:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-20 14:48 Mozilla vs ORBit tmp files Ivan Gyurdiev
2005-02-21 13:25 ` Daniel J Walsh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.