From: Oliver Falk <oliver@linux-kernel.at>
To: linux-kernel@vger.kernel.org
Subject: Re: [patch] Missing defines in asm-alpha/unistd.h!?
Date: Wed, 16 May 2007 11:41:47 +0200 [thread overview]
Message-ID: <464AD1DB.3050609@linux-kernel.at> (raw)
In-Reply-To: <464AC75D.1090701@linux-kernel.at>
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/16/2007 10:57 AM, Oliver Falk wrote:
> I believe this is missing... :-) I hope I understood NR_SYSCALLS
> correctly and it's the number of defined syscals - as I added 20 of
> them, I increased it by 20... Maybe someone can have a look if it's correct.
[ ... ]
Sorry, the patch was missing one hunk/file and also the tab stops where
wrong. Attached a new working version.
- -of
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFGStDwxWN5Ge8lKUMRAp9pAJ9VWmpI5zSUmW4s99I/8YC0Cw60lgCgvIHR
iRRdK8OTSVMepjQbNRWfQYA=
=HexW
-----END PGP SIGNATURE-----
[-- Attachment #2: linux-2.6.21-alpha_missing_syscalls.patch --]
[-- Type: text/x-patch, Size: 2022 bytes --]
--- linux-2.6.21/include/asm-alpha/unistd.h.missing_defines 2007-05-16 10:53:02.000000000 +0200
+++ linux-2.6.21/include/asm-alpha/unistd.h 2007-05-16 10:54:44.000000000 +0200
@@ -388,9 +388,30 @@
#define __NR_inotify_add_watch 445
#define __NR_inotify_rm_watch 446
+#define __NR_openat 447
+#define __NR_mkdirat 448
+#define __NR_mknodat 449
+#define __NR_fchownat 450
+#define __NR_futimesat 451
+#define __NR_unlinkat 452
+#define __NR_renameat 453
+#define __NR_linkat 454
+#define __NR_symlinkat 455
+#define __NR_readlinkat 456
+#define __NR_fchmodat 457
+#define __NR_faccessat 458
+#define __NR_pselect6 459
+#define __NR_ppoll 460
+#define __NR_unshare 461
+#define __NR_set_robust_list 462
+#define __NR_get_robust_list 463
+#define __NR_splice 464
+#define __NR_sync_file_range 465
+#define __NR_tee 466
+
#ifdef __KERNEL__
-#define NR_SYSCALLS 447
+#define NR_SYSCALLS 467
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
--- linux-2.6.21/arch/alpha/kernel/systbls.S.missing_defines 2007-05-16 11:32:29.000000000 +0200
+++ linux-2.6.21/arch/alpha/kernel/systbls.S 2007-05-16 11:30:36.000000000 +0200
@@ -465,6 +465,26 @@
.quad sys_inotify_init
.quad sys_inotify_add_watch /* 445 */
.quad sys_inotify_rm_watch
+ .quad sys_openat
+ .quad sys_mkdirat
+ .quad sys_mknodat
+ .quad sys_fchownat /* 450 */
+ .quad sys_futimesat
+ .quad sys_unlinkat
+ .quad sys_renameat
+ .quad sys_linkat
+ .quad sys_symlinkat /* 455 */
+ .quad sys_readlinkat
+ .quad sys_fchmodat
+ .quad sys_faccessat
+ .quad sys_pselect6
+ .quad sys_ppoll /* 460 */
+ .quad sys_unshare
+ .quad sys_set_robust_list
+ .quad sys_get_robust_list
+ .quad sys_splice
+ .quad sys_sync_file_range
+ .quad sys_tee
.size sys_call_table, . - sys_call_table
.type sys_call_table, @object
next prev parent reply other threads:[~2007-05-16 9:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 8:57 [patch] Missing defines in asm-alpha/unistd.h!? Oliver Falk
2007-05-16 9:41 ` Oliver Falk [this message]
2007-05-16 11:19 ` Oliver Falk
2007-05-16 13:10 ` Oliver Falk
2007-05-16 14:17 ` Oliver Falk
2007-05-16 19:38 ` Heiko Carstens
2007-05-21 7:38 ` Oliver Falk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464AD1DB.3050609@linux-kernel.at \
--to=oliver@linux-kernel.at \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.