[apparmor] [patch] man page touchups

Steve Beattie steve at nxnw.org
Fri Mar 18 22:12:43 UTC 2016


On Fri, Mar 18, 2016 at 04:34:15PM -0500, Tyler Hicks wrote:
> On 2016-03-18 12:28:59, Steve Beattie wrote:
> > This makes some of the references to functions in the aa_query_label(2)
> > manpage more consistent and fixes a couple of grammar issues. It also
> > tries to make the qualifying statements in apparmor.d(5) more distinct,
> > and also fixes some typos there as well.
> > 
> > Signed-off-by: Steve Beattie <steve at nxnw.org>
> 
> Acked-by: Tyler Hicks <tyhicks at canonical.com>
> 
> With one minor suggestion below that you can take or leave.
> 
> > ---
> >  libraries/libapparmor/doc/aa_query_label.pod |   16 +++++-----
> >  parser/apparmor.d.pod                        |   40 ++++++++++++++++-----------
> >  2 files changed, 33 insertions(+), 23 deletions(-)
> > 
> > Index: b/libraries/libapparmor/doc/aa_query_label.pod
> > ===================================================================
> > --- a/libraries/libapparmor/doc/aa_query_label.pod
> > +++ b/libraries/libapparmor/doc/aa_query_label.pod
> > @@ -47,22 +47,22 @@ Link with B<-lapparmor> when compiling.
> >  
> >  =head1 DESCRIPTION
> >  
> > -The aa_query_label function fetches the current permissions granted by the
> > +The B<aa_query_label> function fetches the current permissions granted by the
> >  specified I<label> in the I<query> string.
> >  
> >  The query is a raw binary formatted query, containing the label and
> >  permission query to make. The returned I<allowed> and I<audited> values are
> > -interpreted boolean values, simple stating whether the query is allowed and
> > +interpreted boolean values, simply stating whether the query is allowed and
> >  if it is audited.
> >  
> >  The mask of the query string is a bit mask of permissions to query and is
> > -class type dependent (see AA_CLASS_xxx) entries in I<sys/apparmor.h>.
> > +class type dependent (see B<AA_CLASS_xxx> entries in I<sys/apparmor.h>).
> >  
> >  The format of the query string is also dependent on the B<AA_CLASS> and as
> > -such the the aa_query_xxx helper functions should usually be used instead
> > -of directly using I<aa_query_label>. If directly using the interface the
> > +such the aa_query_xxx helper functions should usually be used instead
> 
> How about B<aa_query_xxx> above?

Thanks, I'll roll that in with my commit.

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160318/e1b429f4/attachment.pgp>


More information about the AppArmor mailing list