[TUHS] user struct on SYSIII / V7

Oliver Lehmann lehmann at ans-netz.de
Sat Nov 14 04:48:35 AEST 2015


Hi,

does someone know where "u" is defined on SYSIII or V7?

sys/user.h states:

extern struct user u;

But I wonder where it is defined? On ZEUS I have u.o but I'm
not able to correctly disassemble it. Right now I'm guessing
that it should be something like:

u module
$segmented
$abs %F600

   global

_u array [%572 byte]

end u

But the resulting object (u.o.hd) does not match 100% the existing
u.o on the system (u.o.orig.hd).

--- u.o.orig.hd 2008-05-16 21:52:12.000000000 +0200
+++ u.o.hd      2008-05-16 21:52:16.000000000 +0200
@@ -3,6 +3,6 @@
  00000020  00 00 00 01 00 00 00 00  01 00 00 00 00 00 00 00   
|................|
  00000030  00 00 00 02 00 00 00 00  00 00 00 00 1e 00 75 5f   
|..............u_|
  00000040  70 00 00 00 00 00 01 00  00 00 1e 01 75 5f 64 00   
|p...........u_d.|
-00000050  00 00 00 00 3e 00 f6 00  61 3e 5f 75 00 00 00 00  |....>..a>_u....|
+00000050  00 00 00 00 01 00 f6 00  61 01 5f 75 00 00 00 00  |.......a._u....|
  00000060  00 00                                             |..|
  00000062



More information about the TUHS mailing list