mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 16:47:27 -04:00
unix: add support to get/set Linux capabilities
Add wrappers for Getcap/Setcap on Linux as well as some related types and consts. Change-Id: I07764c2e64717214850ea3cbdc238e313d1e38c4 Reviewed-on: https://go-review.googlesource.com/c/sys/+/183218 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
06bbe82148
commit
943d5127bd
@@ -183,6 +183,7 @@ struct ltchars {
|
||||
#include <sys/socket.h>
|
||||
#include <sys/xattr.h>
|
||||
#include <linux/bpf.h>
|
||||
#include <linux/capability.h>
|
||||
#include <linux/errqueue.h>
|
||||
#include <linux/if.h>
|
||||
#include <linux/if_alg.h>
|
||||
|
||||
Reference in New Issue
Block a user