[PATCH 7/7] ns: Wire up the setns system call

Geert Uytterhoeven geert at linux-m68k.org
Sat May 7 11:22:19 PDT 2011


On Sat, May 7, 2011 at 16:09, Eric W. Biederman <ebiederm at xmission.com> wrote:
> Geert Uytterhoeven <geert at linux-m68k.org> writes:
>
>> On Sat, May 7, 2011 at 04:25, Eric W. Biederman <ebiederm at xmission.com> wrote:
>>>  arch/m68k/include/asm/unistd.h         |    3 ++-
>>>  arch/m68k/kernel/syscalltable.S        |    1 +
>>
>> As the unified syscalltable for m68k/m68knommu is not yet in mainline
>> (planned for
>> 2.6.40), you should also add it to arch/m68k/kernel/entry_mm.S.
>>
>> Gr{oetje,eeting}s,
>
> Like so?
>
> From c06a03281d944ed36e2da02f5374ec6c650e4988 Mon Sep 17 00:00:00 2001
> From: "Eric W. Biederman" <ebiederm at xmission.com>
> Date: Sat, 7 May 2011 07:00:24 -0700
> Subject: [PATCH] m68knommu: Wire up the setns system call
>
> It seems I overlooked m68knommu where I wired up this syscall.

You overlooked m68k with MMU. syscalltable.s is used by m68knommu.

> Reported-by:  Geert Uytterhoeven <geert at linux-m68k.org>
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
> ---
>  arch/m68k/kernel/entry_mm.S |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/m68k/kernel/entry_mm.S b/arch/m68k/kernel/entry_mm.S
> index 1359ee6..e048015 100644
> --- a/arch/m68k/kernel/entry_mm.S
> +++ b/arch/m68k/kernel/entry_mm.S
> @@ -754,4 +754,5 @@ sys_call_table:
>        .long sys_open_by_handle_at
>        .long sys_clock_adjtime
>        .long sys_syncfs
> +       .long sys_setns

Yep.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the Containers mailing list