[lxc-devel] [PATCH] lxc-attach: elevate specific privileges
Nikola Kotur
kotnick at gmail.com
Wed Nov 20 17:06:32 UTC 2013
On Wed, 20 Nov 2013 10:57:01 -0600
Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> > + lxc_fill_elevated_privileges(NULL, &elevated_privileges);
>
> Note I've applied it as is, and this failure shouldn't ever happen
> anyway, but you're not checking return value of
> lxc_fill_elevated_privileges() here.
Thanks, Serge.
I didn't check return value since it is really straight-forward and
simple in case the first argument is NULL. But, you're right, I'll
keep this in mind for the future.
--
Nikola Kotur
http://blog.kotur.org
PGP key: http://bin.kotur.org/key.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131120/12e6d317/attachment.pgp>
More information about the lxc-devel
mailing list