From 4e93dfbb8df5b21f77c2c09380dba14b2792ac8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 26 Sep 2021 09:19:54 +0200 Subject: Add a comment about libacl So that I don't repeat my actions in the future. --- sdn.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdn.cpp b/sdn.cpp index 3c4a407..9676475 100644 --- a/sdn.cpp +++ b/sdn.cpp @@ -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); -- cgit v1.2.3