Messages in this thread | | | Date | Tue, 4 May 1999 15:15:11 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: FD_CLFORK or equivalent? |
| |
On Tue, 4 May 1999, Sam Roberts wrote:
> > Hi, > > This is a question about implementing a module access policy > where only the process that opened a device can have a copy > of that fd, i.e. I want the fd closed on fork(). > switch(fork()) { case 0: /* Child */ (void)close(fd);
In Unix, we close what we want, when we want.
Cheers, Dick Johnson ***** FILE SYSTEM WAS MODIFIED ***** Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips). Warning : It's hard to remain at the trailing edge of technology.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |