commit | 869f2a533a619f44a2ccd04c5f9bc24b95568b6b | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed May 22 20:13:23 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed May 22 20:13:23 2013 -0700 |
tree | f4688a2fb05f426ca5814a60eb2dd5211679535d | |
parent | 78af7f6ffbc6c3ef84b8f7ac6ecc64bb941d8d5a [diff] |
ct_env_create_real(): don't use O_CLOEXEC Replace O_CLOEXEC flag to open with a separate fcntl(FD_CLOEXEC) call, since otherwise we can't be compiled on older distros: hooks_ct.c: In function 'ct_env_create_real': hooks_ct.c:427: error: 'O_CLOEXEC' undeclared (first use in this function) hooks_ct.c:427: error: (Each undeclared identifier is reported only once hooks_ct.c:427: error: for each function it appears in.) Signed-off-by: Kir Kolyshkin <kir@openvz.org>