diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-06-14 20:36:35 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-06-14 20:36:35 +0000 |
commit | 6b09d4aa7f9f0d587f99b245eee31227516e5ee6 (patch) | |
tree | 871f8f2abf34a80e4bd169bed7bc044883e43214 /sys/kern/vfs_vnops.c | |
parent | c021e13518192dacd9b5058248c6d5da2cf18137 (diff) |
Forgotten hackton diff: bounds check for seek on special devices
with a disklabel. Original diff from pedro@; ok pedro@ deraadt@
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r-- | sys/kern/vfs_vnops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 79778f113ce..ab92846c193 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_vnops.c,v 1.57 2007/06/01 22:30:46 deraadt Exp $ */ +/* $OpenBSD: vfs_vnops.c,v 1.58 2007/06/14 20:36:34 otto Exp $ */ /* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */ /* @@ -61,7 +61,6 @@ int vn_write(struct file *, off_t *, struct uio *, struct ucred *); int vn_poll(struct file *, int, struct proc *); int vn_kqfilter(struct file *, struct knote *); int vn_closefile(struct file *, struct proc *); -int vn_ioctl(struct file *, u_long, caddr_t, struct proc *); struct fileops vnops = { vn_read, vn_write, vn_ioctl, vn_poll, vn_kqfilter, vn_statfile, |