[PATCH] fcntl.h: define AT_EACCESS

From: maximilian attems
Date: Thu Apr 15 2010 - 23:09:13 EST


noticed on a klibc build of dash that someone had left out that def:
usr/dash/bltin/test.c:490: error: âAT_EACCESSâ undeclared (first use in thiction)

Cc: stable@xxxxxxxxxx
Cc: Ulrich Drepper <drepper@xxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: maximilian attems <max@xxxxxxx>
---
include/linux/fcntl.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/fcntl.h b/include/linux/fcntl.h
index 8603740..8bb001d 100644
--- a/include/linux/fcntl.h
+++ b/include/linux/fcntl.h
@@ -39,6 +39,8 @@
#define AT_REMOVEDIR 0x200 /* Remove directory instead of
unlinking file. */
#define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
+#define AT_EACCESS 0x200 /* Test access permitted for
+ effective IDs, not real IDs. */

#ifdef __KERNEL__

--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/