diff options
author | dyson <dyson@FreeBSD.org> | 1996-06-18 05:16:00 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-06-18 05:16:00 +0000 |
commit | 01d0667f094f295d42229575567f6b5a2ce0b746 (patch) | |
tree | 56e5b93363f08a48419fadcd9de833c9ef6a5292 /sys/fs/procfs/procfs.h | |
parent | 26ad2004f9ad2d994e528b2448f065726dfe7ca2 (diff) | |
download | FreeBSD-src-01d0667f094f295d42229575567f6b5a2ce0b746.zip FreeBSD-src-01d0667f094f295d42229575567f6b5a2ce0b746.tar.gz |
Clean-up the new VM map procfs code, and also add support for executable
format file "etype". It contains a description of the binary type for
a process.
Diffstat (limited to 'sys/fs/procfs/procfs.h')
-rw-r--r-- | sys/fs/procfs/procfs.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs.h b/sys/fs/procfs/procfs.h index e28185e..69d88bd 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.9 1996/01/24 18:40:37 peter Exp $ + * $Id: procfs.h,v 1.10 1996/06/17 22:43:35 dyson Exp $ */ /* @@ -53,7 +53,8 @@ typedef enum { Pstatus, /* process status */ Pnote, /* process notifier */ Pnotepg, /* process group notifier */ - Pmap /* memory map */ + Pmap, /* memory map */ + Ptype /* executable type */ } pfstype; /* @@ -134,11 +135,15 @@ extern int procfs_dofpregs __P((struct proc *, struct proc *, struct pfsnode *pf extern int procfs_domem __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); extern int procfs_doctl __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); extern int procfs_dostatus __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); +extern int procfs_domap __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); +extern int procfs_dotype __P((struct proc *, struct proc *, struct pfsnode *pfsp, struct uio *uio)); /* check to see if the process has the "items" (regs/file) */ int procfs_validfile __P((struct proc *)); int procfs_validfpregs __P((struct proc *)); int procfs_validregs __P((struct proc *)); +int procfs_validmap __P((struct proc *)); +int procfs_validtype __P((struct proc *)); #define PROCFS_LOCKED 0x01 #define PROCFS_WANT 0x02 |