All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] util-linux: Add an option to compile 'nsenter' binary.
Date: Fri, 26 Dec 2014 21:45:42 +0100	[thread overview]
Message-ID: <549DC8F6.3080403@green-communications.fr> (raw)
In-Reply-To: <20141226210225.461140c6@free-electrons.com>

On 26/12/2014 21:02, Thomas Petazzoni wrote:
> Dear Nicolas Cavallari,
> 
> On Tue, 23 Dec 2014 11:44:10 +0100, Nicolas Cavallari wrote:
>> nsenter is a tool to enter the namespace of another process.
>>
>> Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
>> ---
>>  package/util-linux/Config.in     | 5 +++++
>>  package/util-linux/util-linux.mk | 1 +
>>  2 files changed, 6 insertions(+)
> 
> Thanks, applied after adding a Config.in condition to make sure that we
> don't enable this option if we have kernel headers older than 3.0: the
> setns() system call was added in Linux 3.0.

I'm not so sure now ... The fallback uses SYS_netns, instead of the
kernel's __NR_setns, so i assume that there must be some C library
support ... uclibc does define SYS_netns to be __NR_setns, so i think
the problem is still valid if the toolchain does not define SYS_setns.

  reply	other threads:[~2014-12-26 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-23 10:44 [Buildroot] [PATCH 1/1] util-linux: Add an option to compile 'nsenter' binary Nicolas Cavallari
2014-12-23 11:20 ` Thomas Petazzoni
2014-12-23 12:33   ` Nicolas Cavallari
2014-12-26 20:02 ` Thomas Petazzoni
2014-12-26 20:45   ` Nicolas Cavallari [this message]
2014-12-26 20:57     ` Thomas Petazzoni

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=549DC8F6.3080403@green-communications.fr \
    --to=nicolas.cavallari@green-communications.fr \
    --cc=buildroot@busybox.net \
    /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 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.