debug
All checks were successful
Source release / source-package (push) Successful in 45s

This commit is contained in:
Mario Fetka
2026-05-25 14:25:08 +02:00
parent 0bc4a4b9c5
commit 8606579f8b

View File

@@ -2918,7 +2918,19 @@ int nw_modify_max_right_mask(int dir_handle, uint8 *data, int len,
old_mask = tru_get_inherited_mask(nwpath.volume, unname, &stbuff);
new_mask = (old_mask | (grant_mask & 0xff)) & (~revoke_mask & 0xff);
return tru_set_inherited_mask(nwpath.volume, unname, &stbuff, new_mask);
result = tru_set_inherited_mask(nwpath.volume, unname, &stbuff, new_mask);
if (!result) {
int verify_mask = tru_get_inherited_mask(nwpath.volume, unname, &stbuff);
XDPRINTF((1, 0, "NCP22/4 Modify Max Right Mask: path=`%s`, old=0x%02x, grant=0x%02x, revoke=0x%02x, new=0x%02x, verify=0x%02x",
unname,
old_mask & 0xff,
grant_mask & 0xff,
revoke_mask & 0xff,
new_mask & 0xff,
verify_mask & 0xff));
}
return result;
}
int nw_scan_user_trustee(int volume, int *sequence, uint32 id,