Xref: utzoo comp.unix.internals:2519 comp.unix.misc:1286 comp.unix.wizards:24785 comp.unix.programmer:1546 comp.unix.questions:30268 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!newstop!male!sunicnc.France.Sun.COM!obourdon From: obourdon@sunicnc.France.Sun.COM (Olivier Bourdon - Sun ICNC) Newsgroups: comp.unix.internals,comp.unix.misc,comp.unix.wizards,comp.unix.programmer,comp.unix.questions Subject: Kernel variables access Keywords: kernel Message-ID: <1991Apr11.113136@sunicnc.France.Sun.COM> Date: 11 Apr 91 09:31:36 GMT Sender: news@male.EBay.Sun.COM Reply-To: obourdon@sunicnc.France.Sun.COM Followup-To: comp.unix.internals Organization: Sun Mircosystems Lines: 21 I would like to access some kernel variables like struct user *uunix and struct seguser ubasic but when I call uunix = KUSER(&ubasic) the returned value is empty. The program that should use this stuff is a general user program that is intended to work under a shell and not in the kernel ... Thanks for any help -- +-----------------------------------------+-----------------------------------+ |Olivier BOURDON | Address : SUN MICROSYSTEMS | |E-Mail : obourdon@sunicnc.France.Sun.COM | International Center for| |Tel : +33 76 41 42 19 | Network Computing | |Fax : +33 76 41 42 41 | 32 av du Vieux Chene | | | 38 240 Meylan Zirst | | | FRANCE | +-----------------------------------------+-----------------------------------+