2023-02-13 14:26:52 -05:00
|
|
|
// +build linux,go1.16 aix darwin dragonfly freebsd illumos netbsd solaris
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
)
|
|
|
|
|
2023-02-19 07:17:24 -05:00
|
|
|
func enableSecurityRestrictions(config Config, ui userInfo, errorLog *log.Logger) {
|
2023-02-13 14:26:52 -05:00
|
|
|
|
|
|
|
// Setuid to an unprivileged user
|
2023-02-19 07:17:24 -05:00
|
|
|
DropPrivs(ui, errorLog)
|
2023-02-13 14:26:52 -05:00
|
|
|
}
|