public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: kyak <bas@bmail.ru>
To: Ricard Wanderlof <ricard.wanderlof@axis.com>
Cc: Linux mtd <linux-mtd@lists.infradead.org>
Subject: Re: output file cannot be in the UBIFS root directory check is not working quite well
Date: Mon, 8 Oct 2012 19:13:58 +0400 (MSK)	[thread overview]
Message-ID: <alpine.LNX.2.02.1210081900410.1375@bas> (raw)
In-Reply-To: <alpine.DEB.2.00.1210081650200.19047@lnxricardw.se.axis.com>

On Mon, 8 Oct 2012, Ricard Wanderlof wrote:

> Definitely. I see your point now. This must be a definite bug in in_path().
>
> One problem though is that when in_path() traverses the tree upwards, and 
> encounters a directory which it can't read it can't complete its job. On the 
> other hand, it shouldn't have to do that, it really only needs to see that 
> the output file is not below the top level of the input tree. Or am I missing 
> a case here?
>
Yes, it only needs to check if the output file is above the top level
of the input tree. But I guess it's not that easy - first things that come 
into my mind are symbolic links and mount --bind.

  reply	other threads:[~2012-10-08 15:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 19:30 output file cannot be in the UBIFS root directory check is not working quite well kyak
2012-10-05 15:57 ` kyak
2012-10-08 13:57   ` Ricard Wanderlof
2012-10-08 14:40     ` kyak
2012-10-08 14:53       ` Ricard Wanderlof
2012-10-08 15:13         ` kyak [this message]
2012-10-10 14:55           ` kyak
2012-10-11  6:01             ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.02.1210081900410.1375@bas \
    --to=bas@bmail.ru \
    --cc=linux-mtd@lists.infradead.org \
    --cc=ricard.wanderlof@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox