mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
62d6ce3af2
commit
325e13dd19
1 changed files with 2 additions and 1 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Reference in a new issue