This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add finit_module syscall for Linux


On Wed, Jan 23, 2013 at 10:36 AM, Roland McGrath <roland@hack.frob.com> wrote:
>> We get into trouble, like the double definitions of "struct in6_addr"
>> et al.  in netinet/in.h vs. the kernel header, exactly because glibc's
>> support for kernel provided interfaces is sometimes out of sync or
>> missing completely.
>
> That kind of case really doesn't speak to the issue at hand.  We're talking
> here about arcane syscalls that no normal program uses at all.  There is no
> part of the related kernel interface that we'd declare in libc headers.

I think it's entirely sensible to define an interface to
(f)init_module. It seems sloppy to require a program to use syscall()
for a known interface.

As for other missing syscalls, at least kcmp comes to mind.

-Kees

--
Kees Cook
Chrome OS Security


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]