diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-15 06:22:31 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-15 06:22:31 +0000 |
commit | ce070c7054f4f778763aa8d668f1f92ae896ed05 (patch) | |
tree | 7ab7f3ae0de51dededd5a4bc865ded5cb72182ad /sys/kern/vfs_vnops.c | |
parent | 19713aecd94bdccec26003f193cc82be3dd363c0 (diff) |
New function vn_marktext - mark a vnode as executing a text image.
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet).
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r-- | sys/kern/vfs_vnops.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index a6a4971a36b..ee5eb0baee2 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_vnops.c,v 1.34 2001/11/06 19:53:20 miod Exp $ */ +/* $OpenBSD: vfs_vnops.c,v 1.35 2001/11/15 06:22:30 art Exp $ */ /* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */ /* @@ -208,6 +208,16 @@ vn_writechk(vp) } /* + * Mark a vnode as being the text image of a running process. + */ +void +vn_marktext(vp) + struct vnode *vp; +{ + vp->v_flag |= VTEXT; +} + +/* * Vnode close call */ int |