prot_hsymlinks.c: Define _GNU_SOURCE which is required for O_DIRECTORY
PATCH 1/1 prot_hsymlinks.c: Define _GNU_SOURCE which is required for O_DIRECTORY
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(+)
testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c +1 -0
@@ -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>
Signature · 14 lines
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
Hi!
Quoted 7 lines
O_DIRECTORYis only available if_GNU_SOURCEis defined in uClibc toolchains.This is similar to
0d0c695c8c6657710d1a8ecb4f1264dcd405276b"open11.c: Define_GNU_SOURCEwhich is required forO_DIRECTORY"Signed-off-by Markos Chandras <[email protected]>
Commited, thanks.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ 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