[lxc-devel] [PATCH] Documenting valueless lxc.cap.drop behaviour

Stéphane Graber stgraber at ubuntu.com
Mon Jan 4 17:43:13 UTC 2016


On Sun, Jan 03, 2016 at 11:20:47PM +0100, Marko Hauptvogel wrote:
> From b24b0e16848fbb93402a08efa3950cd59272b8da Mon Sep 17 00:00:00 2001
> From: Marko Hauptvogel <marko.hauptvogel at googlemail.com>
> Date: Sun, 3 Jan 2016 23:07:19 +0100
> Subject: [PATCH] Documenting valueless lxc.cap.drop behaviour
> 
> Undocummented behaviour since 7d0eb87.
> 
> Signed-off-by: Marko Hauptvogel <marko.hauptvogel at googlemail.com>

We should probably have something at the top of the file saying that
setting the value to empty will clear all lists rather than only mention
it for caps, but this is still an improvement.

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  doc/lxc.container.conf.sgml.in | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/lxc.container.conf.sgml.in b/doc/lxc.container.conf.sgml.in
> index 6fef7ad..b0a91ff 100644
> --- a/doc/lxc.container.conf.sgml.in
> +++ b/doc/lxc.container.conf.sgml.in
> @@ -1126,7 +1126,9 @@ proc proc proc nodev,noexec,nosuid 0 0
>                <citerefentry>
> 
> <refentrytitle><command>capabilities</command></refentrytitle>
>                  <manvolnum>7</manvolnum>
> -              </citerefentry>,
> +              </citerefentry>.
> +              If used with no value, lxc will clear any drop capabilities
> +              specified up to this point.
>              </para>
>            </listitem>
>          </varlistentry>
> -- 
> 2.6.4
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160104/14470ae6/attachment.sig>


More information about the lxc-devel mailing list