summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc/info.c2
-rw-r--r--proc/proc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/proc/info.c b/proc/info.c
index 40f9d210..0d502c65 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -37,7 +37,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Returns true if PROC1 has `owner' privileges over PROC2 (and can thus get
its task port &c). If PROC2 has an owner, then PROC1 must have that uid;
otherwise, both must be in the same login collection. */
-static inline int
+int
check_owner (struct proc *proc1, struct proc *proc2)
{
return
diff --git a/proc/proc.h b/proc/proc.h
index 247795dc..b7a95662 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -157,6 +157,7 @@ process_drop (struct proc *p)
/* Forward declarations */
void complete_wait (struct proc *, int);
int check_uid (struct proc *, uid_t);
+int check_owner (struct proc *, struct proc *);
void addalltasks (void);
void prociterate (void (*)(struct proc *, void *), void *);
void count_up (void *);