diff --git a/unix/linux/types.go b/unix/linux/types.go index 56012b89..7d76e5cc 100644 --- a/unix/linux/types.go +++ b/unix/linux/types.go @@ -3822,9 +3822,9 @@ const ( // Landlock -type LandlockRulesetAttr = C.struct_landlock_ruleset_attr +type LandlockRulesetAttr C.struct_landlock_ruleset_attr -type LandlockPathBeneathAttr = C.struct_landlock_path_beneath_attr +type LandlockPathBeneathAttr C.struct_landlock_path_beneath_attr const ( LANDLOCK_RULE_PATH_BENEATH = C.LANDLOCK_RULE_PATH_BENEATH diff --git a/unix/ztypes_linux.go b/unix/ztypes_linux.go index fffc9e31..06dcd787 100644 --- a/unix/ztypes_linux.go +++ b/unix/ztypes_linux.go @@ -3924,11 +3924,11 @@ const ( NFC_SDP_ATTR_SAP = 0x2 ) -type LandlockRulesetAttr = struct { +type LandlockRulesetAttr struct { Access_fs uint64 } -type LandlockPathBeneathAttr = struct { +type LandlockPathBeneathAttr struct { Allowed_access uint64 Parent_fd int32 }