home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!roundup.crhc.uiuc.edu!news
- From: ttsai@haydn.crhc.uiuc.edu (Timothy Tsai)
- Newsgroups: comp.unix.questions
- Subject: Calling kernel routines?
- Date: 27 Jul 1992 10:20:24 -0500
- Organization: Center for Reliable and High-Performance Computing, University of Illinois at Urbana-Champaign
- Lines: 14
- Message-ID: <l7851oINN7al@haydn.crhc.uiuc.edu>
- NNTP-Posting-Host: haydn.crhc.uiuc.edu
-
- I am using the NonStop-UX OS on a Tandem Integrity S2. I would like to be able
- to call a specific routine in the kernel for which there is no system call. I
- have superuser privileges and also the kernel source code.
-
- I found the address of the kernel routine I want to access. Then I wrote a
- C program, in which I assigned the kernel routine address to a function
- pointer. When I tried to call the function, I got a "Bus error." Is the
- kernel space I'm trying to access protected against calls of this nature? If
- so, how can I get around this restriction?
-
- Any help or ideas would be appreciated.
- Please send email to ttsai@uiuc.edu
-
- Timothy Tsai
-