From: Cyril H. <su...@li...> - 2013-05-15 17:21:27
|
The branch, master, has been updated via 2067f15ae38911fc6a003d76a3a3cd8637cc579a (commit) from 2d2b94348a482ca608886ffab9f83148244bccfc (commit) - Log ----------------------------------------------------------------- commit 2067f15ae38911fc6a003d76a3a3cd8637cc579a Author: Markos Chandras <mar...@im...> Date: Wed May 15 15:17:44 2013 +0100 prot_hsymlinks.c: Define _GNU_SOURCE which is required for O_DIRECTORY O_DIRECTORY is only available if _GNU_SOURCE is defined in uClibc toolchains. This is similar to 0d0c695c8c6657710d1a8ecb4f1264dcd405276b "open11.c: Define _GNU_SOURCE which is required for O_DIRECTORY" Signed-off-by: Markos Chandras <mar...@im...> ----------------------------------------------------------------------- Summary of changes: .../security/prot_hsymlinks/prot_hsymlinks.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c b/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c index 8feef99..1eec0f9 100644 --- a/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c +++ b/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c @@ -31,6 +31,7 @@ * of the file or he doesn't have write access to the file. */ +#define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <pwd.h> hooks/post-receive -- ltp |