Skip to contentSkip to conversation

Linux-VServer syscall number for parisc (hppa/64) ...

parisc-linux Grant Grundler 2 participants 3 messages May 6, 2005 – May 14, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Herbert Poetzl

Greetings!

now that we are preparing for a 2.0 linux-vserver release, and the debian folks actually have support for hppa/64 it sounds like a good idea to me to ask once again for a reserved syscall number on parisc

Herbert,
Certainly. Sorry for being the laggards here...

Willy,
This look ok to you?

Index: include/asm-parisc/unistd.h
===================================================================
RCS file: /var/cvs/linux-2.6/include/asm-parisc/unistd.h,v retrieving revision 1.16

asm-parisc/unistd.h 6 May 2005 05:16:21 -0000 renamed from asm-parisc/unistd.h 23 Mar 2005 17:13:38 -0000 1.16 +2 -1
diff -u -p -r1.16 unistd.h
@@ -755,8 +755,9 @@
 #define __NR_mbind		(__NR_Linux + 260)
 #define __NR_get_mempolicy	(__NR_Linux + 261)
 #define __NR_set_mempolicy	(__NR_Linux + 262)
+#define __NR_vserver		(__NR_Linux + 263)
 
-#define __NR_Linux_syscalls	263
+#define __NR_Linux_syscalls	264
 
 #define HPUX_GATEWAY_ADDR	0xC0000004
 #define LINUX_GATEWAY_ADDR	0x100

We are also missing a few other syscalls:

	__NR_sys_kexec_load
	__NR_add_key
	__NR_request_key
	__NR_keyctl

Should I add those as well?

thanks,
grant

Quoted 40 lines

FYI:

linux-vserver both 1.x and the upcoming 2.0 do
support parisc/hppa quite fine ...

Linux-VServer Test [V0.12] (C) 2003-2005 H.Poetzl chcontext is working.
chbind is working.
Linux 2.6.11.8-pa4-vs2.0-pre4 parisc64/0.30.207/0.30.207 [Ea]
VCI: 0001:0025 273 03110076
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.

and basically all other archs except the parisc/hppa arch has already reserved a syscall number for it ..

 arch      number  maintainer
 x86_64       236  [Andi Kleen]
 s390         263  [Martin Schwidefsky]
 sparc/64     267  [David S.Miller]
 i386         273  [Rik/Linus/Andrew]
 sh           273  [Kazumoto Kojima]
 sh64         301  [Paul Mundt?]
 ppc/64       257  [Benjamin Herrenschmidt]
 mips o32     277  [Ralf Baechle]
 mips N64     236  [Ralf Baechle]
 mips N32     240  [Ralf Baechle]
 m68k         278  [Geert Uytterhoeven]
 h8300        273  [Yoshinori Sato]
 alpha        428  [Richard Henderson]
 ia64        1269  [David Mosberger]
 arm/arm26    313  [Russell M.King]
Quoted 5 lines

would be really nice if I could add parisc/hppa to this list ...

TIA,
Herbert

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
Quoted 5 lines · Grant Grundler

We are also missing a few other syscalls:

	__NR_sys_kexec_load
	__NR_add_key
	__NR_request_key
	__NR_keyctl

Herbert,
I've got a patch ready that adds vserver (263) and the three key syscalls. I'm not touching sys_kexec_load since it's arch specific and no one has asked for it.

I checked sparc64 syscall_table.S and it looks like the key syscalls do NOT need 32-bit compat wrappers.
I did NOT audit the key handling code.

Patch is on

	ftp://ftp.parisc-linux.org/patches/diff-2.6.12-rc4-pa4-vserver

I'll commit this in a bit unless willy or someone else yells.

grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw
Quoted 12 lines · Grant Grundler
Quoted 5 lines · Grant Grundler

We are also missing a few other syscalls:

	__NR_sys_kexec_load
	__NR_add_key
	__NR_request_key
	__NR_keyctl

Herbert,
I've got a patch ready that adds vserver (263) and the three key syscalls. I'm not touching sys_kexec_load since it's arch specific and no one has asked for it.

Quoted 8 lines

I checked sparc64 syscall_table.S and it looks like the key syscalls do NOT need 32-bit compat wrappers.
I did NOT audit the key handling code.

Patch is on

	ftp://ftp.parisc-linux.org/patches/diff-2.6.12-rc4-pa4-vserver

I'll commit this in a bit unless willy or someone else yells.

excellent, thanks a lot!

best,
Herbert

Quoted 1 line

grant

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux