Linux Container Development
 help / color / mirror / Atom feed
From: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Containers <containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
	Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] Add powerpc signalfd syscall numbers
Date: Thu, 19 Mar 2009 23:09:03 -0700	[thread overview]
Message-ID: <20090320060903.GA4360@us.ibm.com> (raw)
In-Reply-To: <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

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

  parent reply	other threads:[~2009-03-20  6:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090320060903.GA4360@us.ibm.com \
    --to=matthltc-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox