[apparmor] [patch] Document empty quotes ("") as empty value of a variable

Seth Arnold seth.arnold at canonical.com
Fri May 20 23:56:21 UTC 2016


On Sun, Nov 15, 2015 at 08:44:00PM +0100, Christian Boltz wrote:
> Hello,
> 
> $subject.
> 
> 
> [ document-empty-quotes-in-variables.diff ]

Acked for all branches where this makes sense :)

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Thanks

> 
> === modified file 'parser/apparmor.d.pod'
> --- parser/apparmor.d.pod       2015-08-25 11:27:18 +0000
> +++ parser/apparmor.d.pod       2015-11-15 19:40:58 +0000
> @@ -1220,7 +1220,8 @@
>  
>  The parser will automatically expand variables to include all values
>  that they have been assigned; it is an error to reference a variable
> -without setting at least one value.
> +without setting at least one value. You can use empty quotes ("") to
> +explicitly add an empty value.
>  
>  At the time of this writing, the following variables are defined in the
>  provided AppArmor policy:
> 
> 
-------------- 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/20160520/bdb88cbf/attachment.pgp>


More information about the AppArmor mailing list