Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add proc_find_locked(), which returns the process lo...
details: https://anonhg.NetBSD.org/src/rev/a585c82117b2
branches: trunk
changeset: 340674:a585c82117b2
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 24 14:33:31 2015 +0000
description:
Add proc_find_locked(), which returns the process locked and does the
sysctl access check.
diffstat:
sys/sys/proc.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r bb02a570a3c9 -r a585c82117b2 sys/sys/proc.h
--- a/sys/sys/proc.h Thu Sep 24 14:33:01 2015 +0000
+++ b/sys/sys/proc.h Thu Sep 24 14:33:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.322 2015/06/19 10:18:19 martin Exp $ */
+/* $NetBSD: proc.h,v 1.323 2015/09/24 14:33:31 christos Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -458,6 +458,7 @@
extern struct pool ptimer_pool; /* Memory pool for ptimers */
+int proc_find_locked(struct lwp *, struct proc **, pid_t);
proc_t * proc_find_raw(pid_t);
proc_t * proc_find(pid_t); /* Find process by ID */
struct pgrp * pgrp_find(pid_t); /* Find process group by ID */
Home |
Main Index |
Thread Index |
Old Index