From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: Jim Carter <jwcart2@epoch.ncsc.mil>,
Russell Coker <russell@coker.com.au>,
SE Linux <selinux@tycho.nsa.gov>
Subject: Re: ssh policy
Date: Fri, 10 Sep 2004 11:24:59 -0400 [thread overview]
Message-ID: <4141C74B.6040802@redhat.com> (raw)
In-Reply-To: <1094828891.28310.52.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
>On Fri, 2004-09-10 at 10:50, Daniel J Walsh wrote:
>
>
>>Latest policy. More stuff for dbus. Added media file. Changes for
>>udev on tmpfs.
>>
>>
>
>Conflicts with our latest patches.
>
>
Ok
>>______________________________________________________________________
>>-allow ifconfig_t self:netlink_route_socket { bind create getattr nlmsg_read nlmsg_write read write };
>>+allow ifconfig_t self:netlink_route_socket { bind create getattr nlmsg_read nlmsg_write read write setopt };
>>
>>
>
>I just replaced this with rw_netlink_socket_perms in our tree.
>
>
>
Yes I saw that.
>>-r_dir_file(updfstab_t, { selinux_config_t file_context_t default_context_t } )
>> can_getsecurity(updfstab_t)
>>+dontaudit updfstab_t selinux_config_t:dir search;
>>
>>
>
>I don't think that this is correct; updfstab appears to be looking up a
>context via matchpathcon for preserving the context on /etc/fstab, so it
>needs access to the file contexts file as in our policy.
>
>
Ok somebody else must have made that change.
>
>
>>diff --exclude-from=exclude -N -u -r nsapolicy/file_contexts/program/xserver.fc policy-1.17.13/file_contexts/program/xserver.fc
>>--- nsapolicy/file_contexts/program/xserver.fc 2004-09-09 15:36:11.000000000 -0400
>>+++ policy-1.17.13/file_contexts/program/xserver.fc 2004-09-10 10:29:32.761599897 -0400
>>@@ -11,7 +11,7 @@
>> /var/log/XFree86.* -- system_u:object_r:xserver_log_t
>> /var/log/Xorg.* -- system_u:object_r:xserver_log_t
>> /etc/init\.d/xfree86-common -- system_u:object_r:xserver_exec_t
>>-/tmp/\.X11-unix -d system_u:object_r:xdm_xserver_tmp_t
>>+/tmp/\.X11-unix -d system_u:object_r:xdm_tmp_t
>> /tmp/\.X11-unix/.* -s <<none>>
>> /tmp/\.ICE-unix -d system_u:object_r:xdm_xserver_tmp_t
>> /tmp/\.ICE-unix/.* -s <<none>>
>>
>>
>
>I know that this was motivated by the relabel cycling reported by Tom
>London, but it raises an obvious question - who is creating this
>directory? Is it truly [xdk]dm? If not, why it is being created in
>xdm_tmp_t rather than xdm_xserver_t?
>
>
>
>>+dontaudit $1_dbusd_t var_t:dir { getattr search };
>>
>>
>
>Hmm...I was going to give it access to read /var/run/console, as with
>the system dbus daemon. Does the per-session dbusd not need it?
>
>
>
Colin will need to comment on this.
--
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.
next prev parent reply other threads:[~2004-09-10 15:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-08 18:28 ssh policy Russell Coker
2004-09-09 20:33 ` James Carter
2004-09-10 14:50 ` Daniel J Walsh
2004-09-10 15:08 ` Stephen Smalley
2004-09-10 15:24 ` Daniel J Walsh [this message]
2004-09-10 18:09 ` Luke Kenneth Casson Leighton
2004-09-11 9:13 ` Russell Coker
2004-09-13 12:47 ` Daniel J Walsh
2004-09-13 14:31 ` Daniel J Walsh
2004-09-13 20:18 ` James Carter
-- strict thread matches above, loose matches on Subject: below --
2003-12-05 1:18 Nick
2003-12-05 2:07 ` ssh policy Russell Coker
[not found] ` <1070651210.27071.290.camel@hawaii.efficax.net>
2003-12-06 6:22 ` Russell Coker
2002-10-23 18:52 Russell Coker
2002-10-23 19:20 ` Stephen Smalley
2002-07-31 16:53 Russell Coker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4141C74B.6040802@redhat.com \
--to=dwalsh@redhat.com \
--cc=jwcart2@epoch.ncsc.mil \
--cc=russell@coker.com.au \
--cc=sds@epoch.ncsc.mil \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.