Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 12:11:39 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8400 for review
Message-ID:  <200203252011.g2PKBd795278@freefall.freebsd.org>

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

Change 8400 by jhb@jhb_laptop on 2002/03/25 12:11:38

	More new suser()'s.

Affected files ...

... //depot/projects/smpng/sys/dev/an/if_an.c#16 edit

Differences ...

==== //depot/projects/smpng/sys/dev/an/if_an.c#16 (text+ko) ====

@@ -1362,7 +1362,7 @@
 		an_setdef(sc, &sc->areq);
 		break;
 	case SIOCGPRIVATE_0:              /* used by Cisco client utility */
-		if ((error = suser(p)))
+		if ((error = suser(td, 0)))
 			goto out;
 		copyin(ifr->ifr_data, &l_ioctl, sizeof(l_ioctl));
 		mode = l_ioctl.command;
@@ -1382,7 +1382,7 @@
 
 		break;
 	case SIOCGPRIVATE_1:              /* used by Cisco client utility */
-		if ((error = suser(p)))
+		if ((error = suser(td, 0)))
 			goto out;
 		copyin(ifr->ifr_data, &l_ioctl, sizeof(l_ioctl));
 		l_ioctl.command = 0;

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?200203252011.g2PKBd795278>