diff options
author | Harald Böhm <harald@boehm.dev> | 2022-11-27 15:34:28 +0100 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-02-22 20:38:48 +0000 |
commit | e0e2685c80d2c7f3d68b35b6122545659737ad94 (patch) | |
tree | 29583ddbf5c7ab880b2613344c284c5cdbebc11c /api | |
parent | e6faa375b4804588cdeb67eff9d01add8093f6e1 (diff) | |
download | go-git-e0e2685c80d2c7f3d68b35b6122545659737ad94.tar.gz |
syscall: add jail support to ForkExec on FreeBSD
Introduce a new SysProcAttr member called Jail on FreeBSD. This allows
supplying an existing jail's ID to which the child process is attached
before calling the exec system call.
Fixes #46259
Change-Id: Ie282e5b83429131f9a9e1e27cfcb3bcc995d1d4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/458335
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Samuel Karp <samuelkarp@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/next/46259.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/next/46259.txt b/api/next/46259.txt new file mode 100644 index 0000000000..a0704bdeb2 --- /dev/null +++ b/api/next/46259.txt @@ -0,0 +1,10 @@ +pkg syscall (freebsd-386), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-amd64), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-arm), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-arm-cgo), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-arm64), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-arm64-cgo), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-riscv64), type SysProcAttr struct, Jail int #46259 +pkg syscall (freebsd-riscv64-cgo), type SysProcAttr struct, Jail int #46259 |