Date: Mon, 25 Oct 2021 02:40:05 +0000 From: Chris Stephan <chris.stephan@live.com> To: Ed Maste <emaste@freebsd.org> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: linux compat: namespaces and cgroups Message-ID: <SA1PR02MB86699001A85C53DC98E771169B839@SA1PR02MB8669.namprd02.prod.outlook.com> In-Reply-To: <CAPyFy2A3Gx6JuJ45TBgjteZ1%2BbomNBEa=VdqxvR5%2BQvz=R3OgQ@mail.gmail.com> References: <SA1PR02MB8669C05283941C9BD891F2369B819@SA1PR02MB8669.namprd02.prod.outlook.com> <CAPyFy2A3Gx6JuJ45TBgjteZ1%2BbomNBEa=VdqxvR5%2BQvz=R3OgQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Ed Maste <emaste@freebsd.org> > > One thing that might be useful to folks who might work on the FreeBSD > kernel side is to build up a collection of small programs that > demonstrate these syscalls and interfaces. Agreed. In my spare time I can use this as a research op to get a little more into the guts of how these toolsets are both leveraged today in various projects and what usecases would be most beneficial to the FreeBSD community. Without a functioning kernel interface in place I'm assuming we would be testing against a vm of centos. I noticed the linuxulator will be compatible with linux 4.4.0 in 14-CURRENT. Would that be a good target to write against? > To some extent I think we > can separate functionality from priority/limit controls. > Demonstrations for setns, unshare, and clone would be interesting. Agreed. > Several of us have had an interest in this for some time, but I am not > aware of any existing significant work. We've spoken about starting a > regular call for these topics in the near future, and I'll follow up > when ready to move forward. I appreciate that. Looking forward to those topics. Hopefully, not too soon so maybe I will have had enough time to research to provide some solid contributions to the conversation. So catch me if I missed something, but it sounds like prior the following two tasks could be worked on in parallel: 1. Find and document examples from how these functions are leveraged today and consolidate them to simple compilable source. 2. Generate user-land utilities that can either mock or mimic the behavior of setns, unshare, and clone on FreeBSD. Cheers. Generate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SA1PR02MB86699001A85C53DC98E771169B839>
