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] |
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>