[lxc-devel] [PATCH 1/2] Fix some issues with inherited fd's

Vladimir Smirnov civil at yandex-team.ru
Tue Aug 23 12:00:34 UTC 2011


Patch in attachment changes lxc-init and lxc-attach to use clone instead
of fork.
 Reason for it: clone permits to set custom flags, so you can call it
 without CLONE_FILES and all fd's with O_CLOEXEC flag won't be passed to
 child.

-- 
Best regards, Vladimir Smirnov.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Modify-lxc_attach-and-lxc_init-to-use-clone-instead-.patch
Type: text/x-patch
Size: 5116 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110823/1d1e0a75/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110823/1d1e0a75/attachment.pgp>


More information about the lxc-devel mailing list