LWN.net Logo

[PATCH] Add finit_module syscall for Linux

From:  Kees Cook <keescook-AT-chromium.org>
To:  libc-alpha-AT-sourceware.org
Subject:  [PATCH] Add finit_module syscall for Linux
Date:  Tue, 22 Jan 2013 16:48:25 -0800
Message-ID:  <20130123004825.GA16677@www.outflux.net>
Cc:  Kees Cook <keescook-AT-chromium.org>
Archive-link:  Article, Thread

This adds the new Linux finit_module() syscall.

Signed-off-by: Kees Cook <keescook@chromium.org>

---
 sysdeps/unix/sysv/linux/syscalls.list |    1 +
 1 file changed, 1 insertion(+)

2013-01-22  Kees Cook  <keescook@chromium.org>

	* sysdeps/unix/sysv/linux/syscalls.list: Add finit_module.

diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index 2e6cf9c..55748c9 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -28,6 +28,7 @@ getresgid	-	getresgid	i:ppp	getresgid
 getrlimit	-	ugetrlimit	i:ip	__new_getrlimit __getrlimit getrlimit@@GLIBC_2.2
 getsid		-	getsid		i:i	getsid
 init_module	EXTRA	init_module	5	init_module
+finit_module	EXTRA	finit_module	i:isi	finit_module
 inotify_add_watch	EXTRA	inotify_add_watch	i:isi	inotify_add_watch
 inotify_init	EXTRA	inotify_init	i:	inotify_init
 inotify_init1	EXTRA	inotify_init1	i:I	inotify_init1
-- 
1.7.9.5

-- 
Kees Cook
Chrome OS Security



(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds