Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!compuram!pgd From: pgd@bbt.se Newsgroups: comp.unix.xenix.sco Subject: Re: Fun with the XENIX kernel Message-ID: <1991Jan28.071014.4081@bbt.se> Date: 28 Jan 91 07:10:14 GMT References: <396@bria> <19002@rpp386.cactus.org> Organization: . Lines: 16 In article <19002@rpp386.cactus.org> jfh@rpp386.cactus.org (John F Haugh II) writes: >The value of _node is initialized when the kernel is built. The >copy from _node to _utsname is probably made when the system is first >booted. It is initialized from node[] as the first thing in the Xenix kernel main() procedure, and also (one more time?) in the gdcsb() procedure. You can also change the node name with the sysi86() system call, function SETNAME. > Note that there are two different "utsname"s. One is "utsname" >and the other is "uts3name". utsname[] is returned from the uname() system call for sysV executables, uts3name[] for sysIII executables.