]>
Commit | Line | Data |
---|---|---|
2532c0bb CW |
1 | From stable-bounces@linux.kernel.org Wed Dec 13 06:18:12 2006 |
2 | Date: Wed, 13 Dec 2006 14:12:15 +0000 | |
3 | From: Russell King <rmk@arm.linux.org.uk> | |
4 | To: stable@kernel.org | |
5 | Message-ID: <20061213141215.GA21171@dyn-67.arm.linux.org.uk> | |
6 | Subject: ARM: Add sys_*at syscalls | |
7 | ||
8 | Later glibc requires the *at syscalls. Add them. | |
9 | ||
10 | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | |
11 | Signed-off-by: Chris Wright <chrisw@sous-sol.org> | |
12 | --- | |
13 | arch/arm/kernel/calls.S | 13 +++++++++++++ | |
14 | include/asm-arm/unistd.h | 13 +++++++++++++ | |
15 | 2 files changed, 26 insertions(+) | |
16 | ||
17 | bca0b8e75f6b7cf52cf52c967286b72d84f9b37e | |
18 | --- linux-2.6.19.1.orig/arch/arm/kernel/calls.S | |
19 | +++ linux-2.6.19.1/arch/arm/kernel/calls.S | |
20 | @@ -331,6 +331,19 @@ | |
21 | CALL(sys_mbind) | |
22 | /* 320 */ CALL(sys_get_mempolicy) | |
23 | CALL(sys_set_mempolicy) | |
24 | + CALL(sys_openat) | |
25 | + CALL(sys_mkdirat) | |
26 | + CALL(sys_mknodat) | |
27 | +/* 325 */ CALL(sys_fchownat) | |
28 | + CALL(sys_futimesat) | |
29 | + CALL(sys_fstatat64) | |
30 | + CALL(sys_unlinkat) | |
31 | + CALL(sys_renameat) | |
32 | +/* 330 */ CALL(sys_linkat) | |
33 | + CALL(sys_symlinkat) | |
34 | + CALL(sys_readlinkat) | |
35 | + CALL(sys_fchmodat) | |
36 | + CALL(sys_faccessat) | |
37 | #ifndef syscalls_counted | |
38 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | |
39 | #define syscalls_counted | |
40 | --- linux-2.6.19.1.orig/include/asm-arm/unistd.h | |
41 | +++ linux-2.6.19.1/include/asm-arm/unistd.h | |
42 | @@ -347,6 +347,19 @@ | |
43 | #define __NR_mbind (__NR_SYSCALL_BASE+319) | |
44 | #define __NR_get_mempolicy (__NR_SYSCALL_BASE+320) | |
45 | #define __NR_set_mempolicy (__NR_SYSCALL_BASE+321) | |
46 | +#define __NR_openat (__NR_SYSCALL_BASE+322) | |
47 | +#define __NR_mkdirat (__NR_SYSCALL_BASE+323) | |
48 | +#define __NR_mknodat (__NR_SYSCALL_BASE+324) | |
49 | +#define __NR_fchownat (__NR_SYSCALL_BASE+325) | |
50 | +#define __NR_futimesat (__NR_SYSCALL_BASE+326) | |
51 | +#define __NR_fstatat64 (__NR_SYSCALL_BASE+327) | |
52 | +#define __NR_unlinkat (__NR_SYSCALL_BASE+328) | |
53 | +#define __NR_renameat (__NR_SYSCALL_BASE+329) | |
54 | +#define __NR_linkat (__NR_SYSCALL_BASE+330) | |
55 | +#define __NR_symlinkat (__NR_SYSCALL_BASE+331) | |
56 | +#define __NR_readlinkat (__NR_SYSCALL_BASE+332) | |
57 | +#define __NR_fchmodat (__NR_SYSCALL_BASE+333) | |
58 | +#define __NR_faccessat (__NR_SYSCALL_BASE+334) | |
59 | ||
60 | /* | |
61 | * The following SWIs are ARM private. |