diff options
Diffstat (limited to 'sys/miscfs/procfs/procfs.h')
-rw-r--r-- | sys/miscfs/procfs/procfs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h index 619e1b2..180a47f 100644 --- a/sys/miscfs/procfs/procfs.h +++ b/sys/miscfs/procfs/procfs.h @@ -37,7 +37,7 @@ * @(#)procfs.h 8.9 (Berkeley) 5/14/95 * * From: - * $Id: procfs.h,v 1.20 1998/07/07 04:08:44 bde Exp $ + * $Id: procfs.h,v 1.21 1999/01/05 03:53:06 peter Exp $ */ /* @@ -95,8 +95,7 @@ struct pfsnode { ((((p1)->p_cred->pc_ucred->cr_uid == (p2)->p_cred->p_ruid) && \ ((p1)->p_cred->p_ruid == (p2)->p_cred->p_ruid) && \ ((p1)->p_cred->p_svuid == (p2)->p_cred->p_ruid) && \ - ((p2)->p_flag & P_SUGID) == 0) || \ - (suser((p1)->p_cred->pc_ucred, &(p1)->p_acflag) == 0)) + ((p2)->p_flag & P_SUGID) == 0) || (suser((p1)) == 0)) /* * Format of a directory entry in /proc, ... |