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:
Martin Baulig
1998-06-13 21:26:49 +00:00
committed by Martin Baulig
parent c60d1d5449
commit 9661c4becc
4 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +1,17 @@
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.
1998-06-12 Martin Baulig <baulig@taurus.uni-trier.de>
* include/glibtop/sysdeps.h (glibtop_types_sysdeps):

View File

@@ -8,23 +8,12 @@ AC_CANONICAL_SYSTEM
AM_ACLOCAL_INCLUDE(macros)
dnl This is necessary for cross-compiling for programs
dnl that need to run on the build host.
AC_CHECK_PROG(build_CC, gcc, gcc)
if test -z "$build_CC" ; then
AC_CHECK_PROG(build_CC, cc, cc, , , /usr/ucb/cc)
test -z "$build_CC" && \
AC_MSG_ERROR([no acceptable cc found in \$PATH])
fi
AC_CHECK_TOOL(CC,gcc)
AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
AC_ARG_PROGRAM
AC_CHECK_TOOL(CC,gcc)
AC_CHECK_TOOL(RANLIB,ranlib)
AC_CHECK_TOOL(AS,as)
AC_CHECK_TOOL(AR,ar)
@@ -226,6 +215,7 @@ sysdeps/stub/Makefile
sysdeps/sun4/Makefile
sysdeps/osf1/Makefile
sysdeps/linux/Makefile
sysdeps/kernel/Makefile
src/Makefile
src/server/Makefile
src/proxy/Makefile

View File

@@ -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 [])
{

View File

@@ -12,4 +12,4 @@ endif
SUBDIRS = @sysdeps_dir@ common $(names_SUBDIRS) $(guile_SUBDIRS)
DIST_SUBDIRS = common guile linux names osf1 stub sun4
DIST_SUBDIRS = common guile linux kernel names osf1 stub sun4