* [PATCH] Add powerpc signalfd syscall numbers
@ 2009-03-20 5:44 Matt Helsley
[not found] ` <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Matt Helsley @ 2009-03-20 5:44 UTC (permalink / raw)
To: Daniel Lezcano; +Cc: Containers, LXC Tools
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/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 476d695..051e70c 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -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
^ permalink raw reply related [flat|nested] 8+ messages in thread[parent not found: <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> @ 2009-03-20 6:09 ` Matt Helsley [not found] ` <20090320060903.GA4360-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 2009-03-20 15:32 ` Daniel Lezcano 1 sibling, 1 reply; 8+ messages in thread From: Matt Helsley @ 2009-03-20 6:09 UTC (permalink / raw) To: Matt Helsley; +Cc: Containers, Daniel Lezcano Argh, forgot to mention it's a patch for liblxc and not a kernel patch! Also I'm taking lxc-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org off Cc since it seems to refuse email from non-members. On Thu, Mar 19, 2009 at 10:44:20PM -0700, Matt Helsley wrote: > 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/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> > > diff --git a/src/lxc/start.c b/src/lxc/start.c > index 476d695..051e70c 100644 > --- a/src/lxc/start.c > +++ b/src/lxc/start.c > @@ -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 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20090320060903.GA4360-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <20090320060903.GA4360-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> @ 2009-03-20 13:35 ` Daniel Lezcano [not found] ` <49C39BA9.5090404-GANU6spQydw@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Daniel Lezcano @ 2009-03-20 13:35 UTC (permalink / raw) To: Matt Helsley; +Cc: Containers Matt Helsley wrote: > Argh, forgot to mention it's a patch for liblxc and not a kernel patch! > > Also I'm taking lxc-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org off Cc since it seems to refuse email > from non-members. > I changed the option in mailman, that should be fixed. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <49C39BA9.5090404-GANU6spQydw@public.gmane.org>]
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <49C39BA9.5090404-GANU6spQydw@public.gmane.org> @ 2009-03-25 12:03 ` Eric W. Biederman [not found] ` <m1iqlxx11n.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Eric W. Biederman @ 2009-03-25 12:03 UTC (permalink / raw) To: Daniel Lezcano; +Cc: Containers Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org> writes: > Matt Helsley wrote: >> Argh, forgot to mention it's a patch for liblxc and not a kernel patch! >> >> Also I'm taking lxc-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <m1iqlxx11n.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org>]
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <m1iqlxx11n.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org> @ 2009-03-25 12:19 ` Daniel Lezcano [not found] ` <49CA214B.1090301-GANU6spQydw@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Daniel Lezcano @ 2009-03-25 12:19 UTC (permalink / raw) To: Eric W. Biederman; +Cc: Containers Eric W. Biederman wrote: > Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org> writes: > > >> Matt Helsley wrote: >> >>> Argh, forgot to mention it's a patch for liblxc and not a kernel patch! >>> >>> Also I'm taking lxc-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org 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. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <49CA214B.1090301-GANU6spQydw@public.gmane.org>]
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <49CA214B.1090301-GANU6spQydw@public.gmane.org> @ 2009-03-25 12:36 ` Eric W. Biederman [not found] ` <m1tz5hvkxo.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Eric W. Biederman @ 2009-03-25 12:36 UTC (permalink / raw) To: Daniel Lezcano; +Cc: Containers Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org> writes: > 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <m1tz5hvkxo.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org>]
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <m1tz5hvkxo.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org> @ 2009-03-25 13:00 ` Daniel Lezcano 0 siblings, 0 replies; 8+ messages in thread From: Daniel Lezcano @ 2009-03-25 13:00 UTC (permalink / raw) To: Eric W. Biederman; +Cc: Containers, LXC Development Eric W. Biederman wrote: > Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org> writes: > > >> 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] Add powerpc signalfd syscall numbers [not found] ` <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 2009-03-20 6:09 ` Matt Helsley @ 2009-03-20 15:32 ` Daniel Lezcano 1 sibling, 0 replies; 8+ messages in thread From: Daniel Lezcano @ 2009-03-20 15:32 UTC (permalink / raw) To: Matt Helsley; +Cc: Containers, LXC Tools Matt Helsley wrote: > 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/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> > > diff --git a/src/lxc/start.c b/src/lxc/start.c > index 476d695..051e70c 100644 > --- a/src/lxc/start.c Applied. Thanks. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-03-25 13:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 5:44 [PATCH] Add powerpc signalfd syscall numbers Matt Helsley
[not found] ` <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-03-20 6:09 ` Matt Helsley
[not found] ` <20090320060903.GA4360-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-03-20 13:35 ` Daniel Lezcano
[not found] ` <49C39BA9.5090404-GANU6spQydw@public.gmane.org>
2009-03-25 12:03 ` Eric W. Biederman
[not found] ` <m1iqlxx11n.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org>
2009-03-25 12:19 ` Daniel Lezcano
[not found] ` <49CA214B.1090301-GANU6spQydw@public.gmane.org>
2009-03-25 12:36 ` Eric W. Biederman
[not found] ` <m1tz5hvkxo.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org>
2009-03-25 13:00 ` Daniel Lezcano
2009-03-20 15:32 ` Daniel Lezcano
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.