summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/capability.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/capability.go')
-rw-r--r--pkg/abi/linux/capability.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/abi/linux/capability.go b/pkg/abi/linux/capability.go
index 965f74663..afd16cc27 100644
--- a/pkg/abi/linux/capability.go
+++ b/pkg/abi/linux/capability.go
@@ -177,12 +177,16 @@ const (
)
// CapUserHeader is equivalent to Linux's cap_user_header_t.
+//
+// +marshal
type CapUserHeader struct {
Version uint32
Pid int32
}
// CapUserData is equivalent to Linux's cap_user_data_t.
+//
+// +marshal slice:CapUserDataSlice
type CapUserData struct {
Effective uint32
Permitted uint32