|
Message-ID: <20140905185254.GA24471@euler> Date: Fri, 5 Sep 2014 20:52:55 +0200 From: Felix Janda <felix.janda@...teo.de> To: musl@...ts.openwall.com Subject: Re: Add login_tty Rich Felker wrote: > On Fri, Sep 05, 2014 at 07:23:52PM +0200, Felix Janda wrote: [..] > > The other possibility for dup2 to fail seems to be EINTR. > > (We already know that fd can't be invalid.) > > Should this also be checked? > > Why would EINTR happen? dup2 does not involve any sleep much less > interruptible sleep/blocking. You're right. Only EBUSY, EBADF or EINVAL can happen. Felix
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.