Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 22:02:19 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79866 for review
Message-ID:  <200507092202.j69M2JD0097192@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79866

Change 79866 by rwatson@rwatson_zoo on 2005/07/09 22:01:19

	Style restoration.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sys/compat/svr4/svr4_misc.c#12 edit
.. //depot/projects/trustedbsd/sebsd/sys/compat/svr4/svr4_stat.c#6 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sys/compat/svr4/svr4_misc.c#12 (text+ko) ====

@@ -623,7 +623,7 @@
 	struct file	*fp;
 	int		 error;
 
-	if ((error = cap_check (td, CAP_SYS_CHROOT)) != 0)
+	if ((error = cap_check(td, CAP_SYS_CHROOT)) != 0)
 		return error;
 	if ((error = getvnode(fdp, uap->fd, &fp)) != 0)
 		return error;

==== //depot/projects/trustedbsd/sebsd/sys/compat/svr4/svr4_stat.c#6 (text+ko) ====

@@ -471,13 +471,13 @@
 		break;
 #if defined(WHY_DOES_AN_EMULATOR_WANT_TO_SET_HOSTNAMES)
 	case SVR4_SI_SET_HOSTNAME:
-		if ((error = cap_check (td, CAP_SYS_ADMIN)) != 0)
+		if ((error = cap_check(td, CAP_SYS_ADMIN)) != 0)
 			return error;
 		name = KERN_HOSTNAME;
 		return kern_sysctl(&name, 1, 0, 0, uap->buf, rlen, td);
 
 	case SVR4_SI_SET_SRPC_DOMAIN:
-		if ((error = cap_check (td, CAP_SYS_ADMIN)) != 0)
+		if ((error = cap_check(td, CAP_SYS_ADMIN)) != 0)
 			return error;
 		name = KERN_NISDOMAINNAME;
 		return kern_sysctl(&name, 1, 0, 0, uap->buf, rlen, td);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507092202.j69M2JD0097192>