OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-559-g18d006a
Gerrit Code Review
gerrit@openafs.org
Thu, 13 Aug 2026 12:19:02 -0400
The following commit has been merged in the master branch:
commit 18d006aad77bf379a093e402d0c548604c8072bc
Author: Junsouh Hong <junsouh@gmail.com>
Date: Sun Jul 19 22:04:29 2026 -0500
fs: Split out aclu_StringifyRights*() from PRights
In preparation for moving ACL related functions to the libacl library,
split PRights() into two functions, aclu_StringifyRightsDFS() and
aclu_StringifyRights(), which format the rights into a human-readable
string in a user-provided buffer instead of printing. Introduce the
struct aclu_rightsbuf for this buffer.
The aclu_StringifyRightsDFS() function is separate since DFS-related
code is likely to be removed in the future.
Also add doxygen-style comments for aclu_ParseRights() and
aclu_ParseRightsDFS() since they will be public functions in libacl.
Finally, reintroduce PRights() as a compatibility wrapper to preserve
the current behavior of fs. Now, it simply calls aclu_StringifyRights()
or aclu_StringifyRightsDFS() depending on the input.
Change-Id: I2b21702f60621255c4fb75d9c88a9ba74742af18
Co-authored-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-on: https://gerrit.openafs.org/16903
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
src/venus/fs.c | 194 +++++++++++++++++++++++++++++++++++----------------------
1 file changed, 119 insertions(+), 75 deletions(-)
--
OpenAFS Master Repository