summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-04-01 18:02:32 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-04-01 18:02:32 +0000
commit8d3ee0575423edd203ee9e9f6b8ef1974ed5b1d9 (patch)
treee6027a96367c788f611c5d0ff4e2bd16f6a17fd0 /arch
parentca2300d9ac006c3940e4ff1ce9c64ba64b9582b5 (diff)
downloadmusl-8d3ee0575423edd203ee9e9f6b8ef1974ed5b1d9.tar.gz
musl-8d3ee0575423edd203ee9e9f6b8ef1974ed5b1d9.tar.bz2
musl-8d3ee0575423edd203ee9e9f6b8ef1974ed5b1d9.tar.xz
musl-8d3ee0575423edd203ee9e9f6b8ef1974ed5b1d9.zip
add syscall numbers for the new kcmp and finit_module syscalls
and remove syscall todos from microblaze
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/syscall.h4
-rw-r--r--arch/i386/bits/syscall.h4
-rw-r--r--arch/microblaze/bits/syscall.h34
-rw-r--r--arch/mips/bits/syscall.h4
-rw-r--r--arch/powerpc/bits/syscall.h5
-rw-r--r--arch/x86_64/bits/syscall.h4
6 files changed, 46 insertions, 9 deletions
diff --git a/arch/arm/bits/syscall.h b/arch/arm/bits/syscall.h
index 1be213d0..dc54bdef 100644
--- a/arch/arm/bits/syscall.h
+++ b/arch/arm/bits/syscall.h
@@ -331,6 +331,8 @@
#define __NR_setns 375
#define __NR_process_vm_readv 376
#define __NR_process_vm_writev 377
+#define __NR_kcmp 378
+#define __NR_finit_module 379
/* Repeated with SYS_ prefix */
@@ -668,3 +670,5 @@
#define SYS_setns 375
#define SYS_process_vm_readv 376
#define SYS_process_vm_writev 377
+#define SYS_kcmp 378
+#define SYS_finit_module 379
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h
index 0bedf3f3..800409a7 100644
--- a/arch/i386/bits/syscall.h
+++ b/arch/i386/bits/syscall.h
@@ -342,6 +342,8 @@
#define __NR_setns 346
#define __NR_process_vm_readv 347
#define __NR_process_vm_writev 348
+#define __NR_kcmp 349
+#define __NR_finit_module 350
/* Repeated with SYS_ prefix */
@@ -690,3 +692,5 @@
#define SYS_setns 346
#define SYS_process_vm_readv 347
#define SYS_process_vm_writev 348
+#define SYS_kcmp 349
+#define SYS_finit_module 350
diff --git a/arch/microblaze/bits/syscall.h b/arch/microblaze/bits/syscall.h
index a3dd7457..712d47a6 100644
--- a/arch/microblaze/bits/syscall.h
+++ b/arch/microblaze/bits/syscall.h
@@ -362,6 +362,19 @@
#define __NR_rt_tgsigqueueinfo 365
#define __NR_perf_event_open 366
#define __NR_recvmmsg 367
+#define __NR_fanotify_init 368
+#define __NR_fanotify_mark 369
+#define __NR_prlimit64 370
+#define __NR_name_to_handle_at 371
+#define __NR_open_by_handle_at 372
+#define __NR_clock_adjtime 373
+#define __NR_syncfs 374
+#define __NR_setns 375
+#define __NR_sendmmsg 376
+#define __NR_process_vm_readv 377
+#define __NR_process_vm_writev 378
+#define __NR_kcmp 379
+#define __NR_finit_module 380
/* Repeated with SYS_ prefix */
@@ -730,11 +743,16 @@
#define SYS_rt_tgsigqueueinfo 365
#define SYS_perf_event_open 366
#define SYS_recvmmsg 367
-
-
-#define SYS_clock_adjtime 999999 // FIXME
-#define SYS_process_vm_readv 999999 // FIXME
-#define SYS_process_vm_writev 999999 // FIXME
-#define SYS_prlimit64 999999 // FIXME
-#define SYS_setns 999999 // FIXME
-#define SYS_syncfs 999999 // FIXME
+#define SYS_fanotify_init 368
+#define SYS_fanotify_mark 369
+#define SYS_prlimit64 370
+#define SYS_name_to_handle_at 371
+#define SYS_open_by_handle_at 372
+#define SYS_clock_adjtime 373
+#define SYS_syncfs 374
+#define SYS_setns 375
+#define SYS_sendmmsg 376
+#define SYS_process_vm_readv 377
+#define SYS_process_vm_writev 378
+#define SYS_kcmp 379
+#define SYS_finit_module 380
diff --git a/arch/mips/bits/syscall.h b/arch/mips/bits/syscall.h
index 66af2277..2726019b 100644
--- a/arch/mips/bits/syscall.h
+++ b/arch/mips/bits/syscall.h
@@ -368,6 +368,8 @@
#define __NR_setns 4344
#define __NR_process_vm_readv 4345
#define __NR_process_vm_writev 4346
+#define __NR_kcmp 4347
+#define __NR_finit_module 4348
/* Repeated with SYS_ prefix */
@@ -741,3 +743,5 @@
#define SYS_setns 4344
#define SYS_process_vm_readv 4345
#define SYS_process_vm_writev 4346
+#define SYS_kcmp 4347
+#define SYS_finit_module 4348
diff --git a/arch/powerpc/bits/syscall.h b/arch/powerpc/bits/syscall.h
index bc4d47c8..385860b0 100644
--- a/arch/powerpc/bits/syscall.h
+++ b/arch/powerpc/bits/syscall.h
@@ -366,6 +366,8 @@
#define __NR_setns 350
#define __NR_process_vm_readv 351
#define __NR_process_vm_writev 352
+#define __NR_finit_module 353
+#define __NR_kcmp 354
/*
* repeated with SYS prefix
@@ -738,4 +740,5 @@
#define SYS_setns 350
#define SYS_process_vm_readv 351
#define SYS_process_vm_writev 352
-
+#define SYS_finit_module 353
+#define SYS_kcmp 354
diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h
index 1ca5db27..5eb9b830 100644
--- a/arch/x86_64/bits/syscall.h
+++ b/arch/x86_64/bits/syscall.h
@@ -310,6 +310,8 @@
#define __NR_getcpu 309
#define __NR_process_vm_readv 310
#define __NR_process_vm_writev 311
+#define __NR_kcmp 312
+#define __NR_finit_module 313
#undef __NR_fstatat
#undef __NR_pread
@@ -637,6 +639,8 @@
#define SYS_getcpu 309
#define SYS_process_vm_readv 310
#define SYS_process_vm_writev 311
+#define SYS_kcmp 312
+#define SYS_finit_module 313
#undef SYS_fstatat
#undef SYS_pread