diff options
author | 2012-04-22 05:43:14 +0000 | |
---|---|---|
committer | 2012-04-22 05:43:14 +0000 | |
commit | 06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c (patch) | |
tree | 2a68460f65d82ea3089edac4aeb664d53b5154e8 /sys/kern/kern_exec.c | |
parent | Fix printing commands with no arguments, from Benjamin Poirier. (diff) | |
download | wireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.tar.xz wireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.zip |
Add struct proc * argument to FRELE() and FILE_SET_MATURE() in
anticipation of further changes to closef(). No binary change.
ok krw@ miod@ deraadt@
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index ebaca46f136..4af5428542f 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.129 2012/04/13 16:37:50 kettenis Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.130 2012/04/22 05:43:14 guenther Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -586,7 +586,7 @@ sys_execve(struct proc *p, void *v, register_t *retval) fp->f_type = DTYPE_VNODE; fp->f_ops = &vnops; fp->f_data = (caddr_t)vp; - FILE_SET_MATURE(fp); + FILE_SET_MATURE(fp, p); } } fdpunlock(p->p_fd); |