From nobody@FreeBSD.org  Sun Dec  4 18:13:40 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4FEBA106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Dec 2011 18:13:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3F9618FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Dec 2011 18:13:35 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pB4IDYMO027087
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 4 Dec 2011 18:13:34 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pB4IDYPw027071;
	Sun, 4 Dec 2011 18:13:34 GMT
	(envelope-from nobody)
Message-Id: <201112041813.pB4IDYPw027071@red.freebsd.org>
Date: Sun, 4 Dec 2011 18:13:34 GMT
From: "dr. Gbor Surnyi" <otnaccess@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: UDF support for symbolic links with absolute path is broken
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163065
>Category:       kern
>Synopsis:       UDF support for symbolic links with absolute path is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 18:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     dr. Gbor Surnyi
>Release:        9.0-BETA3
>Organization:
>Environment:
FreeBSD livecd 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Tue Oct 25 19:37:20 ADT 2011
>Description:
Mounting a disc as UDF which contains symbolic links with absolute path does not work correctly.
For instance a link
mounttab -> /etc/mounttab
is seen as
mounttab -> /etcmounttab

>How-To-Repeat:
Download http://db.bme.hu/suranyi/UDF_abs_link.iso
Mount the image as UDF.
Do ls -l for the directory the image is mounted to.
You would see
lr--r--r--  1 root  wheel  25 Jan  1  1970 mounttab -> /etcmounttab
or similar.
However it should be
lr--r--r--  1 root  wheel  25 Jan  1  1970 mounttab -> /etc/mounttab
or similar.

>Fix:
Reference: http://svnweb.freebsd.org/base/head/sys/fs/udf/udf_vnops.c?revision=227293&view=markup

Revise the blocks starting at line 972.  

>Release-Note:
>Audit-Trail:
>Unformatted:
