Re: linux compat: namespaces and cgroups
- In reply to: Ed Maste : "Re: linux compat: namespaces and cgroups"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Oct 2021 02:40:05 UTC
> 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