Skip to content

Commit

Permalink
fixup: mls in accordance to process runner
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Sharshakov <[email protected]>
  • Loading branch information
dsseng committed Oct 28, 2024
1 parent 2aa612e commit 0455963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/machined/pkg/system/runner/process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func beforeExecCallback(pa *syscall.ProcAttr, data any) error {
log.Fatalf("%s", err)
}
} else {
err := os.WriteFile("/proc/thread-self/attr/exec", []byte("system_u:system_r:unconfined_service_t"), 0o777)
err := os.WriteFile("/proc/thread-self/attr/exec", []byte("system_u:system_r:unconfined_service_t:s0"), 0o777)
if err != nil {
log.Fatalf("%s", err)
}
Expand Down

0 comments on commit 0455963

Please sign in to comment.