From: Markos Chandras <[email protected]> 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 <[email protected]> --- testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c | 1 + 1 file changed, 1 insertion(+) 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> -- 1.8.2.1 ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
