Subject: lib/285: Files can show up multiple times on union mounts
To: None <gnats-admin>
From: Thorsten Lockert <tholo@SigmaSoft.COM>
List: netbsd-bugs
Date: 06/10/1994 08:35:06
>Number: 285
>Category: lib
>Synopsis: Files can show up multiple times on union mounts
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (Library Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jun 10 08:35:03 1994
>Originator: Thorsten Lockert
>Organization:
SigmaSoft, Th. Lockert
>Release: current
>Environment:
System: NetBSD gandalf.bbb.no 0.9C GANDALF#6 i386
>Description:
With union mounts files can show up multiple times due to dirent
not checking for occurances in both the upper and lower directories
in a union mount
>How-To-Repeat:
Run any program using dirent to get a list of files on a union mount
>Fix:
Merge /sys/miscfs/union/libc.opendir.c into
/usr/src/lib/libc/gen/directory.c
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------