From yanefbsd@gmail.com  Tue Jun 10 01:46:50 2008
Return-Path: <yanefbsd@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D90C5106567D
	for <bug-followup@freebsd.org>; Tue, 10 Jun 2008 01:46:50 +0000 (UTC)
	(envelope-from yanefbsd@gmail.com)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157])
	by mx1.freebsd.org (Postfix) with ESMTP id 57FE08FC17
	for <bug-followup@freebsd.org>; Tue, 10 Jun 2008 01:46:49 +0000 (UTC)
	(envelope-from yanefbsd@gmail.com)
Received: by fg-out-1718.google.com with SMTP id l26so1994105fgb.35
        for <bug-followup@freebsd.org>; Mon, 09 Jun 2008 18:46:49 -0700 (PDT)
Received: by 10.86.54.3 with SMTP id c3mr5029947fga.55.1213062409089;
        Mon, 09 Jun 2008 18:46:49 -0700 (PDT)
Received: by 10.86.26.8 with HTTP; Mon, 9 Jun 2008 18:46:49 -0700 (PDT)
Message-Id: <7d6fde3d0806091846n6aebb104t3989ee787c46874e@mail.gmail.com>
Date: Mon, 9 Jun 2008 18:46:49 -0700
From: "Garrett Cooper" <yanefbsd@gmail.com>
To: bug-followup@freebsd.org
In-Reply-To: <7d6fde3d0806091846y7b14de36m865a6e618e46b46a@mail.gmail.com>
Subject: Fwd: Bug by design in getfsfile(3) / needed sanity check for mountpoints
References: <7d6fde3d0806090134u1c46c9f3gbeed3fb303876338@mail.gmail.com>
	 <87ej766rfu.fsf@kobe.laptop> <87abhu6rdn.fsf@kobe.laptop>
	 <7d6fde3d0806091846y7b14de36m865a6e618e46b46a@mail.gmail.com>

>Number:         124433
>Category:       bin
>Synopsis:       Fwd: Bug by design in getfsfile(3) / needed sanity check for mountpoints
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 01:50:02 UTC 2008
>Closed-Date:    Tue Jun 10 09:12:51 UTC 2008
>Last-Modified:  Tue Jun 10 09:12:51 UTC 2008
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 On Mon, Jun 9, 2008 at 5:55 PM, Giorgos Keramidas
 <keramida@ceid.upatras.gr> wrote:
 > On Tue, 10 Jun 2008 03:53:41 +0300, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
 >> On Mon, 9 Jun 2008 01:34:19 -0700, "Garrett Cooper" <yanefbsd@gmail.com> wrote:
 >>> Hi hackers,
 >>>       I have a question, pending a bug found in getfsfile(3) [1].
 >>>       Is there any possibility where a mountpoint be any value other
 >>> than a directory, a symlink, or "none", i.e. a flat file?
 >>> Thanks,
 >>> -Garrett
 >>>
 >>> References:
 >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/124409 (not fully in PR
 >>> database yet).
 >>
 >> It looks like could be 'fixed' by using realpath() on its argument.
 >> Then this should work fine:
 >>
 >>     # fsck /usr/
 >
 > I meant to write "It looks like getfsfile() could be 'fixed'...", but
 > the keyboard daemon ate a word there.
 
 Right. I'm just awaiting a quorum decision on hackers@ because I don't
 want to break existing functionality over what I think is correct.
 -Garrett
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Tue Jun 10 09:12:14 UTC 2008 
State-Changed-Why:  
Misfiled followup to bin/124409, content migrated 


Responsible-Changed-From-To: gnats-admin->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Tue Jun 10 09:12:14 UTC 2008 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=124433 
>Unformatted:
