aboutsummaryrefslogtreecommitdiffstats
path: root/go
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2019-11-30 09:35:56 -0800
committerAndrew G. Morgan <morgan@kernel.org>2019-11-30 09:43:44 -0800
commitc7e46056ca671af5d3ec7b68e3be3311717703a2 (patch)
treed3ca6b9e95481b6a4f96dbd5f5e62a8f0d7d7b79 /go
parent281c43f1b0fc3fcd2da2d85b928ce6a415226566 (diff)
downloadplatform_external_libcap-c7e46056ca671af5d3ec7b68e3be3311717703a2.tar.gz
platform_external_libcap-c7e46056ca671af5d3ec7b68e3be3311717703a2.tar.bz2
platform_external_libcap-c7e46056ca671af5d3ec7b68e3be3311717703a2.zip
Some extra sanity to the golang cap package.
Reject &cap.Set{} definitions harder. Require the use of cap.NewCap(). Also remove dependence on syscall.*Syscall6() for prctl - our use is fully covered by the syscall.*Syscall() API. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'go')
-rw-r--r--go/.gitignore3
1 files changed, 2 insertions, 1 deletions
diff --git a/go/.gitignore b/go/.gitignore
index 0874295..bc4cd9b 100644
--- a/go/.gitignore
+++ b/go/.gitignore
@@ -1,4 +1,5 @@
compare-cap
mknames
+web
pkg
-src \ No newline at end of file
+src