Skip to content

Commit

Permalink
ctl: Changed preference order of suid bins.
Browse files Browse the repository at this point in the history
  • Loading branch information
sathya-pramodh committed Nov 6, 2023
1 parent f8ee7a2 commit 5c8bded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ctl/cpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ var forceCgroups = slices.Contains(os.Args, "--force-cgroups")
// A list of common setuid binaries. Used for getting root privileges to run
// the cgroup setup script.
var suidBinaries = [...]string{
"pkexec",
"sudo",
"doas",
"pkexec",
}

// CpuManager controls how much CPU time is given to each instance bsaed on its state.
Expand Down

0 comments on commit 5c8bded

Please sign in to comment.