[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: io_close proposal
From: |
Roland McGrath |
Subject: |
Re: io_close proposal |
Date: |
Wed, 15 May 2002 23:55:55 -0400 (EDT) |
> Second worry. Programs calling exit shouldn't have to wait for
> possibly malicious servers to respond to io_close. But the same
> synchronization issues happen for close-on-exit. This is more
> serious, and I'd like to hear some thinking about it before we make
> this (rather significant) interface change.
This is arguably a concern for close as well as exit.
(e.g. a setuid program that closes its excess inherited file descriptors.)
The POSIX.1 synchronization requirements can only be in fact be fs actions
vs reap, not vs exit per se. I don't know that this is useful, but just an
observation. (i.e. some weird proc server interaction with the cleanup of
the dead task could be possible, though I haven't though of any such thing
that would be sane.)
- io_close proposal, Marcus Brinkmann, 2002/05/15
- Re: io_close proposal, Roland McGrath, 2002/05/15
- Re: io_close proposal,
Roland McGrath <=
- Re: io_close proposal, Marcus Brinkmann, 2002/05/16
- Re: io_close proposal, Thomas Bushnell, BSG, 2002/05/16
- Re: io_close proposal, Marcus Brinkmann, 2002/05/16
- Re: io_close proposal, Thomas Bushnell, BSG, 2002/05/19
- Re: io_close proposal, Marcus Brinkmann, 2002/05/19
- Re: io_close proposal, Thomas Bushnell, BSG, 2002/05/19
Re: io_close proposal, Roland McGrath, 2002/05/16