added pledge and unveil support
This commit is contained in:
parent
23731a3702
commit
089d8d16c8
8 changed files with 116 additions and 15 deletions
14
pledge.go
Normal file
14
pledge.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// Copyright (C) 2018 Marius Schellenberger
|
||||
|
||||
// +build !openbsd
|
||||
|
||||
package godrop
|
||||
|
||||
// Pledge is currently only supported on OpenBSD.
|
||||
func Pledge(promises, execpromises string) error { return nil }
|
||||
|
||||
// PledgePromises is currently only supported on OpenBSD.
|
||||
func PledgePromises(promises string) error { return nil }
|
||||
|
||||
// PledgeExecPromises is currently only supported on OpenBSD.
|
||||
func PledgeExecpromises(execpromises string) error { return nil }
|
||||
Loading…
Add table
Add a link
Reference in a new issue