lkml.org 
[lkml]   [2000]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] towards a /proc-less user space
On Wed Mar 08, 2000 at 11:30:24PM +0000, Matthew Kirkwood wrote:
>
> > I don't know where you got your strace, but I suspect it is broken.
> > If it is indeed working, I would dearly love to see the interface
> > lsmod used to get the kernel module information.
>
> 'tis attached.
>
> I'm not disputing that it doesn't work for you, but it would
> make some sense to fix the existing interface if it's broken,
> rather than add new ones.
>
> Matthew.

> query_module(NULL, 0, NULL, 0) = 0

Ahha! So there is in fact already an interface! I just hadn't realized it was
hiding as a syscall (and linux/module.h header seems to neglect mentioning it).
Very cool. Wish I'd known about that before I wasted yesterday evening writing
devmodules. Oh well.

Ok, devmodules is now history. The rest of the patch
still stands (unless somebody can point out better way to
do the other stuff in there). Thx for your help,

-Erik

--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--

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

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