[apparmor] [patch] add network 'kcm' keyword to apparmor.d manpage
Seth Arnold
seth.arnold at canonical.com
Thu Oct 13 20:38:57 UTC 2016
On Thu, Oct 13, 2016 at 09:21:35PM +0200, Christian Boltz wrote:
> Hello,
>
> $subject.
> I already did this in the python code a month ago, and now realized that
> we should also update the apparmor.d manpage ;-)
>
> As a sidenote - would it be over-engeneered to use something like
> B<DOMAIN> = @@NETWORK_DOMAIN_KEYWORDS@@
> and then have a script that adjusts it (based on kernel features and/or
> the python code)?
>
>
> I propose this patch for trunk and 2.10.
Acked for both.
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
> (not for 2.9 because the 2.9 apparmor.d manpage is completely out of sync)
>
>
> [ apparmor.d-network-kcm.diff ]
>
> === modified file 'parser/apparmor.d.pod'
> --- parser/apparmor.d.pod 2016-06-01 20:55:14 +0000
> +++ parser/apparmor.d.pod 2016-10-13 19:12:33 +0000
> @@ -105,7 +105,7 @@
>
> B<NETWORK RULE> = [ I<QUALIFIERS> ] 'network' [ I<DOMAIN> ] [ I<TYPE> | I<PROTOCOL> ]
>
> -B<DOMAIN> = ( 'inet' | 'ax25' | 'ipx' | 'appletalk' | 'netrom' | 'bridge' | 'atmpvc' | 'x25' | 'inet6' | 'rose' | 'netbeui' | 'security' | 'key' | 'packet' | 'ash' | 'econet' | 'atmsvc' | 'sna' | 'irda' | 'pppox' | 'wanpipe' | 'bluetooth' | 'netlink' | 'unix' | 'rds' | 'llc' | 'can' | 'tipc' | 'iucv' | 'rxrpc' | 'isdn' | 'phonet' | 'ieee802154' | 'caif' | 'alg' | 'nfc' | 'vsock' | 'mpls' | 'ib' ) ','
> +B<DOMAIN> = ( 'inet' | 'ax25' | 'ipx' | 'appletalk' | 'netrom' | 'bridge' | 'atmpvc' | 'x25' | 'inet6' | 'rose' | 'netbeui' | 'security' | 'key' | 'packet' | 'ash' | 'econet' | 'atmsvc' | 'sna' | 'irda' | 'pppox' | 'wanpipe' | 'bluetooth' | 'netlink' | 'unix' | 'rds' | 'llc' | 'can' | 'tipc' | 'iucv' | 'rxrpc' | 'isdn' | 'phonet' | 'ieee802154' | 'caif' | 'alg' | 'nfc' | 'vsock' | 'mpls' | 'ib' | 'kcm' ) ','
>
> B<TYPE> = ( 'stream' | 'dgram' | 'seqpacket' | 'rdm' | 'raw' | 'packet' )
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161013/11e067a1/attachment.pgp>
More information about the AppArmor
mailing list