Add a comment about libacl

So that I don't repeat my actions in the future.
This commit is contained in:
Přemysl Eric Janouch 2021-09-26 09:19:54 +02:00
parent 8a6bb54eb5
commit 4e93dfbb8d
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 1 deletions

View File

@ -666,7 +666,9 @@ fun make_entry (const struct dirent *f) -> entry {
}
auto mode = decode_mode (info.st_mode);
// This is a Linux-only extension
// We're using a laughably small subset of libacl: this translates to
// two lgetxattr() calls, the results of which are compared with
// specific architecture-dependent constants. Linux-only.
if (acl_extended_file_nofollow (f->d_name) > 0)
mode += L"+";
e.cols[entry::MODES] = apply_attrs (mode, 0);