Date: Thu, 28 Mar 2002 08:04:14 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 8567 for review Message-ID: <200203281604.g2SG4Eu19291@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8567 Change 8567 by jhb@jhb_laptop on 2002/03/28 08:03:13 Fix more instances of suser_td(). Affected files ... ... //depot/projects/smpng/sys/kern/vfs_syscalls.c#29 edit Differences ... ==== //depot/projects/smpng/sys/kern/vfs_syscalls.c#29 (text+ko) ==== @@ -374,7 +374,7 @@ } if (usermount == 0) { - error = suser_td(td); + error = suser(td, 0); if (error) goto bad; } @@ -382,7 +382,7 @@ * Do not allow NFS export by non-root users. */ if (fsflags & MNT_EXPORTED) { - error = suser_td(td); + error = suser(td, 0); if (error) goto bad; } @@ -423,7 +423,7 @@ * permitted to update it. */ if (mp->mnt_stat.f_owner != td->td_proc->p_ucred->cr_uid) { - error = suser_td(td); + error = suser(td, 0); if (error) { vput(vp); goto bad; @@ -461,7 +461,7 @@ goto bad; } if (va.va_uid != td->td_proc->p_ucred->cr_uid) { - error = suser_td(td); + error = suser(td, 0); if (error) { vput(vp); goto bad; @@ -484,7 +484,7 @@ linker_file_t lf; /* Only load modules for root (very important!) */ - error = suser_td(td); + error = suser(td, 0); if (error) { vput(vp); goto bad; 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?200203281604.g2SG4Eu19291>