Commit Graph

11 Commits

Author SHA1 Message Date
Mario Fetka
121ca79bc7 Check seteuid result in quota wrapper
All checks were successful
Source release / source-package (push) Successful in 48s
Handle failures from seteuid(0) in su_quotactl() before calling
quotactl(). This fixes the warn_unused_result compiler warning and
returns an error to the quota caller if privilege elevation fails.
2026-05-26 09:56:00 +02:00
Mario Fetka
dd0285187d Handle volume restriction reads on volumes without quota backend
All checks were successful
Source release / source-package (push) Successful in 47s
SYSCON reads volume/disk restrictions before opening the edit dialog.
For volumes that do not map to a quota-capable block device, such as
HOME on /home, the old code returned an error during the read path.
This made SYSCON abort with error -30312 before the user could even see
the restriction state.

Treat read requests on volumes without a quota backend as unrestricted:
return success with an unlimited quota and zero usage. Removing a
restriction on such a volume is also treated as a successful no-op.

Setting a non-zero restriction still fails, so admin tools do not report
a quota as enforced when no Linux quota backend exists.
2026-05-26 09:15:20 +02:00
Mario Fetka
e80b67a490 Quota-Backend-Cleanup/Logging remove tmpfs and create quota if not exist Part three
All checks were successful
Source release / source-package (push) Successful in 39s
2026-05-26 00:24:20 +02:00
Mario Fetka
b6d5266e2d Quota-Backend-Cleanup/Logging remove tmpfs and create quota if not exist Part two
All checks were successful
Source release / source-package (push) Successful in 43s
2026-05-26 00:13:27 +02:00
Mario Fetka
ff6c3e9bed Quota-Backend-Cleanup/Logging remove tmpfs and create quota if not exist
All checks were successful
Source release / source-package (push) Successful in 1m6s
2026-05-26 00:02:56 +02:00
Mario Fetka
f0aa83dea1 Quota-Backend-Cleanup/Logging Temfs
All checks were successful
Source release / source-package (push) Successful in 38s
2026-05-25 23:43:46 +02:00
Mario Fetka
b2c2ea96c6 Quota-Backend-Cleanup/Logging BuildFix
All checks were successful
Source release / source-package (push) Successful in 35s
2026-05-25 23:23:38 +02:00
Mario Fetka
1dc2c0a175 Quota-Backend-Cleanup/Logging
All checks were successful
Source release / source-package (push) Successful in 37s
2026-05-25 23:16:31 +02:00
Mario Fetka
e817405919 feat: add DOS long-name alias support 2026-05-24 00:50:32 +02:00
Mario Fetka
33d1da469a Tighten string helper prototypes and quiet pointer-sign warnings 2026-04-20 23:39:42 +02:00
Mario Fetka
0fbc9baf41 Restructure for camke build 2011-11-13 17:37:22 +01:00