| plan 9 kernel history: overview | file list | diff list |
1995/02021/pc/trap.c (diff list | history)
| 1995/0202/sys/src/9/pc/trap.c:523,529 – 1995/02021/sys/src/9/pc/trap.c:523,529 (short | long | prev | next) | ||
| 1995/0202 | sp -= sizeof(Ureg); if(!okaddr((ulong)up->notify, 1, 0) | |
| 1995/02021 | || !okaddr(sp-ERRLEN-4*BY2WD, sizeof(Ureg)+ERRLEN+4*BY2WD, 1)){ | |
| 1995/0202 | pprint("suicide: bad address in notify\n"); qunlock(&up->debug); pexit("Suicide", 0); | |
| 1995/0202/sys/src/9/pc/trap.c:572,579 – 1995/02021/sys/src/9/pc/trap.c:572,578 | ||
| 1995/0202 | /* sanity clause */ oureg = (ulong)nur; | |
| 1995/02021 | if(!okaddr((ulong)oureg-BY2WD, BY2WD+sizeof(Ureg), 0)){ | |
| 1995/0202 | pprint("bad ureg in noted or call to noted() when not notified\n"); | |
| 1994/0513 | qunlock(&up->debug); | |
| 1995/0202 | pexit("Suicide", 0); | |