[PATCH -mm 1/9] unshare system call : system call handler function sys_unshare

[PATCH -mm 1/9] unshare system call : system call handler function sys_unshare

Post by Al Vir » Wed, 14 Dec 2005 22:50:14



Nope. You can't drop those under a spinlock; leave the pointer e.g. in
new_fs and drop everything after task_unlock(). Incidentally, it allows
to merge cleanup for normal and failure exits.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

1. [PATCH -mm 3/9] unshare system call: system call registration for powerpc

2. [PATCH -mm 2/9] unshare system call : system call registration for i386


[PATCH -mm 2/9] unshare system call: System call registration for i386

Signed-off-by: Janak Desai


arch/i386/kernel/syscall_table.S | 1 +
include/asm-i386/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)


diff -Naurp 2.6.15-rc5-mm2/arch/i386/kernel/syscall_table.S
2.6.15-rc5-mm2+i386/arch/i386/kernel/syscall_table.S
--- 2.6.15-rc5-mm2/arch/i386/kernel/syscall_table.S 2005-12-12
03:05:36.000000000 +0000
+++ 2.6.15-rc5-mm2+i386/arch/i386/kernel/syscall_table.S 2005-12-12
19:59:42.000000000 +0000
@@ -296,3 +296,4 @@ ENTRY(sys_call_table)
.long sys_migrate_pages
.long sys_preadv /* 295 */
.long sys_pwritev
+ .long sys_unshare
diff -Naurp 2.6.15-rc5-mm2/include/asm-i386/unistd.h
2.6.15-rc5-mm2+i386/include/asm-i386/unistd.h
--- 2.6.15-rc5-mm2/include/asm-i386/unistd.h 2005-12-12
03:05:58.000000000 +0000
+++ 2.6.15-rc5-mm2+i386/include/asm-i386/unistd.h 2005-12-12
20:00:10.000000000 +0000
@@ -302,8 +302,9 @@
#define __NR_migrate_pages 294
#define __NR_preadv 295
#define __NR_pwritev 296
+#define __NR_unshare 297

-#define NR_syscalls 297
+#define NR_syscalls 298

/*
* user-visible error numbers are in the range -1 - -128: see


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/

3. [PATCH -mm 3/9] unshare system call : system call registration for powerpc

4. [PATCH -mm 9/10] unshare system call -v5 : system call registration for ppc

5. [PATCH -mm 10/10] unshare system call -v5 : system call registration for x86_64

6. [PATCH -mm 5/9] unshare system call: system call registration for x86_64

7. [PATCH -mm 6/10] unshare system call -v5 : unshare files

8. [PATCH -mm 4/10] unshare system call -v5 : unshare namespace

9. [PATCH -mm 5/10] unshare system call -v5 : unshare vm

10. [PATCH -mm 3/10] unshare system call -v5 : unshare filesystem info

11. [PATCH -mm 0/9] unshare system call : updated patch series

12. [PATCH -mm 6/9] unshare system call: allow unsharing of filesystem

13. [PATCH -mm 6/9] unshare system call : allow unsharing of fs structure

14. [PATCH -mm 8/9] unshare system call: allow unsharing of vm

15. [PATCH -mm 3/5] New system call, unshare (powerpc)