diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0001-fcntl-Add-AT_EMPTY_PATH-for-all-and-O_PATH-for-arm.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-fcntl-Add-AT_EMPTY_PATH-for-all-and-O_PATH-for-arm.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-fcntl-Add-AT_EMPTY_PATH-for-all-and-O_PATH-for-arm.patch b/meta/recipes-core/uclibc/uclibc-git/0001-fcntl-Add-AT_EMPTY_PATH-for-all-and-O_PATH-for-arm.patch deleted file mode 100644 index 6942db4624..0000000000 --- a/meta/recipes-core/uclibc/uclibc-git/0001-fcntl-Add-AT_EMPTY_PATH-for-all-and-O_PATH-for-arm.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 4c8f5fe7d41493e8e181941ae5a01713155f44d1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 15 Oct 2015 15:34:39 +0000 | ||
4 | Subject: [PATCH] fcntl: Add AT_EMPTY_PATH for all and O_PATH for arm | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | include/fcntl.h | 3 +++ | ||
11 | libc/sysdeps/linux/arm/bits/fcntl.h | 1 + | ||
12 | 2 files changed, 4 insertions(+) | ||
13 | |||
14 | diff --git a/include/fcntl.h b/include/fcntl.h | ||
15 | index 11000dd..8a7ad9b 100644 | ||
16 | --- a/include/fcntl.h | ||
17 | +++ b/include/fcntl.h | ||
18 | @@ -65,6 +65,9 @@ __BEGIN_DECLS | ||
19 | # define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */ | ||
20 | # define AT_EACCESS 0x200 /* Test access permitted for | ||
21 | effective IDs, not real IDs. */ | ||
22 | +# ifdef __USE_GNU | ||
23 | +# define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname. */ | ||
24 | +# endif | ||
25 | #endif | ||
26 | |||
27 | /* Do the file control operation described by CMD on FD. | ||
28 | diff --git a/libc/sysdeps/linux/arm/bits/fcntl.h b/libc/sysdeps/linux/arm/bits/fcntl.h | ||
29 | index aedc154..c6ba958 100644 | ||
30 | --- a/libc/sysdeps/linux/arm/bits/fcntl.h | ||
31 | +++ b/libc/sysdeps/linux/arm/bits/fcntl.h | ||
32 | @@ -50,6 +50,7 @@ | ||
33 | # define O_DIRECT 0200000 /* Direct disk access. */ | ||
34 | # define O_NOATIME 01000000 /* Do not set atime. */ | ||
35 | # define O_CLOEXEC 02000000 /* Set close_on_exec. */ | ||
36 | +# define O_PATH 010000000 /* Resolve pathname but do not open file. */ | ||
37 | #endif | ||
38 | |||
39 | /* For now Linux has synchronisity options for data and read operations. | ||
40 | -- | ||
41 | 2.6.1 | ||
42 | |||