Skip site navigation (1)Skip section navigation (2)
Date:      07 Jan 1999 11:50:53 +0100
From:      Assar Westerlund <assar@sics.se>
To:        current@FreeBSD.ORG
Subject:   Re: KLD modules support for loading syscalls
Message-ID:  <5l67aj8igh.fsf@assaris.sics.se>
In-Reply-To: Sean Eric Fagan's message of "Wed, 6 Jan 1999 21:47:50 -0800 (PST)"
References:  <199901070547.VAA11410@kithrup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Eric Fagan <sef@kithrup.com> writes:
> In article <5lsodneizm.fsf.kithrup.freebsd.current@assaris2.pdc.kth.se> you write:
> >Questions, comments, bugs, and commits are welcome.
>
> Yeah.  Did you give any thought how ktrace and truss are supposed to
> work with this? :)

No.  But that doesn't have very much to do with how you add the system
calls, only that they aren't in syscalls.master, right?

Right now, it seems you get something like:

syscall lkmnosys(0x14,0x0,0x800c5603,0xefbfd6cc,0x0)
        errno 22 'Invalid argument'

which isn't that bad, even through the name and number would be
better.  Should we add a sysctl (or something else) interface for
getting the syscall names?  Moving the name into `struct sysent' seems
to me like it would make sense anyway.

/assar

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5l67aj8igh.fsf>