Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/secmodel/securelevel Unify: >= 0 -> > -1.
details: https://anonhg.NetBSD.org/src/rev/f9555d40582c
branches: trunk
changeset: 747939:f9555d40582c
user: elad <elad%NetBSD.org@localhost>
date: Tue Oct 06 05:03:58 2009 +0000
description:
Unify: >= 0 -> > -1.
diffstat:
sys/secmodel/securelevel/secmodel_securelevel.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9aaf300bcaa9 -r f9555d40582c sys/secmodel/securelevel/secmodel_securelevel.c
--- a/sys/secmodel/securelevel/secmodel_securelevel.c Tue Oct 06 05:01:51 2009 +0000
+++ b/sys/secmodel/securelevel/secmodel_securelevel.c Tue Oct 06 05:03:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: secmodel_securelevel.c,v 1.18 2009/10/06 05:01:51 elad Exp $ */
+/* $NetBSD: secmodel_securelevel.c,v 1.19 2009/10/06 05:03:58 elad Exp $ */
/*-
* Copyright (c) 2006 Elad Efrat <elad%NetBSD.org@localhost>
* All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: secmodel_securelevel.c,v 1.18 2009/10/06 05:01:51 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: secmodel_securelevel.c,v 1.19 2009/10/06 05:03:58 elad Exp $");
#ifdef _KERNEL_OPT
#include "opt_insecure.h"
@@ -364,7 +364,7 @@
}
case KAUTH_PROCESS_PTRACE:
- if ((p == initproc) && (securelevel >= 0))
+ if ((p == initproc) && (securelevel > -1))
result = KAUTH_RESULT_DENY;
break;
Home |
Main Index |
Thread Index |
Old Index