[PATCH] Add finit_module syscall for Linux

Kees Cook keescook@chromium.org
Wed Jan 23 04:04:00 GMT 2013


On Tue, Jan 22, 2013 at 7:16 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Tue, 22 Jan 2013, Kees Cook wrote:
>
>> This adds the new Linux finit_module() syscall.
>
> There's no point in adding syscalls to syscalls.list without at least
> adding a symbol version so the function is actually exported from libc.so.
> Note that in the kexec_load discussion last May / June, doubts were
> expressed about whether some existing module-related syscalls really
> should have had functions in glibc.

Hm, okay. I tried to find some good examples, but the git history on
syscalls.list made it difficult. There doesn't seem to be anything
special done for init_module(), so I guess I'm confused what's needed
here for finit_module(). I'll go see if the kexec_load discussion will
shed the light I need. :)

Thanks!

-Kees

--
Kees Cook
Chrome OS Security



More information about the Libc-alpha mailing list