carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build unix && !linux
2
3package host
4
5import (
6 "errors"
7 "os/exec"
8)
9
10func registryChildExec(path string, uid, gid int) (*exec.Cmd, error) {
11 return nil, errors.New("registry: privileged child requires Linux")
12}
13
14func registryChildCloseExec() error {
15 return errors.New("registry: privileged child requires Linux")
16}
17
18func registryChildStart(cmd *exec.Cmd) error {
19 return errors.New("registry: privileged child requires Linux")
20}
21
22func registryChildHarden() error {
23 return errors.New("registry: privileged child requires Linux")
24}
25
26func closeRegistryExecutable() {}
27