Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!cec2!news From: wei@wucs1.wustl.edu (Wei Chen) Newsgroups: comp.sys.next Subject: messing around with kernel Message-ID: <1991Mar28.235205.4643@cec1.wustl.edu> Date: 28 Mar 91 23:52:05 GMT References: <13030@ur-cc.UUCP> Organization: Washington University, St. Louis MO Lines: 12 I am trying to write a kernel loadable server, in whcih I need to call vm_allocate(target_task, address, size, anywhere) If the program runs as a user process, I can use task_self() without problem. But when I use task_self() in the server and try to load it to the kernel with kl_util, I get an error message saying that the symbol _task_self is not found. Is there anyone on the net who knows why? And suggestions are welcome. Thanks in advance.