devel/adb: new port
This commit is contained in:
20
devel/adb/files/compat-capability.h
Normal file
20
devel/adb/files/compat-capability.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* 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;
|
||||
};
|
||||
Reference in New Issue
Block a user