Subject: Re: CRITICAL ** Holes in default cron jobs ** CRITICAL
To: Chris G Demetriou <Chris_G_Demetriou@auchentoshan.pdl.cs.cmu.edu>
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
List: tech-kern
Date: 12/31/1996 09:41:20
Another variant would be syscalls which took a (fd, name) pair instead
of just a name.
I'm not sure we need this in the absolute sense, as given fchdir, you
can simulate this in about 5 syscalls:
tmp=open(".");fchdir(fd);random-op(name);fchdir(tmp);close(tmp);
With this setup, you do have to worry about races vs signal
handlers/threads/etc.
- Bill