Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 13:59:36 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Rohit Jalan <rohitj@purpe.com>
Cc:        current@freebsd.org
Subject:   Re: Kern_symlink(...) is not setting vattr.va_type
Message-ID:  <20060227135936.GA39098@walton.maths.tcd.ie>
In-Reply-To: <20060227105753.GA6726@desk01.n2.purpe.com>

index | next in thread | previous in thread | raw e-mail

On Mon, Feb 27, 2006 at 04:27:53PM +0530, Rohit Jalan wrote:
> I've reproduced the following from vfs_syscalls.c,v 1.399.  
> Vattr.va_type is set only if MAC is defined, should not it
> be set always? Or is setting the same a responsibility of 
> VOP_SYMLINK()?

I think VOP_SYMLINK does the work for us. If you check back
through the file's history, this line was added in revision
1.295 when the MAC framework was introduced.

	David.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060227135936.GA39098>