Re: [PATCH v3] redir: Handle nested exec within REALLY_CLOSED redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Op 16-01-19 om 14:32 schreef Herbert Xu:
> Thanks for the patch.  I took a deeper look into the history of
> the bug and it turned out that I added REALLY_CLOSED as an
> optimisation in order to avoid an unnecessary close(2) syscall.

Does this actually save cycles? I'm probably missing something, but that
code looks to me like it probably uses more cycles than close(2) going
'descriptor not open, return'.

- Martijn



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux