[apparmor] [PATCH v2 12/14] libapparmor: Create a man page for aa_features

Tyler Hicks tyhicks at canonical.com
Fri Jun 12 15:39:26 UTC 2015


On 2015-06-05 02:28:45, John Johansen wrote:
> On 04/02/2015 08:17 AM, Tyler Hicks wrote:
> > Create a section 3 man page for the aa_features family of functions.
> > Additionally, update the in-code descriptions to match the descriptions
> > in the man page.
> > 
> > Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
> 
> with the couple minor changes below
> Acked-by: John Johansen <john.johanse at canonical.com>

Thanks!

> 
> > ---
> 
> << snip >>
> 
> >  
> > +%.3: %.pod
> > +	$(PODCHECKER) -warnings -warnings $<
> > +	$(POD2MAN) \
> > +		--section=3 \
> > +		--release="AppArmor $(VERSION)" \
> > +		--center="AppArmor" \
> > +		--stderr \
> > +		$< > $@
> > +
> 
> err perhaps this is an artifact of patch shuffling but this re adds the %.3 section so the
> Makefile.am now has 2 of them

Yep, this is from the aa_splitcon(3) man page landing before these man
pages. I had to pull this hunk into the aa_splitcon(3) patches when I
pushed them to trunk.

My local copy of this patch set has dropped this hunk when I rebased it
on trunk.

> << snip >>
> 
> > +=head1 DESCRIPTION
> > +
> > +The I<aa_features> object contains information about the AppArmor features
> > +supported by a kernel. The feature support information is based upon the files
> > +AppArmor represents in securityfs, which is typically found at
> > +/sys/kernel/security/apparmor/features/. That information may be parsed and
> > +turned into a string or flat file in order to represent a set of features of
> > +kernel that is not currently running.
> > +
> of a kernel
>    ^

Fixed locally.

Tyler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150612/6e137b99/attachment.pgp>


More information about the AppArmor mailing list