home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9448 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.1 KB

  1. 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
  2. From: ttsai@haydn.crhc.uiuc.edu (Timothy Tsai)
  3. Newsgroups: comp.unix.questions
  4. Subject: Calling kernel routines?
  5. Date: 27 Jul 1992 10:20:24 -0500
  6. Organization: Center for Reliable and High-Performance Computing, University of Illinois at Urbana-Champaign
  7. Lines: 14
  8. Message-ID: <l7851oINN7al@haydn.crhc.uiuc.edu>
  9. NNTP-Posting-Host: haydn.crhc.uiuc.edu
  10.  
  11. I am using the NonStop-UX OS on a Tandem Integrity S2.  I would like to be able
  12. to call a specific routine in the kernel for which there is no system call.  I
  13. have superuser privileges and also the kernel source code.
  14.  
  15. I found the address of the kernel routine I want to access.  Then I wrote a
  16. C program, in which I assigned the kernel routine address to a function
  17. pointer.  When I tried to call the function, I got a "Bus error."  Is the
  18. kernel space I'm trying to access protected against calls of this nature?  If
  19. so, how can I get around this restriction?
  20.  
  21. Any help or ideas would be appreciated.  
  22. Please send email to ttsai@uiuc.edu
  23.  
  24. Timothy Tsai
  25.