selinux/policycoreutils/sandbox
Eric Paris 39066bd0ac policycoreutils: seunshare: define _GNU_SOURCE earlier
If one tries to build policycoreutils it won't work because of:

seunshare.c: In function ‘main’:
seunshare.c:242:21: error: ‘CLONE_NEWNS’ undeclared (first use in this
function)
seunshare.c:242:21: note: each undeclared identifier is reported only
once for each function it appears in
make[1]: *** [seunshare.o] Error 1

Moving the #define _GNU_SOURCE earlier in the file means it is set when
sched.h is includes via some of dependancy chain.  Thus it can build.

Signed-off-by: Eric Paris <eparis@redhat.com>
2011-08-02 13:58:07 -04:00
..
.gitignore Repo: update .gitignore 2011-08-02 13:31:51 -04:00
Makefile Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
sandbox Author: Steve Lawrence 2010-06-10 16:37:59 -04:00
sandbox.8 Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
sandbox.config Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
sandbox.init Author: Steve Lawrence 2010-06-10 16:37:59 -04:00
sandboxX.sh Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
seunshare.c policycoreutils: seunshare: define _GNU_SOURCE earlier 2011-08-02 13:58:07 -04:00
test_sandbox.py Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00