Excellent stuff Tim. I've had a quick look; I
suspect the existing code:
cmp r5,u.count /
bgt 1f / branch if r5 greater than u.count
mov r5,u.count
checks to ensure that the new a.out is small emough to fit into the
address space left by the executable that called exec(2).
Right, but after it branches it goes ahead and reads anyway(!?)
Thats the part that confused me.. perhaps there's a line or two
missing somewhere in the code here?
Warren
Tim Newsham
http://www.thenewsh.com/~newsham/