diff options
author | peter <peter@FreeBSD.org> | 1998-11-11 12:45:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-11-11 12:45:14 +0000 |
commit | 4f405b6ef1f4a2fb8c1cedd69cc4bb01799464aa (patch) | |
tree | 826b768a2c9d58e08a487d5e4c1526e745975de9 /sys/kern/syscalls.master | |
parent | d869e3568091433f9d3beb11c9f29c4fdd08f39a (diff) | |
download | FreeBSD-src-4f405b6ef1f4a2fb8c1cedd69cc4bb01799464aa.zip FreeBSD-src-4f405b6ef1f4a2fb8c1cedd69cc4bb01799464aa.tar.gz |
A kldsym(2) syscall prototype for extracting information from the in-kernel
linker. This is intended to replace kvm_mkdb etc. The first version
only does name->value lookups, but it's open ended. value->name lookups
would probably be a good thing to do too.
It's been suggested to try and connect the symbol tables to sysctl (which
is probably a more flexible way of doing it if it's done right), but that
is far more complex and difficult than I was ready to have a shot at.
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r-- | sys/kern/syscalls.master | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index c8d62cc..6772363 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.53 1998/08/24 08:29:52 dfr Exp $ + $Id: syscalls.master,v 1.54 1998/11/05 14:28:24 dg Exp $ ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; ; System call name/number master file. @@ -470,3 +470,4 @@ 335 STD BSD { int utrace(caddr_t addr, size_t len); } 336 STD BSD { int sendfile(int fd, int s, off_t offset, size_t nbytes, \ struct sf_hdtr *hdtr, off_t *sbytes, int flags); } +337 STD BSD { int kldsym(int fileid, int cmd, void *data); } |