Re: Kern_symlink(...) is not setting vattr.va_type
- From: David Malone <dwmalone@xxxxxxxxxxxx>
- 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.
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- References:
- Kern_symlink(...) is not setting vattr.va_type
- From: Rohit Jalan
- Kern_symlink(...) is not setting vattr.va_type
- Prev by Date: [head tinderbox] failure on sparc64/sparc64
- Next by Date: Re: RFC: separate 3dfx_linux module
- Previous by thread: Kern_symlink(...) is not setting vattr.va_type
- Index(es):
Relevant Pages
|
|