Date: Thu, 28 Mar 2002 06:58:40 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 8563 for review Message-ID: <200203281458.g2SEwek03263@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8563 Change 8563 by jhb@jhb_laptop on 2002/03/28 06:58:04 Fix a suser_xxx() that snuck in with nmount(). Spotted by: rwatson Affected files ... ... //depot/projects/smpng/sys/kern/vfs_syscalls.c#28 edit Differences ... ==== //depot/projects/smpng/sys/kern/vfs_syscalls.c#28 (text+ko) ==== @@ -389,7 +389,7 @@ /* * Silently enforce MNT_NOSUID and MNT_NODEV for non-root users */ - if (suser_xxx(td->td_proc->p_ucred, 0, 0)) + if (suser(td, 0)) fsflags |= MNT_NOSUID | MNT_NODEV; /* * Get vnode to be covered 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?200203281458.g2SEwek03263>