seccomp: add missing semicolon
PATCH 1/1 seccomp: add missing semicolon
We get a compile error without it, at least in some configurations:
kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input
--- kernel/seccomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/seccomp.c +1 -1
@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void) return 0; } -device_initcall(seccomp_sysctl_init) +device_initcall (seccomp_sysctl_init);#endif /* CONFIG_SYSCTL */
Signature · 1 line
2.9.0
Quoted 6 lines · Arnd Bergmann
We get a compile error without it, at least in some configurations:
kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of inputFixes 8e5f1ad116df ("seccomp: Sysctl to display available actions")Signed-off-by Arnd Bergmann <[email protected]>
Oh, how completely strange. I never saw this in my build testing. If you have the .config that tripped this, please let me know.
James, can you take this for -next please?
Thanks!
-Kees
Quoted 19 lines
--- kernel/seccomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/seccomp.c +1
-2@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void) return 0; } -device_initcall(seccomp_sysctl_init) +device_initcall (seccomp_sysctl_init);#endif /* CONFIG_SYSCTL */ --2.9.0
Signature · 2 lines
Kees Cook Pixel Security
Quoted 10 lines · Kees Cook
Quoted 6 lines · Arnd Bergmann
We get a compile error without it, at least in some configurations:
kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of inputFixes 8e5f1ad116df ("seccomp: Sysctl to display available actions")Signed-off-by Arnd Bergmann <[email protected]>Oh, how completely strange. I never saw this in my build testing. If you have the .config that tripped this, please let me know.
Same here...
Thanks for the fix, Arnd!
Tyler
Quoted 31 lines
James, can you take this for -next please?
Acked-by Kees Cook <[email protected]>Thanks!
-Kees
Quoted 19 lines
--- kernel/seccomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/seccomp.c +1
-2@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void) return 0; } -device_initcall(seccomp_sysctl_init) +device_initcall (seccomp_sysctl_init);#endif /* CONFIG_SYSCTL */ --2.9.0