lkml.org 
[lkml]   [2000]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug: mount on an open directory succeeds


On Mon, 6 Mar 2000 almesber@lrc.di.epfl.ch wrote:

> yields different st1 and st2 (2), and quite clearly a violation of
> POSIX if
>
> stat("bar",&st1);
> stat("./bar",&st2);
>
> yields different st1 and st2 in any case (2). "." is _meant_ to be
> a no-op.
>
> (1) "questionable", because POSIX explicitly excludes the mount
> operation, so by using mount(), this example is outside the
> scope of the standard.

The whole situation is outside (both cases) because you can't
get the object in question without mount()...


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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