From: Karl MacMillan <kmacmillan@mentalrootkit.com>
To: Rodrigo Vivi <vivijim@br.ibm.com>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: [PATCH] policycoreutils semanage for nodes
Date: Fri, 08 Sep 2006 09:47:08 -0400 [thread overview]
Message-ID: <1157723228.21235.8.camel@localhost.localdomain> (raw)
In-Reply-To: <200609051527.41081.vivijim@br.ibm.com>
On Tue, 2006-09-05 at 15:27 -0300, Rodrigo Vivi wrote:
> Hi all,
>
> Since libsemanage support node context management and semanage command for
> policycoreutils does not, I thought that was a good idea to implement this.
>
> This patch provide all that semanage command needs to manage nodes context.
> (including a man page updated)
>
> However I know that SECMARK mechanism largely obsoletes the use of
> netif and node contexts going forward, but I did this patch because I was
> missing the node management at semanage command.
>
I think that netif and node will be around for a while and node in
particular is useful for bind(2).
> Thanks,
> Rodrigo Vivi.
> (vivijim at #selinux)
> diff -ruN policycoreutils-1.30.26/semanage/semanage
> policycoreutils-dev/semanage/semanage
> --- policycoreutils-1.30.26/semanage/semanage 2006-08-12
> 09:21:39.000000000 -0300
> +++ policycoreutils-dev/semanage/semanage 2006-09-03
> 05:05:41.000000000 -0300
> @@ -41,6 +41,7 @@
> semanage user -{a|d|m} [-LrRP] selinux_name\n\
> semanage port -{a|d|m} [-tr] [ -p protocol ] port | port_range\n\
> semanage interface -{a|d|m} [-tr] interface_spec\n\
> +semanage node -{a|d|m} [-tr] [ -p protocol ] [-M netmask] addr\n\
> semanage fcontext -{a|d|m} [-frst] file_spec\n\
> semanage translation -{a|d|m} [-T] level\n\n\
> \
> @@ -65,7 +66,8 @@
> -l (symbolic link) \n\
> -p (named pipe) \n\n\
> \
> - -p, --proto Port protocol (tcp or udp)\n\
> + -p, --protocol Port protocol (tcp or udp)\n\
Did you mean to make this change? It doesn't appear in the argument
parsing below. Additionally, I don't think that it is a good idea to
change the arguments at this point even if they are better.
Otherwise this looks good - thanks for also making the manpage change.
If you are OK with the change above being dropped I don't think there is
a reason to resubmit.
Acked-by Karl MacMillan <kmacmillan@mentalrootkit.com>
--
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-09-08 13:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-05 18:27 [PATCH] policycoreutils semanage for nodes Rodrigo Vivi
2006-09-08 13:47 ` Karl MacMillan [this message]
2006-09-08 13:54 ` Joshua Brindle
2006-09-08 15:12 ` Karl MacMillan
2006-09-08 15:46 ` Joshua Brindle
2006-09-08 17:51 ` Karl MacMillan
2006-09-09 20:54 ` Rodrigo Vivi
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=1157723228.21235.8.camel@localhost.localdomain \
--to=kmacmillan@mentalrootkit.com \
--cc=selinux@tycho.nsa.gov \
--cc=vivijim@br.ibm.com \
/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.