diff options
author | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-01-29 01:08:36 -0600 |
---|---|---|
committer | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-01-29 01:08:36 -0600 |
commit | 2f113ee90a8c97be2ccb70dc6738fe243dde1b84 (patch) | |
tree | bef1f7ad895ce4c94c92bb4cd06cf57f96fa9017 /nixos/modules/security/wrappers | |
parent | 3fe7b1a4c97ef0a098c0cd786386e2b547762983 (diff) | |
download | nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.tar nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.tar.gz nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.tar.bz2 nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.tar.lz nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.tar.xz nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.tar.zst nixlib-2f113ee90a8c97be2ccb70dc6738fe243dde1b84.zip |
setcap-wrapper: Minor refactor
Diffstat (limited to 'nixos/modules/security/wrappers')
-rw-r--r-- | nixos/modules/security/wrappers/default.nix | 2 | ||||
-rw-r--r-- | nixos/modules/security/wrappers/wrapper.c (renamed from nixos/modules/security/wrappers/permissions-wrapper.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix index 69b62d7b2ff2..4d51796b676c 100644 --- a/nixos/modules/security/wrappers/default.nix +++ b/nixos/modules/security/wrappers/default.nix @@ -12,7 +12,7 @@ let fi gcc -Wall -O2 -DSOURCE_PROG=\"$source\" -DWRAPPER_DIR=\"${config.security.wrapperDir}\" \ - -lcap-ng -lcap ${./permissions-wrapper.c} -o $out/bin/${program}.wrapper -L ${pkgs.libcap.lib}/lib -L ${pkgs.libcap_ng}/lib \ + -lcap-ng -lcap ${./wrapper.c} -o $out/bin/${program}.wrapper -L ${pkgs.libcap.lib}/lib -L ${pkgs.libcap_ng}/lib \ -I ${pkgs.libcap.dev}/include -I ${pkgs.libcap_ng}/include -I ${pkgs.linuxHeaders}/include ''; diff --git a/nixos/modules/security/wrappers/permissions-wrapper.c b/nixos/modules/security/wrappers/wrapper.c index 608bd3a378c7..608bd3a378c7 100644 --- a/nixos/modules/security/wrappers/permissions-wrapper.c +++ b/nixos/modules/security/wrappers/wrapper.c |