STATUS: 60%
0000 T _signal compatible
0052 T _psignal compatible
00b6 T _issig not compatible
0186 T _stop compatible
0216 T _psig compatible
02d4 T _fsig compatible
031e T _core not compatible
0512 T _grow not compatible
0640 T _ptrace not compatible
075c T _procxmt compatible
This commit is contained in:
parent
678e4dc80d
commit
fbecd39b7a
|
|
@ -107,6 +107,7 @@ issig()
|
|||
{
|
||||
register n;
|
||||
register struct proc *p, *q;
|
||||
int foo1;
|
||||
|
||||
p = u.u_procp;
|
||||
while(p->p_sig) {
|
||||
|
|
@ -250,7 +251,7 @@ core()
|
|||
u.u_base.l = (caddr_t)&u;
|
||||
u.u_count = ctob(USIZE);
|
||||
u.u_segflg = 1;
|
||||
u.u_limit = (daddr_t)ctod(Maxmem);
|
||||
u.u_limit = (daddr_t)ctod(umemory);
|
||||
writei(ip);
|
||||
u.u_segflg = 0;
|
||||
if(!u.u_segmented) {
|
||||
|
|
@ -297,7 +298,7 @@ int sp;
|
|||
this needs more work...
|
||||
*/
|
||||
|
||||
if(sp >= ctob(-(u.u_ssize-1)+0x100))
|
||||
if((unsigned)sp >= ctob(-(u.u_ssize-1)+0x100))
|
||||
return(0);
|
||||
|
||||
for(j=6;;) {
|
||||
|
|
@ -413,7 +414,7 @@ procxmt()
|
|||
/* read u */
|
||||
case 3:
|
||||
i = (int)ipc.ip_addr.right;
|
||||
if (i<0 || i >= ctob(USIZE))
|
||||
if (i<0 || (unsigned)i >= ctob(USIZE))
|
||||
goto error;
|
||||
ipc.ip_data = (long)((physadr)&u)->r[i>>1];
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue