freebsd-skq/sys/kern
dillon 2c39c80e00 Add vfs.enable_userblk_io sysctl to control whether user reads and writes
to buffered block devices are allowed.  The default is to be backwards
    compatible, i.e. reads and writes are allowed.

    The idea is for a larger crowd to start running with this disabled and
    see what problems, if any, crop up, and then to change the default to
    off and see if any problems crop up in the next 6 months prior to
    potentially removing support entirely.  There are still a few people,
    Julian and myself included, who believe the buffered block device
    access from usermode to be useful.

    Remove use of vnode->v_lastr from buffered block device I/O in
    preparation for removal of vnode->v_lastr field, replacing it with
    the already existing seqcount metric to detect sequential operation.

Reviewed by:	Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>
1999-09-17 06:10:27 +00:00
..
bus_if.m $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
device_if.m $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
imgact_aout.c Fixed style regressions in previous commit. 1999-09-04 13:30:18 +00:00
imgact_elf.c General cleanup of core-dumping code. 1999-09-01 00:29:56 +00:00
imgact_gzip.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
imgact_shell.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
inflate.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
init_main.c Moved the definition of `boottime' and its sysctl to the correct file. 1999-09-13 14:22:27 +00:00
init_sysent.c regenerate to include proper "gererated from" taglines. 1999-09-11 01:06:03 +00:00
kern_acct.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_clock.c Moved the definition of `boottime' and its sysctl to the correct file. 1999-09-13 14:22:27 +00:00
kern_conf.c Const'ify devtoname() and d_name. This exposes some errors (2 non-benign). 1999-09-13 12:29:32 +00:00
kern_descrip.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_environment.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_exec.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_exit.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_fork.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_intr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_jail.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_kthread.c
kern_ktrace.c ktrace should not follow symlinks either. 1999-08-30 19:08:28 +00:00
kern_linker.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_lock.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_lockf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_malloc.c Get rid of MALLOC_INSTANTIATE and MALLOC_MAKE_TYPE(). Just handle the 3 1999-09-11 16:41:39 +00:00
kern_mib.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_module.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_ntptime.c pps_shiftmax only exists #ifdef PPS_SYNC 1999-08-30 16:21:32 +00:00
kern_physio.c Remove replace phygetvpbuf() with direct call to getpbuf(); 1999-09-12 08:27:41 +00:00
kern_proc.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_prot.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_random.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_resource.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_shutdown.c Remove unneeded "maj" variable. 1999-08-29 14:54:11 +00:00
kern_sig.c Make prototype match function. 1999-09-01 16:21:57 +00:00
kern_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_switch.c Fix a typo and a bug. 1999-08-19 16:06:08 +00:00
kern_synch.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_syscalls.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_sysctl.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_tc.c Moved the definition of `boottime' and its sysctl to the correct file. 1999-09-13 14:22:27 +00:00
kern_threads.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_time.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_timeout.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
kern_xxx.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ksched.c
link_aout.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
link_elf_obj.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
link_elf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Make.tags.inc
makedevops.pl $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Makefile
makesyscalls.sh Add $FreeBSD$ tags to generated files otherwise the checker won't let them 1999-09-10 23:34:30 +00:00
md5c.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
p1003_1b.c
posix4_mib.c
subr_autoconf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_blist.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_bus.c Create and use a dedicated malloc type for bus related stuff. 1999-09-10 21:11:23 +00:00
subr_clist.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_devstat.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_disk.c Register the right cdevsw on the master device. 1999-09-13 18:20:21 +00:00
subr_disklabel.c Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
subr_diskmbr.c Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
subr_diskslice.c Const poisoning from d_name. 1999-09-13 14:12:23 +00:00
subr_dkbad.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_eventhandler.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_log.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_module.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_param.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_prf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_prof.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_rman.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_scanf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_smp.c Set up FPU state on the AP. 1999-09-05 20:17:40 +00:00
subr_trap.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_xxx.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sys_generic.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sys_pipe.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sys_process.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sys_socket.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.c regenerate to include proper "gererated from" taglines. 1999-09-11 01:06:03 +00:00
syscalls.master Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
sysv_ipc.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_msg.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_sem.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_shm.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_compat.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_conf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_cons.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_pty.c s/si_tty_tty/si_tty/g 1999-08-30 10:35:37 +00:00
tty_snoop.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_tb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_tty.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_domain.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_mbuf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_proto.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_sockbuf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_socket2.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_socket.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_syscalls.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_usrreq.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_aio.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_bio.c Allow getblk() to be called from an idle context (by panic() inside 1999-09-03 17:49:25 +00:00
vfs_cache.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_cluster.c If integration of a buffer into a cluster write operation fails, release 1999-08-31 14:18:32 +00:00
vfs_conf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_default.c Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
vfs_export.c Add vfs.enable_userblk_io sysctl to control whether user reads and writes 1999-09-17 06:10:27 +00:00
vfs_extattr.c Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
vfs_init.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_lookup.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_mount.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vfs_subr.c Add vfs.enable_userblk_io sysctl to control whether user reads and writes 1999-09-17 06:10:27 +00:00
vfs_syscalls.c Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
vfs_vnops.c Changes to centralise the default blocksize behaviour. 1999-09-09 19:08:44 +00:00
vnode_if.pl $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vnode_if.sh $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vnode_if.src $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00