Skip to content

Commit efee6c7

Browse files
committed
Merge tag 'tomoyo-pr-20220322' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1
Pull tomoyo update from Tetsuo Handa: "Avoid unnecessarily leaking kernel command line arguments" * tag 'tomoyo-pr-20220322' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1: TOMOYO: fix __setup handlers return values
2 parents 3ce62cf + 39844b7 commit efee6c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

security/tomoyo/load_policy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static const char *tomoyo_loader;
2424
static int __init tomoyo_loader_setup(char *str)
2525
{
2626
tomoyo_loader = str;
27-
return 0;
27+
return 1;
2828
}
2929

3030
__setup("TOMOYO_loader=", tomoyo_loader_setup);
@@ -64,7 +64,7 @@ static const char *tomoyo_trigger;
6464
static int __init tomoyo_trigger_setup(char *str)
6565
{
6666
tomoyo_trigger = str;
67-
return 0;
67+
return 1;
6868
}
6969

7070
__setup("TOMOYO_trigger=", tomoyo_trigger_setup);

0 commit comments

Comments
 (0)