Skip to content
Myr

protector.go

This file

Path

src/protector/protector.go

8 lines · 130 bytes · Go

Last changed by

Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297)Aaron Bieberbefore adoptiona1bcdc2

History of this file

Take it

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

Add pledge(2) support (OpenBSD only) via a 'protector' package. (#1297)Aaron Bieberbefore adoptiona1bcdc2

lines 1–8why, one step back
1// +build !openbsd
23package protector45// Protect calls OS specific protections like pledge on OpenBSD6func Protect() {7 return8}