linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] module: add finit_module syscall to asm-generic
@ 2012-09-20 20:07 Kees Cook
  2012-09-20 21:52 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Kees Cook @ 2012-09-20 20:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Arnd Bergmann, linux-arch, Rusty Russell

This adds the finit_module syscall to the generic syscall list.

Signed-off-by: Kees Cook <keescook@chromium.org>
---
This depends on the finit_module patchset in Rusty's tree, based on
https://lkml.org/lkml/2012/9/7/559
---
 include/asm-generic/unistd.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 991ef01..671d746 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -691,9 +691,11 @@ __SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \
 #define __NR_process_vm_writev 271
 __SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \
           compat_sys_process_vm_writev)
+#define __NR_finit_module 272
+__SYSCALL(__NR_finit_module, sys_finit_module)
 
 #undef __NR_syscalls
-#define __NR_syscalls 272
+#define __NR_syscalls 273
 
 /*
  * All syscalls below here should go away really,
-- 
1.7.0.4


-- 
Kees Cook
Chrome OS Security

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] module: add finit_module syscall to asm-generic
  2012-09-20 20:07 [PATCH] module: add finit_module syscall to asm-generic Kees Cook
@ 2012-09-20 21:52 ` Arnd Bergmann
  2012-09-21  2:17   ` Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2012-09-20 21:52 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel, linux-arch, Rusty Russell

On Thursday 20 September 2012, Kees Cook wrote:
> 
> This adds the finit_module syscall to the generic syscall list.
> 
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
> This depends on the finit_module patchset in Rusty's tree, based on
> https://lkml.org/lkml/2012/9/7/559

Acked-by: Arnd Bergmann <arnd@arndb.de>

Please queue this along with the other patches.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] module: add finit_module syscall to asm-generic
  2012-09-20 21:52 ` Arnd Bergmann
@ 2012-09-21  2:17   ` Rusty Russell
  0 siblings, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2012-09-21  2:17 UTC (permalink / raw)
  To: Arnd Bergmann, Kees Cook; +Cc: linux-kernel, linux-arch

Arnd Bergmann <arnd@arndb.de> writes:

> On Thursday 20 September 2012, Kees Cook wrote:
>> 
>> This adds the finit_module syscall to the generic syscall list.
>> 
>> Signed-off-by: Kees Cook <keescook@chromium.org>
>> ---
>> This depends on the finit_module patchset in Rusty's tree, based on
>> https://lkml.org/lkml/2012/9/7/559
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> Please queue this along with the other patches.

OK, I'm still holding them back from linux-next due to the question of
signatures & the new syscall.  But I expect we'll resign ourselves to an
appended signature, and they'll be fine as-is.

Cheers,
Rusty.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-21  3:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20 20:07 [PATCH] module: add finit_module syscall to asm-generic Kees Cook
2012-09-20 21:52 ` Arnd Bergmann
2012-09-21  2:17   ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).