[Unix-jun72] 0407 binaries on 1ed

Tim Newsham newsham at lava.net
Mon May 5 10:00:27 AEST 2008


> 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/



More information about the TUHS mailing list