devel/adb: new port

This commit is contained in:
c0dev0id
2026-07-08 11:08:05 +02:00
parent a91ecb0f1d
commit 8813f7e720
28 changed files with 786 additions and 0 deletions

View 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;
};