]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
include/linux: update kernel headers from v6.16-rc1
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Jun 2025 09:46:58 +0000 (18:46 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 12 Jun 2025 15:04:40 +0000 (16:04 +0100)
15 files changed:
src/basic/include/linux/bpf.h
src/basic/include/linux/dm-ioctl.h
src/basic/include/linux/ethtool.h
src/basic/include/linux/fs.h
src/basic/include/linux/fscrypt.h
src/basic/include/linux/if_bridge.h
src/basic/include/linux/if_link.h
src/basic/include/linux/input-event-codes.h
src/basic/include/linux/netfilter/nf_tables.h
src/basic/include/linux/netfilter/nfnetlink.h
src/basic/include/linux/nl80211.h
src/basic/include/linux/pkt_sched.h
src/basic/include/linux/prctl.h
src/basic/include/linux/stat.h
src/basic/include/linux/wireguard.h

index 2574ea7a04404a95840621fa9073aa7b4e633631..78c03b12d556b42faed773375de9d875e266cdbe 100644 (file)
@@ -1506,7 +1506,7 @@ union bpf_attr {
                __s32   map_token_fd;
        };
 
-       struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */
+       struct { /* anonymous struct used by BPF_MAP_*_ELEM and BPF_MAP_FREEZE commands */
                __u32           map_fd;
                __aligned_u64   key;
                union {
@@ -1995,11 +1995,15 @@ union bpf_attr {
  * long bpf_skb_store_bytes(struct sk_buff *skb, u32 offset, const void *from, u32 len, u64 flags)
  *     Description
  *             Store *len* bytes from address *from* into the packet
- *             associated to *skb*, at *offset*. *flags* are a combination of
- *             **BPF_F_RECOMPUTE_CSUM** (automatically recompute the
- *             checksum for the packet after storing the bytes) and
- *             **BPF_F_INVALIDATE_HASH** (set *skb*\ **->hash**, *skb*\
- *             **->swhash** and *skb*\ **->l4hash** to 0).
+ *             associated to *skb*, at *offset*. The *flags* are a combination
+ *             of the following values:
+ *
+ *             **BPF_F_RECOMPUTE_CSUM**
+ *                     Automatically update *skb*\ **->csum** after storing the
+ *                     bytes.
+ *             **BPF_F_INVALIDATE_HASH**
+ *                     Set *skb*\ **->hash**, *skb*\ **->swhash** and *skb*\
+ *                     **->l4hash** to 0.
  *
  *             A call to this helper is susceptible to change the underlying
  *             packet buffer. Therefore, at load time, all checks on pointers
@@ -2051,7 +2055,8 @@ union bpf_attr {
  *             untouched (unless **BPF_F_MARK_ENFORCE** is added as well), and
  *             for updates resulting in a null checksum the value is set to
  *             **CSUM_MANGLED_0** instead. Flag **BPF_F_PSEUDO_HDR** indicates
- *             the checksum is to be computed against a pseudo-header.
+ *             that the modified header field is part of the pseudo-header.
+ *             Flag **BPF_F_IPV6** should be set for IPv6 packets.
  *
  *             This helper works in combination with **bpf_csum_diff**\ (),
  *             which does not update the checksum in-place, but offers more
@@ -6068,6 +6073,7 @@ enum {
        BPF_F_PSEUDO_HDR                = (1ULL << 4),
        BPF_F_MARK_MANGLED_0            = (1ULL << 5),
        BPF_F_MARK_ENFORCE              = (1ULL << 6),
+       BPF_F_IPV6                      = (1ULL << 7),
 };
 
 /* BPF_FUNC_skb_set_tunnel_key and BPF_FUNC_skb_get_tunnel_key flags. */
@@ -6723,6 +6729,7 @@ struct bpf_link_info {
                                        __u32 name_len;
                                        __u32 offset; /* offset from file_name */
                                        __u64 cookie;
+                                       __u64 ref_ctr_offset;
                                } uprobe; /* BPF_PERF_EVENT_UPROBE, BPF_PERF_EVENT_URETPROBE */
                                struct {
                                        __aligned_u64 func_name; /* in/out */
index a1106057942482d38ff1e8487559440a1b5d06ef..9327299a6c26fbc539d5187553efd11d08d9be4c 100644 (file)
@@ -258,10 +258,12 @@ enum {
        DM_DEV_SET_GEOMETRY_CMD,
        DM_DEV_ARM_POLL_CMD,
        DM_GET_TARGET_VERSION_CMD,
+       DM_MPATH_PROBE_PATHS_CMD,
 };
 
 #define DM_IOCTL 0xfd
 
+/* Control device ioctls */
 #define DM_VERSION       _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl)
 #define DM_REMOVE_ALL    _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl)
 #define DM_LIST_DEVICES  _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl)
@@ -285,10 +287,13 @@ enum {
 #define DM_TARGET_MSG   _IOWR(DM_IOCTL, DM_TARGET_MSG_CMD, struct dm_ioctl)
 #define DM_DEV_SET_GEOMETRY    _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl)
 
+/* Block device ioctls */
+#define DM_MPATH_PROBE_PATHS _IO(DM_IOCTL, DM_MPATH_PROBE_PATHS_CMD)
+
 #define DM_VERSION_MAJOR       4
 #define DM_VERSION_MINOR       27
 #define DM_VERSION_PATCHLEVEL  0
-#define DM_VERSION_EXTRA       "-ioctl (2025-01-17)"
+#define DM_VERSION_EXTRA       "-ioctl (2025-04-28)"
 
 /* Status bits */
 #define DM_READONLY_FLAG       (1 << 0) /* In/Out */
index e30efde2b9fe3c3ae0008e577ec467d4dae02a1f..c6512126c66179e08159718b17246d0e18c6fc06 100644 (file)
@@ -2293,71 +2293,75 @@ static __inline__ int ethtool_validate_duplex(__u8 duplex)
 #define        RXH_XFRM_SYM_OR_XOR     (1 << 1)
 #define        RXH_XFRM_NO_CHANGE      0xff
 
-/* L2-L4 network traffic flow types */
-#define        TCP_V4_FLOW     0x01    /* hash or spec (tcp_ip4_spec) */
-#define        UDP_V4_FLOW     0x02    /* hash or spec (udp_ip4_spec) */
-#define        SCTP_V4_FLOW    0x03    /* hash or spec (sctp_ip4_spec) */
-#define        AH_ESP_V4_FLOW  0x04    /* hash only */
-#define        TCP_V6_FLOW     0x05    /* hash or spec (tcp_ip6_spec; nfc only) */
-#define        UDP_V6_FLOW     0x06    /* hash or spec (udp_ip6_spec; nfc only) */
-#define        SCTP_V6_FLOW    0x07    /* hash or spec (sctp_ip6_spec; nfc only) */
-#define        AH_ESP_V6_FLOW  0x08    /* hash only */
-#define        AH_V4_FLOW      0x09    /* hash or spec (ah_ip4_spec) */
-#define        ESP_V4_FLOW     0x0a    /* hash or spec (esp_ip4_spec) */
-#define        AH_V6_FLOW      0x0b    /* hash or spec (ah_ip6_spec; nfc only) */
-#define        ESP_V6_FLOW     0x0c    /* hash or spec (esp_ip6_spec; nfc only) */
-#define        IPV4_USER_FLOW  0x0d    /* spec only (usr_ip4_spec) */
-#define        IP_USER_FLOW    IPV4_USER_FLOW
-#define        IPV6_USER_FLOW  0x0e    /* spec only (usr_ip6_spec; nfc only) */
-#define        IPV4_FLOW       0x10    /* hash only */
-#define        IPV6_FLOW       0x11    /* hash only */
-#define        ETHER_FLOW      0x12    /* spec only (ether_spec) */
-
-/* Used for GTP-U IPv4 and IPv6.
- * The format of GTP packets only includes
- * elements such as TEID and GTP version.
- * It is primarily intended for data communication of the UE.
- */
-#define GTPU_V4_FLOW 0x13      /* hash only */
-#define GTPU_V6_FLOW 0x14      /* hash only */
-
-/* Use for GTP-C IPv4 and v6.
- * The format of these GTP packets does not include TEID.
- * Primarily expected to be used for communication
- * to create sessions for UE data communication,
- * commonly referred to as CSR (Create Session Request).
- */
-#define GTPC_V4_FLOW 0x15      /* hash only */
-#define GTPC_V6_FLOW 0x16      /* hash only */
-
-/* Use for GTP-C IPv4 and v6.
- * Unlike GTPC_V4_FLOW, the format of these GTP packets includes TEID.
- * After session creation, it becomes this packet.
- * This is mainly used for requests to realize UE handover.
- */
-#define GTPC_TEID_V4_FLOW 0x17 /* hash only */
-#define GTPC_TEID_V6_FLOW 0x18 /* hash only */
-
-/* Use for GTP-U and extended headers for the PSC (PDU Session Container).
- * The format of these GTP packets includes TEID and QFI.
- * In 5G communication using UPF (User Plane Function),
- * data communication with this extended header is performed.
- */
-#define GTPU_EH_V4_FLOW 0x19   /* hash only */
-#define GTPU_EH_V6_FLOW 0x1a   /* hash only */
-
-/* Use for GTP-U IPv4 and v6 PSC (PDU Session Container) extended headers.
- * This differs from GTPU_EH_V(4|6)_FLOW in that it is distinguished by
- * UL/DL included in the PSC.
- * There are differences in the data included based on Downlink/Uplink,
- * and can be used to distinguish packets.
- * The functions described so far are useful when you want to
- * handle communication from the mobile network in UPF, PGW, etc.
- */
-#define GTPU_UL_V4_FLOW 0x1b   /* hash only */
-#define GTPU_UL_V6_FLOW 0x1c   /* hash only */
-#define GTPU_DL_V4_FLOW 0x1d   /* hash only */
-#define GTPU_DL_V6_FLOW 0x1e   /* hash only */
+enum {
+       /* L2-L4 network traffic flow types */
+       TCP_V4_FLOW     = 0x01, /* hash or spec (tcp_ip4_spec) */
+       UDP_V4_FLOW     = 0x02, /* hash or spec (udp_ip4_spec) */
+       SCTP_V4_FLOW    = 0x03, /* hash or spec (sctp_ip4_spec) */
+       AH_ESP_V4_FLOW  = 0x04, /* hash only */
+       TCP_V6_FLOW     = 0x05, /* hash or spec (tcp_ip6_spec; nfc only) */
+       UDP_V6_FLOW     = 0x06, /* hash or spec (udp_ip6_spec; nfc only) */
+       SCTP_V6_FLOW    = 0x07, /* hash or spec (sctp_ip6_spec; nfc only) */
+       AH_ESP_V6_FLOW  = 0x08, /* hash only */
+       AH_V4_FLOW      = 0x09, /* hash or spec (ah_ip4_spec) */
+       ESP_V4_FLOW     = 0x0a, /* hash or spec (esp_ip4_spec) */
+       AH_V6_FLOW      = 0x0b, /* hash or spec (ah_ip6_spec; nfc only) */
+       ESP_V6_FLOW     = 0x0c, /* hash or spec (esp_ip6_spec; nfc only) */
+       IPV4_USER_FLOW  = 0x0d, /* spec only (usr_ip4_spec) */
+       IP_USER_FLOW    = IPV4_USER_FLOW,
+       IPV6_USER_FLOW  = 0x0e, /* spec only (usr_ip6_spec; nfc only) */
+       IPV4_FLOW       = 0x10, /* hash only */
+       IPV6_FLOW       = 0x11, /* hash only */
+       ETHER_FLOW      = 0x12, /* spec only (ether_spec) */
+
+       /* Used for GTP-U IPv4 and IPv6.
+        * The format of GTP packets only includes
+        * elements such as TEID and GTP version.
+        * It is primarily intended for data communication of the UE.
+        */
+       GTPU_V4_FLOW    = 0x13, /* hash only */
+       GTPU_V6_FLOW    = 0x14, /* hash only */
+
+       /* Use for GTP-C IPv4 and v6.
+        * The format of these GTP packets does not include TEID.
+        * Primarily expected to be used for communication
+        * to create sessions for UE data communication,
+        * commonly referred to as CSR (Create Session Request).
+        */
+       GTPC_V4_FLOW    = 0x15, /* hash only */
+       GTPC_V6_FLOW    = 0x16, /* hash only */
+
+       /* Use for GTP-C IPv4 and v6.
+        * Unlike GTPC_V4_FLOW, the format of these GTP packets includes TEID.
+        * After session creation, it becomes this packet.
+        * This is mainly used for requests to realize UE handover.
+        */
+       GTPC_TEID_V4_FLOW       = 0x17, /* hash only */
+       GTPC_TEID_V6_FLOW       = 0x18, /* hash only */
+
+       /* Use for GTP-U and extended headers for the PSC (PDU Session Container).
+        * The format of these GTP packets includes TEID and QFI.
+        * In 5G communication using UPF (User Plane Function),
+        * data communication with this extended header is performed.
+        */
+       GTPU_EH_V4_FLOW = 0x19, /* hash only */
+       GTPU_EH_V6_FLOW = 0x1a, /* hash only */
+
+       /* Use for GTP-U IPv4 and v6 PSC (PDU Session Container) extended headers.
+        * This differs from GTPU_EH_V(4|6)_FLOW in that it is distinguished by
+        * UL/DL included in the PSC.
+        * There are differences in the data included based on Downlink/Uplink,
+        * and can be used to distinguish packets.
+        * The functions described so far are useful when you want to
+        * handle communication from the mobile network in UPF, PGW, etc.
+        */
+       GTPU_UL_V4_FLOW = 0x1b, /* hash only */
+       GTPU_UL_V6_FLOW = 0x1c, /* hash only */
+       GTPU_DL_V4_FLOW = 0x1d, /* hash only */
+       GTPU_DL_V6_FLOW = 0x1e, /* hash only */
+
+       __FLOW_TYPE_COUNT,
+};
 
 /* Flag to enable additional fields in struct ethtool_rx_flow_spec */
 #define        FLOW_EXT        0x80000000
index 279d5fb4360e3cd6b56fdbf63be46c8fbea80769..154ab6af63f1c0821374fdd63abc930733cd95f0 100644 (file)
@@ -357,6 +357,7 @@ typedef int __bitwise __kernel_rwf_t;
 #define PAGE_IS_PFNZERO                (1 << 5)
 #define PAGE_IS_HUGE           (1 << 6)
 #define PAGE_IS_SOFT_DIRTY     (1 << 7)
+#define PAGE_IS_GUARD          (1 << 8)
 
 /*
  * struct page_region - Page region with flags
index 76badefbeb6843548b4907442d8e61a3e1ac79ab..fab076f26623743f75093bbf996da8658055178f 100644 (file)
@@ -119,7 +119,7 @@ struct fscrypt_key_specifier {
  */
 struct fscrypt_provisioning_key_payload {
        __u32 type;
-       __u32 __reserved;
+       __u32 flags;
        __u8 raw[];
 };
 
@@ -128,7 +128,9 @@ struct fscrypt_add_key_arg {
        struct fscrypt_key_specifier key_spec;
        __u32 raw_size;
        __u32 key_id;
-       __u32 __reserved[8];
+#define FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED        0x00000001
+       __u32 flags;
+       __u32 __reserved[7];
        __u8 raw[];
 };
 
index c206cf6d9a1edffa5df211d69f8ef4ff772c6078..bed5e0c11218d6cee7e7db441088fa7b9cdf302a 100644 (file)
@@ -699,10 +699,11 @@ struct br_mdb_entry {
 #define MDB_TEMPORARY 0
 #define MDB_PERMANENT 1
        __u8 state;
-#define MDB_FLAGS_OFFLOAD      (1 << 0)
-#define MDB_FLAGS_FAST_LEAVE   (1 << 1)
-#define MDB_FLAGS_STAR_EXCL    (1 << 2)
-#define MDB_FLAGS_BLOCKED      (1 << 3)
+#define MDB_FLAGS_OFFLOAD              (1 << 0)
+#define MDB_FLAGS_FAST_LEAVE           (1 << 1)
+#define MDB_FLAGS_STAR_EXCL            (1 << 2)
+#define MDB_FLAGS_BLOCKED              (1 << 3)
+#define MDB_FLAGS_OFFLOAD_FAILED       (1 << 4)
        __u8 flags;
        __u16 vid;
        struct {
@@ -830,6 +831,7 @@ enum br_boolopt_id {
        BR_BOOLOPT_NO_LL_LEARN,
        BR_BOOLOPT_MCAST_VLAN_SNOOPING,
        BR_BOOLOPT_MST_ENABLE,
+       BR_BOOLOPT_MDB_OFFLOAD_FAIL_NOTIFICATION,
        BR_BOOLOPT_MAX
 };
 
index ceff2f20496f6eca70fd5dcecbfc78e06e475c49..bb94d881b49f97e91c96ac7c0e3ff5a94f112c7c 100644 (file)
@@ -1984,4 +1984,19 @@ enum {
 
 #define IFLA_DSA_MAX   (__IFLA_DSA_MAX - 1)
 
+/* OVPN section */
+
+enum ovpn_mode {
+       OVPN_MODE_P2P,
+       OVPN_MODE_MP,
+};
+
+enum {
+       IFLA_OVPN_UNSPEC,
+       IFLA_OVPN_MODE,
+       __IFLA_OVPN_MAX,
+};
+
+#define IFLA_OVPN_MAX  (__IFLA_OVPN_MAX - 1)
+
 #endif /* _LINUX_IF_LINK_H */
index 7cd934c799308e4caa919b6c5e6f351379b43ea7..7c3b89205464e9aef66707744fc9638e4b72df41 100644 (file)
 #define SW_MUTE_DEVICE         0x0e  /* set = device disabled */
 #define SW_PEN_INSERTED                0x0f  /* set = pen inserted */
 #define SW_MACHINE_COVER       0x10  /* set = cover closed */
-#define SW_MAX                 0x10
+#define SW_USB_INSERT          0x11  /* set = USB audio device connected */
+#define SW_MAX                 0x11
 #define SW_CNT                 (SW_MAX+1)
 
 /*
index 49c944e78463f3039c59848af4b1599125956485..518ba144544ce17b5eba4c60b42dc16859a38546 100644 (file)
@@ -142,6 +142,8 @@ enum nf_tables_msg_types {
        NFT_MSG_DESTROYOBJ,
        NFT_MSG_DESTROYFLOWTABLE,
        NFT_MSG_GETSETELEM_RESET,
+       NFT_MSG_NEWDEV,
+       NFT_MSG_DELDEV,
        NFT_MSG_MAX,
 };
 
@@ -394,6 +396,8 @@ enum nft_set_field_attributes {
  * @NFTA_SET_HANDLE: set handle (NLA_U64)
  * @NFTA_SET_EXPR: set expression (NLA_NESTED: nft_expr_attributes)
  * @NFTA_SET_EXPRESSIONS: list of expressions (NLA_NESTED: nft_list_attributes)
+ * @NFTA_SET_TYPE: set backend type (NLA_STRING)
+ * @NFTA_SET_COUNT: number of set elements (NLA_U32)
  */
 enum nft_set_attributes {
        NFTA_SET_UNSPEC,
@@ -415,6 +419,8 @@ enum nft_set_attributes {
        NFTA_SET_HANDLE,
        NFTA_SET_EXPR,
        NFTA_SET_EXPRESSIONS,
+       NFTA_SET_TYPE,
+       NFTA_SET_COUNT,
        __NFTA_SET_MAX
 };
 #define NFTA_SET_MAX           (__NFTA_SET_MAX - 1)
@@ -1780,10 +1786,18 @@ enum nft_synproxy_attributes {
  * enum nft_device_attributes - nf_tables device netlink attributes
  *
  * @NFTA_DEVICE_NAME: name of this device (NLA_STRING)
+ * @NFTA_DEVICE_TABLE: table containing the flowtable or chain hooking into the device (NLA_STRING)
+ * @NFTA_DEVICE_FLOWTABLE: flowtable hooking into the device (NLA_STRING)
+ * @NFTA_DEVICE_CHAIN: chain hooking into the device (NLA_STRING)
+ * @NFTA_DEVICE_SPEC: hook spec matching the device (NLA_STRING)
  */
 enum nft_devices_attributes {
        NFTA_DEVICE_UNSPEC,
        NFTA_DEVICE_NAME,
+       NFTA_DEVICE_TABLE,
+       NFTA_DEVICE_FLOWTABLE,
+       NFTA_DEVICE_CHAIN,
+       NFTA_DEVICE_SPEC,
        __NFTA_DEVICE_MAX
 };
 #define NFTA_DEVICE_MAX                (__NFTA_DEVICE_MAX - 1)
@@ -1837,6 +1851,10 @@ enum nft_xfrm_keys {
  * @NFTA_TRACE_MARK: nfmark (NLA_U32)
  * @NFTA_TRACE_NFPROTO: nf protocol processed (NLA_U32)
  * @NFTA_TRACE_POLICY: policy that decided fate of packet (NLA_U32)
+ * @NFTA_TRACE_CT_ID: conntrack id (NLA_U32)
+ * @NFTA_TRACE_CT_DIRECTION: packets direction (NLA_U8)
+ * @NFTA_TRACE_CT_STATUS: conntrack status (NLA_U32)
+ * @NFTA_TRACE_CT_STATE: packet state (new, established, ...) (NLA_U32)
  */
 enum nft_trace_attributes {
        NFTA_TRACE_UNSPEC,
@@ -1857,6 +1875,10 @@ enum nft_trace_attributes {
        NFTA_TRACE_NFPROTO,
        NFTA_TRACE_POLICY,
        NFTA_TRACE_PAD,
+       NFTA_TRACE_CT_ID,
+       NFTA_TRACE_CT_DIRECTION,
+       NFTA_TRACE_CT_STATUS,
+       NFTA_TRACE_CT_STATE,
        __NFTA_TRACE_MAX
 };
 #define NFTA_TRACE_MAX (__NFTA_TRACE_MAX - 1)
index b89a3e61b22112cdba553c70c2eb8b480ce90ca1..88c3c5c73d00b1ef21e224789f322f294eaa20e9 100644 (file)
@@ -25,6 +25,8 @@ enum nfnetlink_groups {
 #define NFNLGRP_ACCT_QUOTA             NFNLGRP_ACCT_QUOTA
        NFNLGRP_NFTRACE,
 #define NFNLGRP_NFTRACE                        NFNLGRP_NFTRACE
+       NFNLGRP_NFT_DEV,
+#define NFNLGRP_NFT_DEV                        NFNLGRP_NFT_DEV
        __NFNLGRP_MAX,
 };
 #define NFNLGRP_MAX    (__NFNLGRP_MAX - 1)
index ddcc4cda74af5e821fbde6dae78435b3f9bc1604..e9ccf43fe3c6adcb14071960ac71c68328a26e1f 100644 (file)
@@ -8036,6 +8036,11 @@ enum nl80211_sar_specs_attrs {
  *     Setting this flag is permitted only if the driver advertises EMA support
  *     by setting wiphy->ema_max_profile_periodicity to non-zero.
  *
+ * @NL80211_MBSSID_CONFIG_ATTR_TX_LINK_ID: Link ID of the transmitted profile.
+ *     This parameter is mandatory when NL80211_ATTR_MBSSID_CONFIG attributes
+ *     are sent for a non-transmitted profile and if the transmitted profile
+ *     is part of an MLD. For all other cases this parameter is unnecessary.
+ *
  * @__NL80211_MBSSID_CONFIG_ATTR_LAST: Internal
  * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
  */
@@ -8047,6 +8052,7 @@ enum nl80211_mbssid_config_attributes {
        NL80211_MBSSID_CONFIG_ATTR_INDEX,
        NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX,
        NL80211_MBSSID_CONFIG_ATTR_EMA,
+       NL80211_MBSSID_CONFIG_ATTR_TX_LINK_ID,
 
        /* keep last */
        __NL80211_MBSSID_CONFIG_ATTR_LAST,
index 25a9a47001cdde59cf052ea658ba1ac26f4c34e8..958d94072e55f517b34bee434938bcbc2b037ffc 100644 (file)
@@ -1182,6 +1182,7 @@ enum {
        TCA_TAPRIO_ATTR_SCHED_SINGLE_ENTRY, /* single entry */
        TCA_TAPRIO_ATTR_SCHED_CLOCKID, /* s32 */
        TCA_TAPRIO_PAD,
+       TCA_TAPRIO_ATTR_PAD = TCA_TAPRIO_PAD,
        TCA_TAPRIO_ATTR_ADMIN_SCHED, /* The admin sched, only used in dump */
        TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME, /* s64 */
        TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME_EXTENSION, /* s64 */
index 15c18ef4eb11a0136b06f5a915145cd0df9cd023..43dec6eed559a68685fb03e659859bd2c4ee3395 100644 (file)
@@ -364,4 +364,11 @@ struct prctl_mm_map {
 # define PR_TIMER_CREATE_RESTORE_IDS_ON                1
 # define PR_TIMER_CREATE_RESTORE_IDS_GET       2
 
+/* FUTEX hash management */
+#define PR_FUTEX_HASH                  78
+# define PR_FUTEX_HASH_SET_SLOTS       1
+# define FH_FLAG_IMMUTABLE             (1ULL << 0)
+# define PR_FUTEX_HASH_GET_SLOTS       2
+# define PR_FUTEX_HASH_GET_IMMUTABLE   3
+
 #endif /* _LINUX_PRCTL_H */
index 2396306c5a3cbb9e4ef71f42b67d2dd9ce2588f0..a78402d41267b7995fe301fd7dfbe9de8ea2e23c 100644 (file)
@@ -182,8 +182,12 @@ struct statx {
        /* File offset alignment for direct I/O reads */
        __u32   stx_dio_read_offset_align;
 
-       /* 0xb8 */
-       __u64   __spare3[9];    /* Spare space for future expansion */
+       /* Optimised max atomic write unit in bytes */
+       __u32   stx_atomic_write_unit_max_opt;
+       __u32   __spare2[1];
+
+       /* 0xc0 */
+       __u64   __spare3[8];    /* Spare space for future expansion */
 
        /* 0x100 */
 };
index ae88be14c9478e2f8539e2ec5abe81ff87dcce5f..8c26391196d50fbbd32e1a2c2b335ad51d360872 100644 (file)
  *                    WGALLOWEDIP_A_FAMILY: NLA_U16
  *                    WGALLOWEDIP_A_IPADDR: struct in_addr or struct in6_addr
  *                    WGALLOWEDIP_A_CIDR_MASK: NLA_U8
+ *                    WGALLOWEDIP_A_FLAGS: NLA_U32, WGALLOWEDIP_F_REMOVE_ME if
+ *                                         the specified IP should be removed;
+ *                                         otherwise, this IP will be added if
+ *                                         it is not already present.
  *                0: NLA_NESTED
  *                    ...
  *                0: NLA_NESTED
@@ -184,11 +188,16 @@ enum wgpeer_attribute {
 };
 #define WGPEER_A_MAX (__WGPEER_A_LAST - 1)
 
+enum wgallowedip_flag {
+       WGALLOWEDIP_F_REMOVE_ME = 1U << 0,
+       __WGALLOWEDIP_F_ALL = WGALLOWEDIP_F_REMOVE_ME
+};
 enum wgallowedip_attribute {
        WGALLOWEDIP_A_UNSPEC,
        WGALLOWEDIP_A_FAMILY,
        WGALLOWEDIP_A_IPADDR,
        WGALLOWEDIP_A_CIDR_MASK,
+       WGALLOWEDIP_A_FLAGS,
        __WGALLOWEDIP_A_LAST
 };
 #define WGALLOWEDIP_A_MAX (__WGALLOWEDIP_A_LAST - 1)