diff options
author | dg <dg@FreeBSD.org> | 1995-04-15 02:30:17 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-04-15 02:30:17 +0000 |
commit | 719b4da2eedaa5ffccd0f86e8a4af8d4cc99e28f (patch) | |
tree | f957810e5431e26764dd916c71b3551de4cc5c70 /sys/miscfs/procfs/procfs.h | |
parent | 9dad5219aa9266ebf915c046ed308f83e5e9abe0 (diff) | |
download | FreeBSD-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/miscfs/procfs/procfs.h')
-rw-r--r-- | sys/miscfs/procfs/procfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h index 79a77da..aabb1d3 100644 --- a/sys/miscfs/procfs/procfs.h +++ b/sys/miscfs/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>) |