New commands -projid, -get_projid, -get_projid_r, -set_projid, -set_projid_r, -find test -has_projid, -find actions get_projid, set_projid, get_projid_minmax

This commit is contained in:
2024-11-03 20:04:54 +01:00
parent 923bfa0be9
commit 32bfa95973
25 changed files with 1168 additions and 214 deletions

View File

@ -59,6 +59,7 @@ struct ExprtesT {
-2=smaller_or_equal , 2=larger_or_equal)
28= -has_lfa_flags uint64_t *arg1 (Linux file attribute flag bits)
29= -has_some_lfa_flags_of uint64_t *arg1
30= -has_projid uint64_t *arg1
*/
int test_type;
@ -193,6 +194,9 @@ struct FindjoB {
61= chattr mode
62= internal: like 27 "setfattr name value" but with permission for all
name spaces including "isofs."
63= get_projid
64= set_projid projid
65= get_projid_minmax
*/
int action;
int prune;
@ -213,6 +217,8 @@ struct FindjoB {
struct FindjoB *subjob;
uint32_t last_data_file_block;
uint64_t lfa_flags;
off_t projid_low;
off_t projid_high;
/* Errors */
char errmsg[4096];