commit | 50298aa7a9faed39cd341ad7fd9275b1d5ddd70c | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Mon Jun 26 18:26:14 2017 +0200 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Jun 26 17:54:06 2017 +0000 |
tree | 1075db0e560b5d22c9cdd487006ae30e01e5db1f | |
parent | 8d3b82dc77f1be1eb60021ae3909e654c0280c22 [diff] [blame] |
unix: add seccomp mode constants Add the SECCOMP_MODE_DISABLED, SECCOMP_MODE_STRICT and SECCOMP_MODE_FILTER constants to be used with the PR_SET_SECCOMP prctl. See http://man7.org/linux/man-pages/man2/prctl.2.html Change-Id: Iacd1ffaeced4ae95e780a09038d35b763778a3d3 Reviewed-on: https://go-review.googlesource.com/46691 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/unix/zerrors_linux_mipsle.go b/unix/zerrors_linux_mipsle.go index b3978c5..9430745 100644 --- a/unix/zerrors_linux_mipsle.go +++ b/unix/zerrors_linux_mipsle.go
@@ -1395,6 +1395,9 @@ SCM_TIMESTAMPING_OPT_STATS = 0x36 SCM_TIMESTAMPNS = 0x23 SCM_WIFI_STATUS = 0x29 + SECCOMP_MODE_DISABLED = 0x0 + SECCOMP_MODE_FILTER = 0x2 + SECCOMP_MODE_STRICT = 0x1 SHUT_RD = 0x0 SHUT_RDWR = 0x2 SHUT_WR = 0x1