Date: Mon, 1 Apr 2002 07:49:39 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 8774 for review Message-ID: <200204011549.g31Fnd870852@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8774 Change 8774 by jhb@jhb_laptop on 2002/04/01 07:48:40 Axe flag from suser(). *sigh* Affected files ... ... //depot/projects/smpng/sys/kern/kern_prot.c#50 edit ... //depot/projects/smpng/sys/sys/systm.h#26 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_prot.c#50 (text+ko) ==== @@ -1289,12 +1289,12 @@ * caller, promoting binary compatibility. */ int -suser(td, flag) +suser(td) struct thread *td; int flag; { - return (suser_cred(td->td_ucred, flag)); + return (suser_cred(td->td_ucred, 0)); } /* ==== //depot/projects/smpng/sys/sys/systm.h#26 (text+ko) ==== @@ -195,7 +195,7 @@ /* flags for suser() and suser_cred() */ #define PRISON_ROOT 1 -int suser(struct thread *td, int flag); +int suser(struct thread *td); int suser_cred(struct ucred *cred, int flag); int cr_cansee(struct ucred *u1, struct ucred *u2); int cr_canseesocket(struct ucred *cred, struct socket *so); 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?200204011549.g31Fnd870852>