mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 23:12:44 +01:00
Merge pull request #10416 from obsidiansystems/cgroup-linux-only
Make `cgroup.{cc,hh}` linux-only files
This commit is contained in:
commit
5f9aaa86eb
3 changed files with 1 additions and 9 deletions
|
|
@ -14,7 +14,6 @@
|
|||
#include "topo-sort.hh"
|
||||
#include "callback.hh"
|
||||
#include "json-utils.hh"
|
||||
#include "cgroup.hh"
|
||||
#include "personality.hh"
|
||||
#include "current-process.hh"
|
||||
#include "child.hh"
|
||||
|
|
@ -52,6 +51,7 @@
|
|||
# include <seccomp.h>
|
||||
# endif
|
||||
# define pivot_root(new_root, put_old) (syscall(SYS_pivot_root, new_root, put_old))
|
||||
# include "cgroup.hh"
|
||||
#endif
|
||||
|
||||
#if __APPLE__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue