aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fpkg')
-rw-r--r--cmd/fpkg/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fpkg/main.go b/cmd/fpkg/main.go
index 2fbefdb4..63a3f77d 100644
--- a/cmd/fpkg/main.go
+++ b/cmd/fpkg/main.go
@@ -38,10 +38,10 @@ func init() {
func main() {
// early init path, skips root check and duplicate PR_SET_DUMPABLE
- sandbox.TryArgv0()
+ sandbox.TryArgv0(fmsg.Output{}, fmsg.Prepare, internal.InstallFmsg)
init0.TryArgv0()
- if err := internal.SetDumpable(internal.SUID_DUMP_DISABLE); err != nil {
+ if err := sandbox.SetDumpable(sandbox.SUID_DUMP_DISABLE); err != nil {
log.Printf("cannot set SUID_DUMP_DISABLE: %s", err)
// not fatal: this program runs as the privileged user
}