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
14
ChangeLog
14
ChangeLog
@@ -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>
|
1998-06-12 Martin Baulig <baulig@taurus.uni-trier.de>
|
||||||
|
|
||||||
* include/glibtop/sysdeps.h (glibtop_types_sysdeps):
|
* include/glibtop/sysdeps.h (glibtop_types_sysdeps):
|
||||||
|
14
configure.in
14
configure.in
@@ -8,23 +8,12 @@ AC_CANONICAL_SYSTEM
|
|||||||
|
|
||||||
AM_ACLOCAL_INCLUDE(macros)
|
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_ISC_POSIX
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_STDC_HEADERS
|
AC_STDC_HEADERS
|
||||||
AC_ARG_PROGRAM
|
AC_ARG_PROGRAM
|
||||||
|
|
||||||
|
AC_CHECK_TOOL(CC,gcc)
|
||||||
AC_CHECK_TOOL(RANLIB,ranlib)
|
AC_CHECK_TOOL(RANLIB,ranlib)
|
||||||
AC_CHECK_TOOL(AS,as)
|
AC_CHECK_TOOL(AS,as)
|
||||||
AC_CHECK_TOOL(AR,ar)
|
AC_CHECK_TOOL(AR,ar)
|
||||||
@@ -226,6 +215,7 @@ sysdeps/stub/Makefile
|
|||||||
sysdeps/sun4/Makefile
|
sysdeps/sun4/Makefile
|
||||||
sysdeps/osf1/Makefile
|
sysdeps/osf1/Makefile
|
||||||
sysdeps/linux/Makefile
|
sysdeps/linux/Makefile
|
||||||
|
sysdeps/kernel/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/server/Makefile
|
src/server/Makefile
|
||||||
src/proxy/Makefile
|
src/proxy/Makefile
|
||||||
|
@@ -33,6 +33,14 @@
|
|||||||
#define PROFILE_COUNT 1
|
#define PROFILE_COUNT 1
|
||||||
#endif
|
#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
|
int
|
||||||
main (int argc, char *argv [])
|
main (int argc, char *argv [])
|
||||||
{
|
{
|
||||||
|
@@ -12,4 +12,4 @@ endif
|
|||||||
|
|
||||||
SUBDIRS = @sysdeps_dir@ common $(names_SUBDIRS) $(guile_SUBDIRS)
|
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
|
||||||
|
Reference in New Issue
Block a user