aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-28 18:52:23 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-28 18:52:23 +0900
commitaa1f96eeebecaa8e4cbbccb826fe168c9270228d (patch)
tree7bc64b31f4e5723d603f44b993427edce305626b /package.nix
parent431dc095e53b64d33ec4c47aedf3082ec8cffe80 (diff)
fsu: check parent executable path
Only allow main program to launch fsu. This change and further checks in the main program reduces attack surface. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.nix b/package.nix
index 4293f47b..b2c72f63 100644
--- a/package.nix
+++ b/package.nix
@@ -21,7 +21,7 @@ buildGoModule rec {
"-X"
"main.Version=v${version}"
"-X"
- "main.FortifyPath=${placeholder "out"}/bin/fortify"
+ "main.FortifyPath=${placeholder "out"}/bin/.fortify-wrapped"
];
buildInputs = [