]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgroup: open files with O_CLOEXEC
authorDhaval Giani <dhaval.giani@gmail.com>
Fri, 4 Jun 2010 11:30:59 +0000 (13:30 +0200)
committerDhaval Giani <dhaval.giani@gmail.com>
Fri, 4 Jun 2010 11:39:18 +0000 (13:39 +0200)
commit13f14395f14ceffa829d62dfef99a065346689ff
treefc7010070daa22803d3b7ff63638b27252a10fea
parent974948a8753c9c79c6901ff795c9829d968c60a6
libcgroup: open files with O_CLOEXEC

We don't want file handles to remain open across execs.
Therefore open files with the O_CLOEXEC flag which closes
the files on exec.

Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
src/api.c
src/config.c