]> git.ipfire.org Git - thirdparty/lxc.git/commit
prevent tty fd to be inherited in the container
authorMôshe van der Sterre <me@moshe.nl>
Mon, 20 Apr 2009 20:10:59 +0000 (22:10 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 20 Apr 2009 20:10:59 +0000 (22:10 +0200)
commitb035ad62e6f5f8a706c8e8c21405b5ef6b4d58d6
treef623871cc9b2343701e13a65946839dd95945c80
parent8de09ef5560c418d055a531efeabc5adee345ace
prevent tty fd to be inherited in the container

Set the close on exec flag on the pty fd so they are automatically
closed when execing the container.

Signed-off-by: Môshe van der Sterre <me@moshe.nl>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c