lkml.org 
[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectIs there any interest in Dynamic API
From
Date
I was wondering whether the kernel community had any interest in seeing a
dynamic api capability in the kernel. What I have in mind the ability for a
kernel module to request a system call entry be added by supplying a call
name to a create_dynamic_api service. This service would assign a system
call number by looking for an unused slot (not from the beginning of the
syscall table but from a defined location so as to avoid reserved calls).
It would create a /proc/dynapi/api_name - the content of this file would
contain the call number.

It seems like a harmless enough idea. And I sort of like the idea of using
a system call rather than turning a kernel module into a device driver just
for the sake of a user communication mechanism. I envisage this being of
use to projects where they need a user-kernel interface but not a generic
one.

Comments please.


Richard Moore - RAS Project Lead - Linux Technology Centre (ATS-PIC).
http://oss.software.ibm.com/developerworks/opensource/linux
Office: (+44) (0)1962-817072, Mobile: (+44) (0)7768-298183
IBM UK Ltd, MP135 Galileo Centre, Hursley Park, Winchester, SO21 2JN, UK

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.051 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site