New directory. Contains some kernel code to implement a new system call
1998-06-13 Martin Baulig <martin@home-of-linux.org> * kernel: New directory. Contains some kernel code to implement a new system call table () to fetch information directly from the Linux kernel. * sysdeps/kernel: New directory. Uses the table () function from the `kernel' directory to fetch things directly from the Linux kernel. * sysdeps/Makefile.am (DIST_SUBDIRS): Added `kernel'. * configure.in: Removed `build_CC' again.
This commit is contained in:
committed by
Martin Baulig
parent
c60d1d5449
commit
9661c4becc
@@ -33,6 +33,14 @@
|
||||
#define PROFILE_COUNT 1
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/table.h>
|
||||
|
||||
#include <syscall.h>
|
||||
|
||||
_syscall3 (int, table, int, type, union table *, tbl, const void *, param);
|
||||
|
||||
int
|
||||
main (int argc, char *argv [])
|
||||
{
|
||||
|
Reference in New Issue
Block a user