1
1
Fork 0
mirror of https://tildegit.org/solderpunk/molly-brown synced 2024-05-14 11:16:04 +02:00
molly-brown/security_other_unix.go

14 lines
275 B
Go

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