summaryrefslogtreecommitdiff
path: root/proc/info.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-08-15 09:37:55 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-08-29 01:49:42 +0200
commitecceb56c6581b5eddf240112da7052e1d2f96af7 (patch)
tree715362352fca692362d1e4354c142fa3343e9a13 /proc/info.c
parentc879fee5caa893af35d93dc159202d8cafb0b5ae (diff)
proc: make the function check_owner available
Make the function check_owner available for use in other files. * proc/info.c (check_owner): Drop attributes static and inline. * proc/proc.h (check_owner): Add prototype.
Diffstat (limited to 'proc/info.c')
-rw-r--r--proc/info.c2
1 files changed, 1 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