[PATCH] TOMOYO: fix __setup handlers return values

Tetsuo Handa penguin-kernel at I-love.SAKURA.ne.jp
Wed Feb 23 13:55:12 UTC 2022


On 2022/02/23 6:45, Randy Dunlap wrote:
> __setup() handlers should return 1 if the parameter is handled.
> Returning 0 causes the entire string to be added to init's
> environment strings (limited to 32 strings), unnecessarily polluting it.

Applied as https://osdn.net/projects/tomoyo/scm/git/tomoyo-test1/commits/39844b7e3084baecef52d1498b5fa81afa2cefa9 .

Thank you.



More information about the Linux-security-module-archive mailing list