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: Tue, 23 Dec 2014 13:33:37 +0100	[thread overview]
Message-ID: <54996121.3010301@green-communications.fr> (raw)
In-Reply-To: <20141223122043.5d559f5a@free-electrons.com>

On 23/12/2014 12:20, Thomas Petazzoni wrote:
> Dear Nicolas Cavallari,
> 
> We had this option in the past, but it was causing some problems with a
> number of toolchains, so we had to revert it. See:
> 
>   http://git.buildroot.net/buildroot/commit/package/util-linux?id=d293e64bfb75c4cbaab7e46472de674ee813d4aa

I didn't know. It was compiling fine with uclibc. Now I realize that
uclibc does not provide setns()...

> Has this issue been resolved?

Yes, there is a fallback in util-linux sources:

# if !defined(HAVE_SETNS) && defined(SYS_setns)
static inline int setns(int fd, int nstype)
{
        return syscall(SYS_setns, fd, nstype);
}
# endif

  reply	other threads:[~2014-12-23 12:33 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 [this message]
2014-12-26 20:02 ` Thomas Petazzoni
2014-12-26 20:45   ` Nicolas Cavallari
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=54996121.3010301@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.