| plan 9 kernel history: overview | file list | diff list |
1990/08141/port/chan.c (diff list | history)
| 1990/0707/sys/src/9/port/chan.c:447,453 – 1990/08141/sys/src/9/port/chan.c:447,453 (short | long | prev | next) | ||
| 1990/0227 | mntok = 0; if(!((ulong)name & KZERO)) validaddr((ulong)(name+1), 2, 0); | |
| 1990/08141 | if(name[1]=='|' || name[1]=='M') | |
| 1990/0227 | error(0, Enonexist); t = devno(name[1], 1); if(t == -1) | |
| 1990/0707/sys/src/9/port/chan.c:511,516 – 1990/08141/sys/src/9/port/chan.c:511,518 | ||
| 1990/0227 | c = nc; Open: c = (*devtab[c->type].open)(c, omode); | |
| 1990/08141 | if(omode & OCEXEC) c->flag |= CCEXEC; | |
| 1990/0227 | break; case Amount: | |
| 1990/0707/sys/src/9/port/chan.c:533,538 – 1990/08141/sys/src/9/port/chan.c:535,542 | ||
| 1990/0227 | if((c->flag&(CMOUNT|CCREATE)) == CMOUNT) c = createdir(c); (*devtab[c->type].create)(c, elem, omode, perm); | |
| 1990/08141 | if(omode & OCEXEC) c->flag |= CCEXEC; | |
| 1990/0227 | break; default: | |