lkml.org 
[lkml]   [2001]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Desperately missing a working "pselect()" or similar...
Christopher Friesen wrote:

> > I'm currently looking for a decent method to wait on either
> > an I/O event _or_ a signal coming from another process.
>
> > - Unix domain sockets would be awkward to use due to the fact
> > I'd need to come up with some "filenames" for them to bind to,
> > and both security considerations and the danger of "leaking"
> > files that remain on disk forever make me shudder...
>
> If you use a named socket in the abstract namespace, then it can't "leak" to
> disk....

Ok, but man 7 unix says:

SCM_CREDENTIALS and the abstract namespace were introduced with
Linux 2.2 and should not be used in portable programs

... and I really do want to write portable programs...

Regards,

Lutz Vieweg

--
Dipl. Phys. Lutz Vieweg | email: lkv@isg.de
Innovative Software AG | Phone/Fax: +49-69-505030 -120/-505
Feuerbachstrasse 26-32 | http://www.isg.de/people/lkv/
60325 Frankfurt am Main | ^^^ PGP key available here ^^^
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:04    [W:0.313 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site