10 lines
219 B
Go
10 lines
219 B
Go
// +build linux,go1.16 aix darwin dragonfly freebsd illumos netbsd solaris
|
|
|
|
package main
|
|
|
|
func enableSecurityRestrictions(config Config, ui userInfo) error {
|
|
|
|
// Setuid to an unprivileged user
|
|
return DropPrivs(ui)
|
|
|
|
}
|