diff options
author | phk <phk@FreeBSD.org> | 1999-04-30 13:04:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-04-30 13:04:21 +0000 |
commit | 22dd8b1a32339d93ebf048c90f3fdfa1874495ac (patch) | |
tree | ea82d0971094434daf8dbc67eda66afd7ac2ef4f /sys/miscfs/procfs/procfs.h | |
parent | 83538ea9d0cf00b214e0a7684a894329834ff244 (diff) | |
download | FreeBSD-src-22dd8b1a32339d93ebf048c90f3fdfa1874495ac.zip FreeBSD-src-22dd8b1a32339d93ebf048c90f3fdfa1874495ac.tar.gz |
Add a new "file" to procfs: "rlimit" which shows the resource limits for
the process.
PR: 11342
Submitted by: Adrian Chadd adrian@freebsd.org
Reviewed by: phk
Diffstat (limited to 'sys/miscfs/procfs/procfs.h')
-rw-r--r-- | sys/miscfs/procfs/procfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h index d9b333b..0c2698a 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.22 1999/04/27 11:16:35 phk Exp $ + * $Id: procfs.h,v 1.23 1999/04/28 11:37:18 phk Exp $ */ /* @@ -57,7 +57,8 @@ typedef enum { Pnotepg, /* process group notifier */ Pmap, /* memory map */ Ptype, /* executable type */ - Pcmdline /* command line */ + Pcmdline, /* command line */ + Prlimit /* resource limits */ } pfstype; /* @@ -156,6 +157,7 @@ int procfs_dostatus __P((struct proc *, struct proc *, struct pfsnode *pfsp, str int procfs_domap __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); int procfs_dotype __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); int procfs_docmdline __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); +int procfs_dorlimit __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); /* Return 1 if process has special kernel digging privileges */ int procfs_kmemaccess __P((struct proc *)); |