mystuff/devel/adb/files/compat-capability.h
2026-03-22 00:32:45 +01:00

21 lines
594 B
C

/* OpenBSD stub for linux/capability.h */
#pragma once
#include <stdint.h>
typedef uint32_t __u32;
#define _LINUX_CAPABILITY_VERSION_3 0x20080522
#define _LINUX_CAPABILITY_U32S_3 2
#define VFS_CAP_REVISION_1 0x01000000
#define VFS_CAP_REVISION_2 0x02000000
#define VFS_CAP_REVISION_3 0x03000000
#define VFS_CAP_REVISION_MASK 0xff000000
#define VFS_CAP_FLAGS_EFFECTIVE 0x000001
struct vfs_cap_data {
__u32 magic_etc;
struct { __u32 permitted, inheritable; } data[2];
};
struct vfs_ns_cap_data {
__u32 magic_etc;
struct { __u32 permitted, inheritable; } data[2];
__u32 rootid;
};