Re: [PATCH] Add powerpc signalfd syscall numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Argh, forgot to mention it's a patch for liblxc and not a kernel patch!

Also I'm taking lxc-devel@xxxxxxxxxxxx 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@xxxxxxxxxx>
> 
> 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
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux