From: Eamon Walsh <ewalsh@tycho.nsa.gov>
To: Guido Trentalancia <guido@trentalancia.com>
Cc: SELinux@tycho.nsa.gov, Joshua Brindle <jbrindle@tresys.com>
Subject: Re: Contributed manual pages for libselinux
Date: Fri, 20 Nov 2009 21:42:03 -0500 [thread overview]
Message-ID: <4B07537B.7070204@tycho.nsa.gov> (raw)
In-Reply-To: <1257206276.24413.26.camel@tesla.lan>
On 11/02/2009 06:57 PM, Guido Trentalancia wrote:
> Hello !
>
> I found from http://userspace.selinuxproject.org/trac/wiki/Todo that the
> following manual pages were missing for libselinux:
>
[Added some cc's]
Hi, thanks for doing this. Some quick review below.
> * matchpathcon_checkmatches
> * matchpathcon_filespec_add
> * matchpathcon_filespec_destroy
> * matchpathcon_filespec_eval
> * matchpathcon_index
> * matchpathcon_init_prefix
>
There is too much in matchpathcon(3) now. It's going to need to be
split up into different pages, perhaps the init/fini/teardown stuff in
one page, the lookup calls in another, and the non-matchpathcon prefixed
calls in a third page.
Also, .so manpage links are needed for all the calls here.
> * print_access_vector
>
Looks good.
> * security_disable
>
See the selinux.h comments for this. It needs to be documented that
this function can only be called at startup time.
> * security_set_boolean_list
>
a RETURN VALUE section is needed in this page, documenting at least this
call if not the others in that page.
> * selinux_check_passwd_access
>
This is a replacement for the inconsistently named "checkPasswdAccess"
function. So, the existing description of checkPasswdAccess should be
moved to this function, and checkPasswdAccess should be changed to "this
is a deprecated alias for selinux_check_passwd_access".
> * selinux_init_load_policy
>
A paragraph break is needed in the DESCRIPTION section before this function.
> * selinux_lsetfilecon_default
>
See notes above about the matchpathcon manpage.
> * selinux_mkload_policy
>
Looks good.
> * set_selinuxmnt
>
This manpage includes two static functions that are not part of the
libselinux API (at least, not anymore) and should be removed.
Also, I'm not comfortable with the description given. Instead, use the
comments in selinux.h, which are more accurate and verbose.
--
Eamon Walsh
National Security Agency
--
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:[~2009-11-21 2:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-02 23:57 Contributed manual pages for libselinux Guido Trentalancia
2009-11-21 2:42 ` Eamon Walsh [this message]
2009-11-21 19:51 ` Guido Trentalancia
2009-11-27 19:23 ` Joshua Brindle
2009-11-27 20:03 ` Joshua Brindle
2009-11-21 22:03 ` [PATCH] Support for long-options in policycoreutils and checkpolicy (Ticket #1 [1672486]) Guido Trentalancia
2009-11-27 18:42 ` Joshua Brindle
2009-11-27 19:07 ` Joshua Brindle
2009-11-28 1:56 ` Guido Trentalancia
2009-11-28 1:58 ` Guido Trentalancia
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=4B07537B.7070204@tycho.nsa.gov \
--to=ewalsh@tycho.nsa.gov \
--cc=SELinux@tycho.nsa.gov \
--cc=guido@trentalancia.com \
--cc=jbrindle@tresys.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.