From: Thomas Adam Subject: Re: [got-portable] landlock support, second try To: Omar Polo , gameoftrees@openbsd.org Date: Sun, 6 Feb 2022 15:30:49 +0000 On Sun, Feb 06, 2022 at 12:27:22PM +0100, Stefan Sperling wrote: > I don't see anything wrong with it living at compat/landlock.c, > and I don't have a better suggestion. Indeed. It can stay there for now. I really want to ensure we segregate any platform/compat code away from what's in the "core" of got itself. If landlock were something which operated across other operating systems beyond just Linux, we would introduce: osdep-OS-landlock.c Where "OS" is substituted for @PLATFORM@ which we already detect in configure.ac But so far, that's not been necessary. Kindly, Thomas