aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-07 22:56:35 +0900
committerOphestra <cat@gensokyo.uk>2025-03-07 22:56:35 +0900
commit9e15898c8f87f3c9eaf9e607fc5c860d91d48912 (patch)
tree09388b6826e9b5349149a5bcd7eb67e62b2dee75 /cmd
parentf7bd6a5a4172dec89a1b86100602163b61b8ff86 (diff)
internal/prctl: rename prctl wrappers
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fpkg/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fpkg/main.go b/cmd/fpkg/main.go
index 8075ba16..62ad7cd8 100644
--- a/cmd/fpkg/main.go
+++ b/cmd/fpkg/main.go
@@ -40,7 +40,7 @@ func main() {
// early init argv0 check, skips root check and duplicate PR_SET_DUMPABLE
init0.TryArgv0()
- if err := internal.PR_SET_DUMPABLE__SUID_DUMP_DISABLE(); err != nil {
+ if err := internal.SetDumpable(internal.SUID_DUMP_DISABLE); err != nil {
log.Printf("cannot set SUID_DUMP_DISABLE: %s", err)
// not fatal: this program runs as the privileged user
}