diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-09-26 09:19:54 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-09-26 09:19:54 +0200 |
commit | 4e93dfbb8df5b21f77c2c09380dba14b2792ac8a (patch) | |
tree | 1dcbdd921c99a5a46477360f2ec54a5f81e415a5 | |
parent | 8a6bb54eb5167c211fec3634b6ed9847b80677b6 (diff) | |
download | sdn-4e93dfbb8df5b21f77c2c09380dba14b2792ac8a.tar.gz sdn-4e93dfbb8df5b21f77c2c09380dba14b2792ac8a.tar.xz sdn-4e93dfbb8df5b21f77c2c09380dba14b2792ac8a.zip |
Add a comment about libacl
So that I don't repeat my actions in the future.
-rw-r--r-- | sdn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |