From: Paul Moore <paul.moore@hp.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: [PATCH 1/2] Reference policy: NetLabel policy additions
Date: Thu, 12 Oct 2006 11:11:51 -0400 [thread overview]
Message-ID: <452E5B37.5020200@hp.com> (raw)
In-Reply-To: <1160664579.5980.42.camel@sgc>
Christopher J. PeBenito wrote:
> On Wed, 2006-10-11 at 17:29 -0400, paul.moore@hp.com wrote:
>
>>This patch adds basic NetLabel support to the reference policy.
>
> Merged to the labeled networking branch. A couple notes, mostly
> nitpicking that I skipped on your RFC email:
Thanks! I'll grab the version you checked in and give it a quick test just to
make sure.
>>+# allow communication with kernel subsystem
>>+allow netlabel_mgmt_t self:netlink_socket create_socket_perms;
>
> I'm guessing we don't have time to fix the kernel to make this a
> specified netlink socket, rather than using the fallback generic netlink
> socket?
No, the problem is that it is a much larger problem than just NetLabel, it's the
genetlink mechanism in general. I heard a rumor that someone was working on
adding proper SELinux genetlink support but I haven't seen anything posted. If
nothing appears in the next month or two I'll start working on something for
genetlink (I also owe Jamal some comments for his genetlink document).
>>@@ -155,10 +155,12 @@ ifdef(`enable_mls',`
>> logging_read_generic_logs(secadm_t)
>> userdom_dontaudit_append_staff_home_content_files(secadm_t)
>> userdom_dontaudit_read_sysadm_home_content_files(secadm_t)
>>+ netlabel_run_mgmt(secadm_t,secadm_r, { secadm_tty_device_t secadm_devpts_t })
>> ',`
>> logging_manage_audit_log(sysadm_t)
>> logging_manage_audit_config(sysadm_t)
>> logging_run_auditctl(sysadm_t,sysadm_r,admin_terminal)
>>+ netlabel_run_mgmt(sysadm_t,sysadm_r,admin_terminal)
>> ')
>
>
> I thought that netlabel just had the mls level. Wouldn't that make it
> useless on a non mls policy (the second addition is for non mls)?
There is an argument that it would still apply for the mcs case as well,
although the quality of that argument is debatable.
--
paul moore
linux security @ hp
--
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:[~2006-10-12 15:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-11 21:29 [PATCH 0/2] NetLabel policy additions for the reference policy paul.moore
2006-10-11 21:29 ` [PATCH 1/2] Reference policy: NetLabel policy additions paul.moore
2006-10-12 14:49 ` Christopher J. PeBenito
2006-10-12 15:11 ` Paul Moore [this message]
2006-10-11 21:30 ` [PATCH 2/2] Reference policy: Restrict NetLabel to same MLS label connections by default paul.moore
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=452E5B37.5020200@hp.com \
--to=paul.moore@hp.com \
--cc=cpebenito@tresys.com \
--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.