PERFORCE change 14684 for review

Robert Watson rwatson at freebsd.org
Mon Jul 22 12:50:21 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14684

Change 14684 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list