GFS_ACL_CHECK(3)
π GFS_ACL_CHECK(3) π
okay bestie so this is a Gfarm manual page, section 3, and it's all about gfs_acl_check β literally the vibe-check function for your ACLs. no cap. π¦
β¨ NAME β¨
gfs_acl_check β check a Gfarm ACL for validity π
πΈ SYNOPSIS πΈ
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_check(gfarm_acl_t acl, int *last_p,
int *acl_check_err_code_p);
like, that's the whole signature, she's not complicated, she just wants to know if your ACL is okay π«Ά
π INPUT ARGUMENTS π
aclβ an ACL structure type which is sorted. yes bestie, sorted. the sort is not optional, it's the whole point.gfs_acl_sort(3)is right there in SEE ALSO for a reason πlast_pβ if thislast_pis notNULL, thengfs_acl_check(3)assigns the number of the ACL entry at which the error was detected to the value pointed to by thislast_p. so basically it snitches on exactly which entry was giving problems. so helpful of her honestly πacl_check_err_codeβ this one's one of these four values:GFARM_ACL_MULTI_ERRORGFARM_ACL_DUPLICATE_ERRORGFARM_ACL_MISS_ERRORGFARM_ACL_ENTRY_ERROR
(in the synopsis she goes by acl_check_err_code_p, just so you're not confused when the names don't match up exactly β that's the girlies being β¨consistentβ¨ as always π)
β RETURN VALUES β
GFARM_ERR_NO_ERRORβ the function terminated successfully. we love a clean run, no notes, main character energy π- Others β an error except the above occurred. the reason is shown by
gfarm_error_string(3), so go read that if you wanna know what went wrong, bestie π₯
πΈ SEE ALSO πΈ
π real talk: this is the validity check, so if your ACL is out here being messy, unsorted, duplicated, missing stuff, or just straight-up wrong at the entry level, she will find it and she will tell you exactly where. periodt.
okay that's the page!! slay πβ¨ this was Gfarm, from the 14 Feb 2011 era, filed under section 3, and honestly? iconic. mwah ππ¦π
π¦ where this page comes from
- debian bookworm: libgfarm-dev 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: libgfarm-dev 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: libgfarm-dev 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: libgfarm-dev 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: libgfarm-dev 2.7.20+dfsg-1.2
- ubuntu resolute: libgfarm-dev 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: libgfarm-dev 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms