mirror of
https://tildegit.org/solderpunk/molly-brown
synced 2024-05-13 16:46:03 +02:00
15 lines
270 B
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)
|
|
|
|
}
|