Add powerpc signalfd syscall numbers
PATCH 1/1 Add powerpc signalfd syscall numbers
Add signalfd and signalfd4 syscall number definitions for powerpc so that we may compile even with older platform headers.
src/lxc/start.c +4 -0
@@ -51,6 +51,8 @@# define __NR_signalfd4 327# elif __x86_64__# define __NR_signalfd4 289 +# elif __powerpc__ +# define __NR_signalfd4 313# elif __s390x__# define __NR_signalfd4 322# endif
@@ -62,6 +64,8 @@# define __NR_signalfd 321# elif __x86_64__# define __NR_signalfd 282 +# elif __powerpc__ +# define __NR_signalfd 305# elif __s390x__# define __NR_signalfd 316# endif
A message that is not in the archive (sent off-list or not yet received): 20090320054420.GB26719-r/[email protected]
Argh, forgot to mention it's a patch for liblxc and not a kernel patch!
Also I'm taking lxc-devel-TtF/[email protected] off Cc since it seems to refuse email from non-members.
Quoted 19 lines · Matt Helsley
Add signalfd and signalfd4 syscall number definitions for powerpc so that we may compile even with older platform headers.
Signed-off-by Matt Helsley <matthltc-r/[email protected]>src/lxc/start.c +2
-0@@ -51,6 +51,8 @@# define __NR_signalfd4 327# elif __x86_64__# define __NR_signalfd4 289 +# elif __powerpc__ +# define __NR_signalfd4 313# elif __s390x__# define __NR_signalfd4 322# endif
src/lxc/start.c line 71
Quoted 8 lines
src/lxc/start.c +2
-0@@ -62,6 +64,8 @@# define __NR_signalfd 321# elif __x86_64__# define __NR_signalfd 282 +# elif __powerpc__ +# define __NR_signalfd 305# elif __s390x__# define __NR_signalfd 316# endif
As best I can tell the only other syscall nr definitions missing for powerpc are the checkpoint/restart ones. I figured those were probably left out intentionally so I did not add them.
Cheers,
-Matt Helsley
A message that is not in the archive (sent off-list or not yet received): 20090320060903.GA4360-r/[email protected]
Quoted 5 lines · Matt Helsley
Argh, forgot to mention it's a patch for liblxc and not a kernel patch!
Also I'm taking lxc-devel-TtF/[email protected] off Cc since it seems to refuse email from non-members.
I changed the option in mailman, that should be fixed.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Daniel Lezcano
Quoted 5 lines · Matt Helsley
Argh, forgot to mention it's a patch for liblxc and not a kernel patch!
Also I'm taking lxc-devel-TtF/[email protected] off Cc since it seems to refuse email from non-members.
I changed the option in mailman, that should be fixed.
I thought lxc-devel was long past dead.
Eric
A message that is not in the archive (sent off-list or not yet received): m1iqlxx11n.fsf-+imSwln9KH6u2/kzUuoCbdi2O/[email protected]
Quoted 7 lines · Eric W. Biederman
Quoted 4 lines · Daniel Lezcano
Quoted 2 lines · Matt Helsley
Argh, forgot to mention it's a patch for liblxc and not a kernel patch!
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Also I'm taking lxc-devel-TtF/[email protected] off Cc since it seems to refuse email from non-members.
I changed the option in mailman, that should be fixed.
I thought lxc-devel was long past dead.
I resurrected it for lxc userspace tool.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Daniel Lezcano
I resurrected it for lxc userspace tool.
Makes sense. I had not seen that before.
On that note I need to expect I need to sync up on user space tools so that we can have one default tool that works for everyone.
Eric
A message that is not in the archive (sent off-list or not yet received): m1tz5hvkxo.fsf-+imSwln9KH6u2/kzUuoCbdi2O/[email protected]
Quoted 11 lines · Eric W. Biederman
Quoted 2 lines · Daniel Lezcano
I resurrected it for lxc userspace tool.
Makes sense. I had not seen that before.
On that note I need to expect I need to sync up on user space tools so that we can have one default tool that works for everyone.
Yes, that makes sense.
At present there are several people using it and proposing improvements or fixes on this mailing list.
The lxc tools will be in the opensuse 11.2 distro and is in the debian wishlist.
The main goal of the tool is to have a suiss army knif, most of the options are configurable.
The tools allow to do a simple unshare as well as booting a debian minimal.
The philosophy is to have something tunable acting at a low level and let the user to script the configuration of the container.
An overview:
http://lxc.sourceforge.net/lxc.html
The code is browsable here:
http://lxc.git.sourceforge.net/
The git is accessible here:
|git-clone git://lxc.git.sourceforge.net/gitroot/lxc|
Regards.
-- Daniel
Daniel Lezcano
Appliedsrc/lxc/start.c
Quoted 8 lines · Matt Helsley
Add signalfd and signalfd4 syscall number definitions for powerpc so that we may compile even with older platform headers.
Signed-off-by Matt Helsley <matthltc-r/[email protected]>src/lxc/start.c +0
-1--- a/src/lxc/start.c
Applied. Thanks.