Author: pjd
Date: Sun May 19 23:30:24 2013
New Revision: 250818
URL: http://svnweb.freebsd.org/changeset/base/250818

Log:
  Style nits.

Modified:
  head/sys/kern/kern_priv.c

Modified: head/sys/kern/kern_priv.c
==============================================================================
--- head/sys/kern/kern_priv.c   Sun May 19 23:29:22 2013        (r250817)
+++ head/sys/kern/kern_priv.c   Sun May 19 23:30:24 2013        (r250818)
@@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
  * uid 0 is offered no special privilege in the kernel security policy.
  * Setting it to zero may seriously impact the functionality of many existing
  * userland programs, and should not be done without careful consideration of
- * the consequences. 
+ * the consequences.
  */
 static int     suser_enabled = 1;
 SYSCTL_INT(_security_bsd, OID_AUTO, suser_enabled, CTLFLAG_RW,
@@ -104,10 +104,10 @@ priv_check_cred(struct ucred *cred, int 
                 * mlockall(2)/munlockall(2).
                 */
                switch (priv) {
-                       case PRIV_VM_MLOCK:
-                       case PRIV_VM_MUNLOCK:
-                               error = 0;
-                               goto out;
+               case PRIV_VM_MLOCK:
+               case PRIV_VM_MUNLOCK:
+                       error = 0;
+                       goto out;
                }
        }
 
@@ -132,7 +132,6 @@ priv_check_cred(struct ucred *cred, int 
                                goto out;
                        }
                        break;
-
                default:
                        if (cred->cr_uid == 0) {
                                error = 0;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to