diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hakurei/main.go | 4 | ||||
| -rw-r--r-- | cmd/mbf/main.go | 3 | ||||
| -rw-r--r-- | cmd/sharefs/fuse.go | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/cmd/hakurei/main.go b/cmd/hakurei/main.go index 19ffdb68..6f54390d 100644 --- a/cmd/hakurei/main.go +++ b/cmd/hakurei/main.go @@ -46,7 +46,6 @@ import ( "os/signal" "syscall" - "hakurei.app/container" "hakurei.app/ext" "hakurei.app/message" ) @@ -59,9 +58,6 @@ var license string type earlyHardeningErrs struct{ yamaLSM, dumpable error } func main() { - // early init path, skips root check and duplicate PR_SET_DUMPABLE - container.TryArgv0(nil) - log.SetFlags(0) log.SetPrefix("hakurei: ") msg := message.New(log.Default()) diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 4beefe68..c6e1940f 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -37,7 +37,6 @@ import ( "hakurei.app/check" "hakurei.app/command" - "hakurei.app/container" "hakurei.app/ext" "hakurei.app/fhs" "hakurei.app/internal/pkg" @@ -67,8 +66,6 @@ func writeFileExcl(name string, data []byte, perm os.FileMode) error { } func main() { - container.TryArgv0(nil) - log.SetFlags(0) log.SetPrefix("mbf: ") msg := message.New(log.Default()) diff --git a/cmd/sharefs/fuse.go b/cmd/sharefs/fuse.go index 5dfbf385..458e1919 100644 --- a/cmd/sharefs/fuse.go +++ b/cmd/sharefs/fuse.go @@ -287,7 +287,6 @@ func unsafeAddArgument(args *fuseArgs, arg string) { func _main(s ...string) (exitCode int) { msg := message.New(log.Default()) - container.TryArgv0(msg) runtime.LockOSThread() // don't mask creation mode, kernel already did that |
