molly-brown/security_other_unix.go

15 lines
270 B
Go

// +build linux,go1.16 aix darwin dragonfly freebsd illumos netbsd solaris
package main
import (
"log"
)
func enableSecurityRestrictions(config Config, ui userInfo, errorLog *log.Logger) error {
// Setuid to an unprivileged user
return DropPrivs(ui, errorLog)
}