1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-14 03:12:10 +02:00

build: update gnulib submodule to latest

This also fixes a problem with ls -Z when configured with
--disable-acl, reported by Pádraig Brady
<https://bugs.gnu.org/73418#52>.
* src/ls.c (gobble_file): Pass ACL_GET_SCONTEXT to
file_has_aclinfo, if -Z is used.
This commit is contained in:
Paul Eggert
2024-11-11 08:52:12 -08:00
parent 64a5d1092c
commit 87b887f968
2 changed files with 5 additions and 4 deletions

2
gnulib

Submodule gnulib updated: ee0bc69530...6a018d0492

View File

@@ -3501,9 +3501,10 @@ gobble_file (char const *name, enum filetype type, ino_t inode,
if ((format == long_format) | print_scontext | check_capability)
{
struct aclinfo ai;
int n = file_has_aclinfo_cache (full_name, f, &ai,
((do_deref ? ACL_SYMLINK_FOLLOW : 0)
| filetype_d_type[type]));
int aclinfo_flags = ((do_deref ? ACL_SYMLINK_FOLLOW : 0)
| (print_scontext ? ACL_GET_SCONTEXT : 0)
| filetype_d_type[type]);
int n = file_has_aclinfo_cache (full_name, f, &ai, aclinfo_flags);
bool have_acl = 0 < n;
bool have_scontext = !ai.scontext_err;
f->acl_type = (!have_scontext && !have_acl