aboutsummaryrefslogtreecommitdiffstats
path: root/src/permchain.c
AgeCommit message (Collapse)AuthorLines
2023-11-20src|tests: Address warning -Wstrict-prototypesSebastian Pipping-1/+1
Symptom with Clang 15: > In file included from userinfo.c:20: > ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > void invalidate_user_cache(); /* safe to call from signal handler */ > ^ > void > [many more]
2023-11-14permchain.c: Address warning -Wunused-parameterSebastian Pipping-1/+11
The fix is a near 1:1 copy of what add_chmod_rule_to_permchain already does about the same problem. Symptom was: > src/permchain.c: In function ‘add_octal_rule_to_permchain’: > src/permchain.c:151:71: error: unused parameter ‘end’ [-Werror=unused-parameter] > 151 | static int add_octal_rule_to_permchain(const char *start, const char *end, > |
2023-11-14permchain.c: Handle malloc failure in add_chmod_rule_to_permchainSebastian Pipping-0/+2
2023-04-12Debug output cleanupMartin Pärtel-2/+3
2021-02-15Fixed permchain.c on older compilers. Enabled -Wpedantic.Martin Pärtel-11/+11
2021-02-14Got rid of alloca()Martin Pärtel-2/+2
2021-02-13Include alloca.h to fix build on MacOSMartin Pärtel-0/+1
2012-07-03Fixed permchain.operands size and reordered it a bit.Martin Pärtel-3/+3
2012-07-03bindfs: reduce memory holes in struct permchainJan Engelhardt-2/+2
Reduce holes in struct permchain by appropriately sizing and reordering members.
2011-07-08Initial commit to git.Martin Pärtel-0/+325