oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1// Package sysunix is the slice of golang.org/x/sys/unix that the
2// containment's launcher (linux.go) uses. On Linux every name is the
3// unix package's own; on macOS (sysunix_darwin.go) the Linux-only calls
4// refuse, so the runner builds for a Mac worker, which never starts a
5// bubblewrap namespace.
6package sysunix
7
8import "golang.org/x/sys/unix"
9
10type WaitStatus = unix.WaitStatus
11
12const (
13 EINTR = unix.EINTR
14 ESRCH = unix.ESRCH
15 SIGKILL = unix.SIGKILL
16 PR_SET_DUMPABLE = unix.PR_SET_DUMPABLE
17 CLOSE_RANGE_CLOEXEC = unix.CLOSE_RANGE_CLOEXEC
18)
19
20var (
21 Close = unix.Close
22 CloseRange = unix.CloseRange
23 PidfdSendSignal = unix.PidfdSendSignal
24 Prctl = unix.Prctl
25 Wait4 = unix.Wait4
26)
27