Fun with the XENIX kernel

pgd at bbt.se pgd at bbt.se
Mon Jan 28 18:10:14 AEST 1991


In article <19002 at rpp386.cactus.org> jfh at 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.



More information about the Comp.unix.xenix.sco mailing list