summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-04-15 02:30:17 +0000
committerdg <dg@FreeBSD.org>1995-04-15 02:30:17 +0000
commit719b4da2eedaa5ffccd0f86e8a4af8d4cc99e28f (patch)
treef957810e5431e26764dd916c71b3551de4cc5c70 /sys/fs/procfs/procfs.h
parent9dad5219aa9266ebf915c046ed308f83e5e9abe0 (diff)
downloadFreeBSD-src-719b4da2eedaa5ffccd0f86e8a4af8d4cc99e28f.zip
FreeBSD-src-719b4da2eedaa5ffccd0f86e8a4af8d4cc99e28f.tar.gz
Made /proc/n/mem file group kmem and group readable. Needed to fix ps so
that it doesn't need to be setuid root.
Diffstat (limited to 'sys/fs/procfs/procfs.h')
-rw-r--r--sys/fs/procfs/procfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs.h b/sys/fs/procfs/procfs.h
index 79a77da..aabb1d3 100644
--- a/sys/fs/procfs/procfs.h
+++ b/sys/fs/procfs/procfs.h
@@ -36,7 +36,7 @@
*
* @(#)procfs.h 8.6 (Berkeley) 2/3/94
*
- * $Id: procfs.h,v 1.2 1994/08/02 07:45:08 davidg Exp $
+ * $Id: procfs.h,v 1.3 1995/03/16 18:13:45 bde Exp $
*/
/*
@@ -79,6 +79,7 @@ struct pfsnode {
((cnp)->cn_namelen == (len) && \
(bcmp((s), (cnp)->cn_nameptr, (len)) == 0))
+#define KMEM_GROUP 2
/*
* Format of a directory entry in /proc, ...
* This must map onto struct dirent (see <dirent.h>)
OpenPOWER on IntegriCloud