Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 05:50:21 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 14684 for review
Message-ID:  <200207221250.g6MCoLDw002802@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14684

Change 14684 by rwatson@rwatson_paprika on 2002/07/22 05:49:25

	Pass down VAPPEND flag in fhopen(), that VAPPEND change to
	vn_open() wasn't copied to here.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/vfs_syscalls.c#60 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/vfs_syscalls.c#60 (text+ko) ====

@@ -4471,6 +4471,8 @@
 	}
 	if (fmode & FREAD)
 		mode |= VREAD;
+	if (fmode & O_APPEND)
+		mode |= VAPPEND;
 #ifdef MAC
 	error = mac_cred_check_open_vnode(td->td_ucred, vp, mode);
 	if (error)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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