swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/linux-6.16.12.tar.gz sha256: ffc6af80b014ddebd55e116aa29a9f7a5256c87a29a8a9dd97270b6d49625109 patches: - "--- /dev/null\n+++ b/alpine-overlay/linux/kernel.h\n@@ -0,0 +1,10 @@\n+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */\n+#ifndef _LINUX_KERNEL_H\n+#define _LINUX_KERNEL_H\n+\n+#ifdef __GLIBC__\n+#include \n+#endif\n+#include \n+\n+#endif /* _LINUX_KERNEL_H */\n--- /dev/null\n+++ b/alpine-overlay/linux/if_tunnel.h\n@@ -0,0 +1,216 @@\n+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */\n+#ifndef _IF_TUNNEL_H_\n+#define _IF_TUNNEL_H_\n+\n+#include \n+#include \n+\n+\n+#define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)\n+#define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)\n+#define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)\n+#define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)\n+#define SIOCGETPRL (SIOCDEVPRIVATE + 4)\n+#define SIOCADDPRL (SIOCDEVPRIVATE + 5)\n+#define SIOCDELPRL (SIOCDEVPRIVATE + 6)\n+#define SIOCCHGPRL (SIOCDEVPRIVATE + 7)\n+#define SIOCGET6RD (SIOCDEVPRIVATE + 8)\n+#define SIOCADD6RD (SIOCDEVPRIVATE + 9)\n+#define SIOCDEL6RD (SIOCDEVPRIVATE + 10)\n+#define SIOCCHG6RD (SIOCDEVPRIVATE + 11)\n+\n+#define GRE_CSUM\t__cpu_to_be16(0x8000)\n+#define GRE_ROUTING\t__cpu_to_be16(0x4000)\n+#define GRE_KEY\t\t__cpu_to_be16(0x2000)\n+#define GRE_SEQ\t\t__cpu_to_be16(0x1000)\n+#define GRE_STRICT\t__cpu_to_be16(0x0800)\n+#define GRE_REC\t\t__cpu_to_be16(0x0700)\n+#define GRE_ACK\t\t__cpu_to_be16(0x0080)\n+#define GRE_FLAGS\t__cpu_to_be16(0x0078)\n+#define GRE_VERSION\t__cpu_to_be16(0x0007)\n+\n+#define GRE_IS_CSUM(f)\t\t((f) & GRE_CSUM)\n+#define GRE_IS_ROUTING(f)\t((f) & GRE_ROUTING)\n+#define GRE_IS_KEY(f)\t\t((f) & GRE_KEY)\n+#define GRE_IS_SEQ(f)\t\t((f) & GRE_SEQ)\n+#define GRE_IS_STRICT(f)\t((f) & GRE_STRICT)\n+#define GRE_IS_REC(f)\t\t((f) & GRE_REC)\n+#define GRE_IS_ACK(f)\t\t((f) & GRE_ACK)\n+\n+#define GRE_VERSION_0\t\t__cpu_to_be16(0x0000)\n+#define GRE_VERSION_1\t\t__cpu_to_be16(0x0001)\n+#define GRE_PROTO_PPP\t\t__cpu_to_be16(0x880b)\n+#define GRE_PPTP_KEY_MASK\t__cpu_to_be32(0xffff)\n+\n+struct ip_tunnel_parm {\n+\tchar\t\t\tname[IFNAMSIZ];\n+\tint\t\t\tlink;\n+\t__be16\t\t\ti_flags;\n+\t__be16\t\t\to_flags;\n+\t__be32\t\t\ti_key;\n+\t__be32\t\t\to_key;\n+\tstruct iphdr\t\tiph;\n+};\n+\n+enum {\n+\tIFLA_IPTUN_UNSPEC,\n+\tIFLA_IPTUN_LINK,\n+\tIFLA_IPTUN_LOCAL,\n+\tIFLA_IPTUN_REMOTE,\n+\tIFLA_IPTUN_TTL,\n+\tIFLA_IPTUN_TOS,\n+\tIFLA_IPTUN_ENCAP_LIMIT,\n+\tIFLA_IPTUN_FLOWINFO,\n+\tIFLA_IPTUN_FLAGS,\n+\tIFLA_IPTUN_PROTO,\n+\tIFLA_IPTUN_PMTUDISC,\n+\tIFLA_IPTUN_6RD_PREFIX,\n+\tIFLA_IPTUN_6RD_RELAY_PREFIX,\n+\tIFLA_IPTUN_6RD_PREFIXLEN,\n+\tIFLA_IPTUN_6RD_RELAY_PREFIXLEN,\n+\tIFLA_IPTUN_ENCAP_TYPE,\n+\tIFLA_IPTUN_ENCAP_FLAGS,\n+\tIFLA_IPTUN_ENCAP_SPORT,\n+\tIFLA_IPTUN_ENCAP_DPORT,\n+\tIFLA_IPTUN_COLLECT_METADATA,\n+\tIFLA_IPTUN_FWMARK,\n+\t__IFLA_IPTUN_MAX,\n+};\n+#define IFLA_IPTUN_MAX\t(__IFLA_IPTUN_MAX - 1)\n+\n+enum tunnel_encap_types {\n+\tTUNNEL_ENCAP_NONE,\n+\tTUNNEL_ENCAP_FOU,\n+\tTUNNEL_ENCAP_GUE,\n+\tTUNNEL_ENCAP_MPLS,\n+};\n+\n+#define TUNNEL_ENCAP_FLAG_CSUM\t\t(1<<0)\n+#define TUNNEL_ENCAP_FLAG_CSUM6\t\t(1<<1)\n+#define TUNNEL_ENCAP_FLAG_REMCSUM\t(1<<2)\n+\n+/* SIT-mode i_flags */\n+#define\tSIT_ISATAP\t0x0001\n+\n+struct ip_tunnel_prl {\n+\t__be32\t\t\taddr;\n+\t__u16\t\t\tflags;\n+\t__u16\t\t\t__reserved;\n+\t__u32\t\t\tdatalen;\n+\t__u32\t\t\t__reserved2;\n+\t/* data follows */\n+};\n+\n+/* PRL flags */\n+#define\tPRL_DEFAULT\t\t0x0001\n+\n+struct ip_tunnel_6rd {\n+\tstruct in6_addr\t\tprefix;\n+\t__be32\t\t\trelay_prefix;\n+\t__u16\t\t\tprefixlen;\n+\t__u16\t\t\trelay_prefixlen;\n+};\n+\n+enum {\n+\tIFLA_GRE_UNSPEC,\n+\tIFLA_GRE_LINK,\n+\tIFLA_GRE_IFLAGS,\n+\tIFLA_GRE_OFLAGS,\n+\tIFLA_GRE_IKEY,\n+\tIFLA_GRE_OKEY,\n+\tIFLA_GRE_LOCAL,\n+\tIFLA_GRE_REMOTE,\n+\tIFLA_GRE_TTL,\n+\tIFLA_GRE_TOS,\n+\tIFLA_GRE_PMTUDISC,\n+\tIFLA_GRE_ENCAP_LIMIT,\n+\tIFLA_GRE_FLOWINFO,\n+\tIFLA_GRE_FLAGS,\n+\tIFLA_GRE_ENCAP_TYPE,\n+\tIFLA_GRE_ENCAP_FLAGS,\n+\tIFLA_GRE_ENCAP_SPORT,\n+\tIFLA_GRE_ENCAP_DPORT,\n+\tIFLA_GRE_COLLECT_METADATA,\n+\tIFLA_GRE_IGNORE_DF,\n+\tIFLA_GRE_FWMARK,\n+\tIFLA_GRE_ERSPAN_INDEX,\n+\tIFLA_GRE_ERSPAN_VER,\n+\tIFLA_GRE_ERSPAN_DIR,\n+\tIFLA_GRE_ERSPAN_HWID,\n+\t__IFLA_GRE_MAX,\n+};\n+\n+#define IFLA_GRE_MAX\t(__IFLA_GRE_MAX - 1)\n+\n+/* VTI-mode i_flags */\n+#define VTI_ISVTI ((__be16)0x0001)\n+\n+enum {\n+\tIFLA_VTI_UNSPEC,\n+\tIFLA_VTI_LINK,\n+\tIFLA_VTI_IKEY,\n+\tIFLA_VTI_OKEY,\n+\tIFLA_VTI_LOCAL,\n+\tIFLA_VTI_REMOTE,\n+\tIFLA_VTI_FWMARK,\n+\t__IFLA_VTI_MAX,\n+};\n+\n+#define IFLA_VTI_MAX\t(__IFLA_VTI_MAX - 1)\n+\n+/* Historically, tunnel flags have been defined as __be16 and now there are\n+ * no free bits left. It is strongly advised to switch the already existing\n+ * userspace code to the new *_BIT definitions from down below, as __be16\n+ * can't be simply cast to a wider type on LE systems. All new flags and\n+ * code must use *_BIT only.\n+ */\n+\n+#define TUNNEL_CSUM\t\t__cpu_to_be16(0x01)\n+#define TUNNEL_ROUTING\t\t__cpu_to_be16(0x02)\n+#define TUNNEL_KEY\t\t__cpu_to_be16(0x04)\n+#define TUNNEL_SEQ\t\t__cpu_to_be16(0x08)\n+#define TUNNEL_STRICT\t\t__cpu_to_be16(0x10)\n+#define TUNNEL_REC\t\t__cpu_to_be16(0x20)\n+#define TUNNEL_VERSION\t\t__cpu_to_be16(0x40)\n+#define TUNNEL_NO_KEY\t\t__cpu_to_be16(0x80)\n+#define TUNNEL_DONT_FRAGMENT __cpu_to_be16(0x0100)\n+#define TUNNEL_OAM\t\t__cpu_to_be16(0x0200)\n+#define TUNNEL_CRIT_OPT\t\t__cpu_to_be16(0x0400)\n+#define TUNNEL_GENEVE_OPT\t__cpu_to_be16(0x0800)\n+#define TUNNEL_VXLAN_OPT\t__cpu_to_be16(0x1000)\n+#define TUNNEL_NOCACHE\t\t__cpu_to_be16(0x2000)\n+#define TUNNEL_ERSPAN_OPT\t__cpu_to_be16(0x4000)\n+#define TUNNEL_GTP_OPT\t\t__cpu_to_be16(0x8000)\n+\n+#define TUNNEL_OPTIONS_PRESENT \\\n+\t\t(TUNNEL_GENEVE_OPT | TUNNEL_VXLAN_OPT | TUNNEL_ERSPAN_OPT | \\\n+\t\tTUNNEL_GTP_OPT)\n+\n+enum {\n+\tIP_TUNNEL_CSUM_BIT\t\t= 0U,\n+\tIP_TUNNEL_ROUTING_BIT,\n+\tIP_TUNNEL_KEY_BIT,\n+\tIP_TUNNEL_SEQ_BIT,\n+\tIP_TUNNEL_STRICT_BIT,\n+\tIP_TUNNEL_REC_BIT,\n+\tIP_TUNNEL_VERSION_BIT,\n+\tIP_TUNNEL_NO_KEY_BIT,\n+\tIP_TUNNEL_DONT_FRAGMENT_BIT,\n+\tIP_TUNNEL_OAM_BIT,\n+\tIP_TUNNEL_CRIT_OPT_BIT,\n+\tIP_TUNNEL_GENEVE_OPT_BIT,\t/* OPTIONS_PRESENT */\n+\tIP_TUNNEL_VXLAN_OPT_BIT,\t/* OPTIONS_PRESENT */\n+\tIP_TUNNEL_NOCACHE_BIT,\n+\tIP_TUNNEL_ERSPAN_OPT_BIT,\t/* OPTIONS_PRESENT */\n+\tIP_TUNNEL_GTP_OPT_BIT,\t\t/* OPTIONS_PRESENT */\n+\n+\tIP_TUNNEL_VTI_BIT,\n+\tIP_TUNNEL_SIT_ISATAP_BIT\t= IP_TUNNEL_VTI_BIT,\n+\n+\t/* Flags starting from here are not available via the old UAPI */\n+\tIP_TUNNEL_PFCP_OPT_BIT,\t\t/* OPTIONS_PRESENT */\n+\n+\t__IP_TUNNEL_FLAG_NUM,\n+};\n+\n+#endif /* _IF_TUNNEL_H_ */\n--- /dev/null\n+++ b/alpine-overlay/scsi/scsi.h\n@@ -0,0 +1,150 @@\n+#ifndef _SCSI_SCSI_H\n+#define _SCSI_SCSI_H\n+\n+#define TEST_UNIT_READY 0x00\n+#define REZERO_UNIT 0x01\n+#define REQUEST_SENSE 0x03\n+#define FORMAT_UNIT 0x04\n+#define READ_BLOCK_LIMITS 0x05\n+#define REASSIGN_BLOCKS 0x07\n+#define READ_6 0x08\n+#define WRITE_6 0x0a\n+#define SEEK_6 0x0b\n+#define READ_REVERSE 0x0f\n+#define WRITE_FILEMARKS 0x10\n+#define SPACE 0x11\n+#define INQUIRY 0x12\n+#define RECOVER_BUFFERED_DATA 0x14\n+#define MODE_SELECT 0x15\n+#define RESERVE 0x16\n+#define RELEASE 0x17\n+#define COPY 0x18\n+#define ERASE 0x19\n+#define MODE_SENSE 0x1a\n+#define START_STOP 0x1b\n+#define RECEIVE_DIAGNOSTIC 0x1c\n+#define SEND_DIAGNOSTIC 0x1d\n+#define ALLOW_MEDIUM_REMOVAL 0x1e\n+#define SET_WINDOW 0x24\n+#define READ_CAPACITY 0x25\n+#define READ_10 0x28\n+#define WRITE_10 0x2a\n+#define SEEK_10 0x2b\n+#define WRITE_VERIFY 0x2e\n+#define VERIFY 0x2f\n+#define SEARCH_HIGH 0x30\n+#define SEARCH_EQUAL 0x31\n+#define SEARCH_LOW 0x32\n+#define SET_LIMITS 0x33\n+#define PRE_FETCH 0x34\n+#define READ_POSITION 0x34\n+#define SYNCHRONIZE_CACHE 0x35\n+#define LOCK_UNLOCK_CACHE 0x36\n+#define READ_DEFECT_DATA 0x37\n+#define MEDIUM_SCAN 0x38\n+#define COMPARE 0x39\n+#define COPY_VERIFY 0x3a\n+#define WRITE_BUFFER 0x3b\n+#define READ_BUFFER 0x3c\n+#define UPDATE_BLOCK 0x3d\n+#define READ_LONG 0x3e\n+#define WRITE_LONG 0x3f\n+#define CHANGE_DEFINITION 0x40\n+#define WRITE_SAME 0x41\n+#define READ_TOC 0x43\n+#define LOG_SELECT 0x4c\n+#define LOG_SENSE 0x4d\n+#define MODE_SELECT_10 0x55\n+#define RESERVE_10 0x56\n+#define RELEASE_10 0x57\n+#define MODE_SENSE_10 0x5a\n+#define PERSISTENT_RESERVE_IN 0x5e\n+#define PERSISTENT_RESERVE_OUT 0x5f\n+#define MOVE_MEDIUM 0xa5\n+#define READ_12 0xa8\n+#define WRITE_12 0xaa\n+#define WRITE_VERIFY_12 0xae\n+#define SEARCH_HIGH_12 0xb0\n+#define SEARCH_EQUAL_12 0xb1\n+#define SEARCH_LOW_12 0xb2\n+#define READ_ELEMENT_STATUS 0xb8\n+#define SEND_VOLUME_TAG 0xb6\n+#define WRITE_LONG_2 0xea\n+#define GOOD 0x00\n+#define CHECK_CONDITION 0x01\n+#define CONDITION_GOOD 0x02\n+#define BUSY 0x04\n+#define INTERMEDIATE_GOOD 0x08\n+#define INTERMEDIATE_C_GOOD 0x0a\n+#define RESERVATION_CONFLICT 0x0c\n+#define COMMAND_TERMINATED 0x11\n+#define QUEUE_FULL 0x14\n+#define STATUS_MASK 0x3e\n+#define NO_SENSE 0x00\n+#define RECOVERED_ERROR 0x01\n+#define NOT_READY 0x02\n+#define MEDIUM_ERROR 0x03\n+#define HARDWARE_ERROR 0x04\n+#define ILLEGAL_REQUEST 0x05\n+#define UNIT_ATTENTION 0x06\n+#define DATA_PROTECT 0x07\n+#define BLANK_CHECK 0x08\n+#define COPY_ABORTED 0x0a\n+#define ABORTED_COMMAND 0x0b\n+#define VOLUME_OVERFLOW 0x0d\n+#define MISCOMPARE 0x0e\n+#define TYPE_DISK 0x00\n+#define TYPE_TAPE 0x01\n+#define TYPE_PROCESSOR 0x03\n+#define TYPE_WORM 0x04\n+#define TYPE_ROM 0x05\n+#define TYPE_SCANNER 0x06\n+#define TYPE_MOD 0x07\n+#define TYPE_MEDIUM_CHANGER 0x08\n+#define TYPE_ENCLOSURE 0x0d\n+#define TYPE_NO_LUN 0x7f\n+#define COMMAND_COMPLETE 0x00\n+#define EXTENDED_MESSAGE 0x01\n+#define EXTENDED_MODIFY_DATA_POINTER 0x00\n+#define EXTENDED_SDTR 0x01\n+#define EXTENDED_EXTENDED_IDENTIFY 0x02\n+#define EXTENDED_WDTR 0x03\n+#define SAVE_POINTERS 0x02\n+#define RESTORE_POINTERS 0x03\n+#define DISCONNECT 0x04\n+#define INITIATOR_ERROR 0x05\n+#define ABORT 0x06\n+#define MESSAGE_REJECT 0x07\n+#define NOP 0x08\n+#define MSG_PARITY_ERROR 0x09\n+#define LINKED_CMD_COMPLETE 0x0a\n+#define LINKED_FLG_CMD_COMPLETE 0x0b\n+#define BUS_DEVICE_RESET 0x0c\n+#define INITIATE_RECOVERY 0x0f\n+#define RELEASE_RECOVERY 0x10\n+#define SIMPLE_QUEUE_TAG 0x20\n+#define HEAD_OF_QUEUE_TAG 0x21\n+#define ORDERED_QUEUE_TAG 0x22\n+#define SCSI_IOCTL_GET_IDLUN 0x5382\n+#define SCSI_IOCTL_TAGGED_ENABLE 0x5383\n+#define SCSI_IOCTL_TAGGED_DISABLE 0x5384\n+#define SCSI_IOCTL_PROBE_HOST 0x5385\n+#define SCSI_IOCTL_GET_BUS_NUMBER 0x5386\n+\n+struct ccs_modesel_head {\n+\tunsigned char _r1;\n+\tunsigned char medium;\n+\tunsigned char _r2;\n+\tunsigned char block_desc_length;\n+\tunsigned char density;\n+\tunsigned char number_blocks_hi;\n+\tunsigned char number_blocks_med;\n+\tunsigned char number_blocks_lo;\n+\tunsigned char _r3;\n+\tunsigned char block_length_hi;\n+\tunsigned char block_length_med;\n+\tunsigned char block_length_lo;\n+};\n+\n+#endif\n+\n--- /dev/null\n+++ b/alpine-overlay/scsi/scsi_ioctl.h\n@@ -0,0 +1,11 @@\n+#ifndef _SCSI_IOCTL_H\n+#define _SCSI_IOCTL_H\n+#define SCSI_IOCTL_SEND_COMMAND 1\n+#define SCSI_IOCTL_TEST_UNIT_READY 2\n+#define SCSI_IOCTL_BENCHMARK_COMMAND 3\n+#define SCSI_IOCTL_SYNC 4\n+#define SCSI_IOCTL_START_UNIT 5\n+#define SCSI_IOCTL_STOP_UNIT 6\n+#define SCSI_IOCTL_DOORLOCK 0x5380\n+#define SCSI_IOCTL_DOORUNLOCK 0x5381\n+#endif\n--- /dev/null\n+++ b/alpine-overlay/scsi/sg.h\n@@ -0,0 +1,129 @@\n+#ifndef _SCSI_SG_H\n+#define _SCSI_SG_H\n+\n+#define SG_DXFER_NONE -1\n+#define SG_DXFER_TO_DEV -2\n+#define SG_DXFER_FROM_DEV -3\n+#define SG_DXFER_TO_FROM_DEV -4\n+#define SG_FLAG_DIRECT_IO 1\n+#define SG_FLAG_LUN_INHIBIT 2\n+#define SG_FLAG_NO_DXFER 0x10000\n+#define SG_INFO_OK_MASK 0x1\n+#define SG_INFO_OK 0x0\n+#define SG_INFO_CHECK 0x1\n+#define SG_INFO_DIRECT_IO_MASK 0x6\n+#define SG_INFO_INDIRECT_IO 0x0\n+#define SG_INFO_DIRECT_IO 0x2\n+#define SG_INFO_MIXED_IO 0x4\n+#define SG_EMULATED_HOST 0x2203\n+#define SG_SET_TRANSFORM 0x2204\n+#define SG_GET_TRANSFORM 0x2205\n+#define SG_SET_RESERVED_SIZE 0x2275\n+#define SG_GET_RESERVED_SIZE 0x2272\n+#define SG_GET_SCSI_ID 0x2276\n+#define SG_SET_FORCE_LOW_DMA 0x2279\n+#define SG_GET_LOW_DMA 0x227a\n+#define SG_SET_FORCE_PACK_ID 0x227b\n+#define SG_GET_PACK_ID 0x227c\n+#define SG_GET_NUM_WAITING 0x227d\n+#define SG_GET_SG_TABLESIZE 0x227F\n+#define SG_GET_VERSION_NUM 0x2282\n+#define SG_SCSI_RESET 0x2284\n+#define SG_SCSI_RESET_NOTHING 0\n+#define SG_SCSI_RESET_DEVICE 1\n+#define SG_SCSI_RESET_BUS 2\n+#define SG_SCSI_RESET_HOST 3\n+#define SG_IO 0x2285\n+#define SG_GET_REQUEST_TABLE 0x2286\n+#define SG_SET_KEEP_ORPHAN 0x2287\n+#define SG_GET_KEEP_ORPHAN 0x2288\n+#define SG_SCATTER_SZ (8 * 4096)\n+#define SG_DEFAULT_RETRIES 1\n+#define SG_DEF_FORCE_LOW_DMA 0\n+#define SG_DEF_FORCE_PACK_ID 0\n+#define SG_DEF_KEEP_ORPHAN 0\n+#define SG_DEF_RESERVED_SIZE SG_SCATTER_SZ\n+#define SG_MAX_QUEUE 16\n+#define SG_BIG_BUFF SG_DEF_RESERVED_SIZE\n+#define SG_MAX_SENSE 16\n+#define SG_SET_TIMEOUT 0x2201\n+#define SG_GET_TIMEOUT 0x2202\n+#define SG_GET_COMMAND_Q 0x2270\n+#define SG_SET_COMMAND_Q 0x2271\n+#define SG_SET_DEBUG 0x227e\n+#define SG_NEXT_CMD_LEN 0x2283\n+#define SG_DEFAULT_TIMEOUT (60*100) /* 60*HZ */\n+#define SG_DEF_COMMAND_Q 0\n+#define SG_DEF_UNDERRUN_FLAG 0\n+\n+typedef struct sg_iovec {\n+\tvoid *iov_base;\n+\tunsigned long iov_len;\n+} sg_iovec_t;\n+\n+typedef struct sg_io_hdr { \n+\tint interface_id; \n+\tint dxfer_direction; \n+\tunsigned char cmd_len;\n+\tunsigned char mx_sb_len;\n+\tunsigned short iovec_count;\n+\tunsigned dxfer_len;\n+\tvoid *dxferp;\n+\tunsigned char *cmdp;\n+\tunsigned char *sbp;\n+\tunsigned timeout;\n+\tunsigned flags;\n+\tint pack_id;\n+\tvoid *usr_ptr;\n+\tunsigned char status;\n+\tunsigned char masked_status;\n+\tunsigned char msg_status;\n+\tunsigned char sb_len_wr;\n+\tunsigned short host_status;\n+\tunsigned short driver_status;\n+\tint resid; \n+\tunsigned int duration;\n+\tunsigned int info;\n+} sg_io_hdr_t;\n+\n+struct sg_scsi_id {\n+\tint host_no;\n+\tint channel;\n+\tint scsi_id;\n+\tint lun;\n+\tint scsi_type;\n+\tshort h_cmd_per_lun;\n+\tshort d_queue_depth;\n+\tint unused[2];\n+};\n+\n+typedef struct sg_req_info {\n+\tchar req_state;\n+\tchar orphan;\n+\tchar sg_io_owned;\n+\tchar problem;\n+\tint pack_id;\n+\tvoid *usr_ptr;\n+\tunsigned duration; \n+\tint unused; \n+} sg_req_info_t;\n+\n+typedef struct sg_io_hdr Sg_io_hdr;\n+typedef struct sg_io_vec Sg_io_vec;\n+typedef struct sg_scsi_id Sg_scsi_id;\n+typedef struct sg_req_info Sg_req_info;\n+\n+struct sg_header {\n+\tint pack_len;\n+\tint reply_len;\n+\tint pack_id;\n+\tint result;\n+\tunsigned twelve_byte:1;\n+\tunsigned target_status:5;\n+\tunsigned host_status:8;\n+\tunsigned driver_status:8;\n+\tunsigned other_flags:10;\n+\tunsigned char sense_buffer[SG_MAX_SENSE];\n+};\n+\n+#endif\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: compile: 'true' install: | make ARCH=x86 HOSTCC='zig cc -mcpu=baseline' headers && \ mkdir -p /out/usr && cp -a usr/include /out/usr/ && \ find /out/usr/include -name '.*.cmd' -delete && \ rm -f /out/usr/include/Makefile /out/usr/include/headers_check.pl && \ rm -rf /out/usr/include/drm && \ cp -a alpine-overlay/. /out/usr/include/ target_bin: /usr/bin/linux-headers expected_hash: b3:fd14c9c4d0081fd44503cbc762e8865413c240097448c5b1be236a285ea811b5 deps: build: - make runtime: []