Skip to content
Myr

protector_openbsd.go

This file

Path

src/protector/protector_openbsd.go

10 lines · 229 bytes · Go

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 3b0f976 point at it.

[fish] Enable home dir expansion of leading ~/bitraidbefore adoption3b0f976

lines 1–10why, one step back
1//go:build openbsd
23package protector45import "golang.org/x/sys/unix"67// Protect calls OS specific protections like pledge on OpenBSD8func Protect() {9 unix.PledgePromises("stdio dpath wpath rpath tty proc exec inet tmppath")10}