mirror of
https://github.com/golang/sys.git
synced 2026-01-29 07:02:06 +03:00
whack more useless comments
This commit is contained in:
@@ -10,8 +10,6 @@ import "fmt"
|
||||
// For more information see unveil(2).
|
||||
// Note that the special case of blocking further
|
||||
// unveil calls is handled by UnveilBlock.
|
||||
//
|
||||
// Unveil requires OpenBSD 6.4 or later.
|
||||
func Unveil(path string, flags string) error {
|
||||
if err := supportsUnveil(); err != nil {
|
||||
return err
|
||||
@@ -29,8 +27,6 @@ func Unveil(path string, flags string) error {
|
||||
|
||||
// UnveilBlock blocks future unveil calls.
|
||||
// For more information see unveil(2).
|
||||
//
|
||||
// Unveil requires OpenBSD 6.4 or later.
|
||||
func UnveilBlock() error {
|
||||
if err := supportsUnveil(); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user