2002-08-30 21:27:00

by MånsRullgård

[permalink] [raw]
Subject: [PATCH] Sync arch/alpha/kernel/entry.S with asm/unistd.h

This adds some (non-implemented) syscalls to entry.S with the same
numbers as in asm/unistd.h

--- arch/alpha/kernel/entry.S 30 Aug 2002 20:13:07 -0000 1.1.1.1
+++ arch/alpha/kernel/entry.S 30 Aug 2002 21:11:07 -0000
@@ -10,7 +10,7 @@

#define SIGCHLD 20

-#define NR_SYSCALLS 382
+#define NR_SYSCALLS 394

/*
* These offsets must match with alpha_mv in <asm/machvec.h>.
@@ -1154,6 +1154,18 @@
.quad sys_readahead
.quad sys_ni_syscall /* 380, sys_security */
.quad sys_tkill
+ .quad sys_ni_syscall /* setxattr */
+ .quad sys_ni_syscall /* lsetxattr */
+ .quad sys_ni_syscall /* fsetxattr */
+ .quad sys_ni_syscall /* 385 getxattr */
+ .quad sys_ni_syscall /* lgetxattr */
+ .quad sys_ni_syscall /* fgetxattr */
+ .quad sys_ni_syscall /* listxattr */
+ .quad sys_ni_syscall /* llistxattr */
+ .quad sys_ni_syscall /* 390 flistxattr */
+ .quad sys_ni_syscall /* removexattr */
+ .quad sys_ni_syscall /* lremovexattr */
+ .quad sys_ni_syscall /* fremovexattr */

/* Remember to update everything, kids. */
.ifne (. - sys_call_table) - (NR_SYSCALLS * 8)



--
M?ns Rullg?rd
[email protected]


2002-08-31 10:07:34

by MånsRullgård

[permalink] [raw]
Subject: Re: [PATCH] Sync arch/alpha/kernel/entry.S with asm/unistd.h

[email protected] (M?ns Rullg?rd) writes:

> This adds some (non-implemented) syscalls to entry.S with the same
> numbers as in asm/unistd.h

I forgot to say the patch is against 2.4.19.

--
M?ns Rullg?rd
[email protected]