[PATCH] fcntl.h: define AT_EACCESS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: maximilian attems
Date: Thursday, April 15, 2010 - 8:08 pm

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@kernel.org
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: maximilian attems <max@stro.at>
---
 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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fcntl.h: define AT_EACCESS, maximilian attems, (Thu Apr 15, 8:08 pm)
Re: [PATCH] fcntl.h: define AT_EACCESS, Andrew Morton, (Mon Apr 19, 2:47 pm)
Re: [PATCH] fcntl.h: define AT_EACCESS, maximilian attems, (Mon Apr 19, 2:57 pm)
Re: [PATCH] fcntl.h: define AT_EACCESS, Ulrich Drepper, (Mon Apr 19, 3:10 pm)
Re: [PATCH] fcntl.h: define AT_EACCESS, H. Peter Anvin, (Mon Apr 19, 3:11 pm)
Re: [PATCH] fcntl.h: define AT_EACCESS, David Wagner, (Mon Apr 19, 3:20 pm)