[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Would a patch implementing the netns feature to iplink.c be interesting?
From:       Nicholas Niro <blowfist () xroutine ! net>
Date:       2021-09-28 0:24:20
Message-ID: 20210928002420.GF3035 () xroutine ! net
[Download RAW message or body]

On Mon, Sep 27, 2021 at 04:09:23PM +0200, Roberto A. Foglietta wrote:
> Il giorno lun 27 set 2021 alle ore 04:40 blowfist
> <blowfist@xroutine.net> ha scritto:
> >
> > Hey there,
> >
> > I've made a few patches to busybox to add a few standard features to
> > busybox which aren't yet supported in busybox. I'm using these for my project
> > jailTools and I was wondering if they would stand any chance of being merged
> > into busybox.
> >
> > I'll start with my first patch which implements the netns feature to
> > iplink.c.
> >
> 
> Could you send the others patches in such a way we can have the whole picture?

I wouldn't mind sending my other patches (and I will of course), but do
note that they are each adding different features so I'll need to
write a description for each. It's something I'm still working on.

here's a short summary of my other patches :

* add support for naming both veth devices when creating them (currently
  you can only name the first one)

* add --bounding-set support to the setpriv applet
--bounding-set <caps>       set capability bounding set

* add uid and gid maps to the unshare applet.
	-S, --setuid <uid>        set uid in entered namespace
	-G, --setgid <gid>        set gid in entered namespace
	(this is a feature present in the newer util-linux and
	it is very nice)

* add root (chroot) support to the unshare applet.
	-R, --root=<dir>          run the command with root
	directory set to <dir>

Btw, I said I tested these new features extensively
which is true but do note that I done so with busybox version 1.31.1. I
haven't really tested them with the bleeding edge busybox yet (although I
merged them in the bleeding edge and they compiled fine).

> 
>  Thanks
> -- 
> Roberto A. Foglietta
> +39.349.33.30.697
> 
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic