1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00

Prepare for FreeBSD sandboxing support

This is the utility changes from #9968, which were easier to rebase
first.

I (@Ericson2314) didn't write this code; I just rebased it.

Co-Authored-By: Artemis Tosini <me@artem.ist>
Co-Authored-By: Audrey Dutcher <audrey@rhelmot.io>
This commit is contained in:
John Ericson 2025-05-27 14:51:39 -04:00
parent 653a93ac0f
commit 625dce659a
19 changed files with 198 additions and 15 deletions

View file

@ -4,5 +4,5 @@ include_dirs += include_directories('../..')
headers += files(
'cgroup.hh',
'namespaces.hh',
'linux-namespaces.hh',
)

View file

@ -1,3 +1,4 @@
#include "nix/util/linux-namespaces.hh"
#include "nix/util/current-process.hh"
#include "nix/util/util.hh"
#include "nix/util/finally.hh"

View file

@ -1,6 +1,6 @@
sources += files(
'cgroup.cc',
'namespaces.cc',
'linux-namespaces.cc',
)
subdir('include/nix/util')