| plan 9 kernel history: overview | file list | diff list |
1991/1109/port/dev.c (diff list | history)
| 1991/0626/sys/src/9/port/dev.c:24,30 – 1991/1109/sys/src/9/port/dev.c:24,30 (short | long | prev | next) | ||
|
Add user to devdir parameters.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1990/0227 | } void | |
| 1990/11211 |
| |
| 1991/1109 | devdir(Chan *c, Qid qid, char *n, long length, char *user, long perm, Dir *db) | |
| 1990/0227 | { strcpy(db->name, n); db->qid = qid; | |
| 1991/0626/sys/src/9/port/dev.c:48,54 – 1991/1109/sys/src/9/port/dev.c:48,54 | ||
| 1990/0227 | if(tab==0 || i>=ntab) return -1; tab += i; | |
| 1991/1109 | devdir(c, tab->qid, tab->name, tab->length, eve, tab->perm, dp); | |
| 1990/0227 | return 1; } | |
| 1991/0626/sys/src/9/port/dev.c:123,129 – 1991/1109/sys/src/9/port/dev.c:123,129 | ||
| 1990/0227 | * here, which is good because we've lost the name by now. */ | |
| 1990/11211 | if(c->qid.path & CHDIR){ | |
| 1990/0227 |
| |
| 1991/1109 | devdir(c, c->qid, ".", 0L, eve, CHDIR|0700, &dir); | |
| 1990/0227 | convD2M(&dir, db); return; } | |