Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/secmodel/securelevel Whitespace fixes.
details: https://anonhg.NetBSD.org/src/rev/f3e51d13efd0
branches: trunk
changeset: 771688:f3e51d13efd0
user: jym <jym%NetBSD.org@localhost>
date: Mon Nov 28 20:57:51 2011 +0000
description:
Whitespace fixes.
diffstat:
sys/secmodel/securelevel/secmodel_securelevel.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r c757c227ce70 -r f3e51d13efd0 sys/secmodel/securelevel/secmodel_securelevel.c
--- a/sys/secmodel/securelevel/secmodel_securelevel.c Mon Nov 28 20:19:25 2011 +0000
+++ b/sys/secmodel/securelevel/secmodel_securelevel.c Mon Nov 28 20:57:51 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: secmodel_securelevel.c,v 1.21 2011/11/23 10:47:48 tls Exp $ */
+/* $NetBSD: secmodel_securelevel.c,v 1.22 2011/11/28 20:57:51 jym Exp $ */
/*-
* Copyright (c) 2006 Elad Efrat <elad%NetBSD.org@localhost>
* All rights reserved.
@@ -28,14 +28,14 @@
/*
* This file contains kauth(9) listeners needed to implement the traditional
- * NetBSD securelevel.
+ * NetBSD securelevel.
*
* The securelevel is a system-global indication on what operations are
* allowed or not. It affects all users, including root.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: secmodel_securelevel.c,v 1.21 2011/11/23 10:47:48 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: secmodel_securelevel.c,v 1.22 2011/11/28 20:57:51 jym Exp $");
#ifdef _KERNEL_OPT
#include "opt_insecure.h"
@@ -71,7 +71,7 @@
*/
int
secmodel_securelevel_sysctl(SYSCTLFN_ARGS)
-{
+{
int newsecurelevel, error;
struct sysctlnode node;
@@ -81,7 +81,7 @@
error = sysctl_lookup(SYSCTLFN_CALL(&node));
if (error || newp == NULL)
return (error);
-
+
if ((newsecurelevel < securelevel) && (l->l_proc != initproc))
return (EPERM);
@@ -424,7 +424,7 @@
return (result);
}
-/*
+/*
* kauth(9) listener
*
* Security model: Traditional NetBSD
@@ -462,7 +462,7 @@
* kauth(9) listener
*
* Security model: Traditional NetBSD
- * Scope: Device
+ * Scope: Device
* Responsibility: Securelevel
*/
int
Home |
Main Index |
Thread Index |
Old Index