Re: Kern_symlink(...) is not setting vattr.va_type

From: David Malone <dwmalone_at_maths.tcd.ie>
Date: Mon, 27 Feb 2006 13:59:36 +0000
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.
Received on Mon Feb 27 2006 - 12:59:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC