I've had a piece of kernel mode code that I've used for some years to set
account name (to "Dialup") for the accounting log.
This is the core of it:
movzbl (r7)+, r6
; jib$t_account ascii
movc5 r6, (r7), #^a" ", #jib$s_account, jib$t_account(r5)
; ctl$t_account ascii
movc5 r6, (r7), #^a" ", #ctl_acclen, g^ctl$t_account
1$: movl #1, r0
ret
It's worked fine on both VAX & Alpha for many years.
Now (new machine, VMS 7.3) it fills in the JIB, but ctl$t_account is
unchanged at image exit !!
And no, it doesn't crash either - I'd have noticed.
I tried relinking it, to no avail.
Any suggestions ?? Is it something to do with $persona services ?
Is there another field I need to fill in, or should I use the persona stuff
for a permanent (until logout) change ?
Thanks,
Chris