[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] opening files with O_NONBLOCK causes problems
From: |
Kamil Dudka |
Subject: |
Re: [Bug-tar] opening files with O_NONBLOCK causes problems |
Date: |
Thu, 5 Jan 2012 23:59:13 +0100 |
User-agent: |
KMail/1.9.10 |
On Thursday 05 January 2012 23:30:26 Paul Eggert wrote:
> On 01/04/12 07:20, Vitezslav Cizek wrote:
> > Opening an
> > offline file with O_NONBLOCK and issuing a read(2) tells DMF (HSM
> > software) to initiate recall of the file, but the O_NONBLOCK tells DMF to
> > not block the process
>
> Thanks for reporting the problem. GNU tar uses O_NONBLOCK for security
> reasons, to avoid problems when attackers substitute special files for
> regular ones just before tar opens them.
Is there a known attack on tar that the use of O_NONBLOCK can prevent?
Otherwise, there is no excuse to introduce an unspecified behavior IMO.
Kamil
- [Bug-tar] opening files with O_NONBLOCK causes problems, Vitezslav Cizek, 2012/01/05
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Paul Eggert, 2012/01/05
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems,
Kamil Dudka <=
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Paul Eggert, 2012/01/05
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Joerg Schilling, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Eric Blake, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Joerg Schilling, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Eric Blake, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Joerg Schilling, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Ron Kerry, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Eric Blake, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Kevin Fox, 2012/01/06
- Re: [Bug-tar] opening files with O_NONBLOCK causes problems, Ron Kerry, 2012/01/06