From 3266c08a31512b6ebaae505723e952b486c6c1f4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 5 Jun 2023 15:13:53 +0200 Subject: [PATCH] file-has-acl: Fix compilation error on Slackware 13 (regr. 2023-05-12). * lib/file-has-acl.c (XATTR_NAME_POSIX_ACL_ACCESS, XATTR_NAME_POSIX_ACL_DEFAULT): Add fallback definitions. --- ChangeLog | 6 ++++++ lib/file-has-acl.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9554071224..b0c742b085 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-06-05 Bruno Haible + + file-has-acl: Fix compilation error on Slackware 13 (regr. 2023-05-12). + * lib/file-has-acl.c (XATTR_NAME_POSIX_ACL_ACCESS, + XATTR_NAME_POSIX_ACL_DEFAULT): Add fallback definitions. + 2023-06-05 Bruno Haible Fix bugs on mingw when module dirfd is in use (regression 2023-04-26). diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c index 13f08c3055..3eeaf9c57d 100644 --- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -40,6 +40,12 @@ # ifndef XATTR_NAME_NFSV4_ACL # define XATTR_NAME_NFSV4_ACL "system.nfs4_acl" # endif +# ifndef XATTR_NAME_POSIX_ACL_ACCESS +# define XATTR_NAME_POSIX_ACL_ACCESS "system.posix_acl_access" +# endif +# ifndef XATTR_NAME_POSIX_ACL_DEFAULT +# define XATTR_NAME_POSIX_ACL_DEFAULT "system.posix_acl_default" +# endif enum { /* ACE4_ACCESS_ALLOWED_ACE_TYPE = 0x00000000, */ -- 2.39.5