revoke()?

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Tue, 6 Jan 1998 02:26:15 +0000 (GMT)


Hi,

Out of curiosity, should I start bothering people again with my revoke
patch? If so, what do people think about the following:

BSD revoke takes only a pathname. This is both dull and inflexible.
Let's have some more arguments!

Something like:

int revoke(char * path, unsigned who, unsigned what);

with who and what being bitfields. who is REVOKE_WHO_ME,
REVOKE_WHO_NOTME or both. what is REVOKE_WHAT_FD, REVOKE_WHAT_MMAPS,
REVOKE_TYPE_DEVICE, REVOKE_TYPE_FILE, etc...

Matthew.

PS. Is there any reason why I shouldn't hack /proc/PID/fd to show symlinks
to "IP:port", or whatever? (Except for the fact that it would be ugly
with my setup for ls --color :-)

--
Matthew Kirkwood  |  Mail:  matthew.kirkwood@lmh.ox.ac.uk
LMH JCR,          |  Web:   http://www-jcr.lmh.ox.ac.uk/~weejock/
Oxford OX2 6QA,   |  
England.          |  "To do things badly is a basic human right"