95242f5a02
a raw partition at a nonzero offset (EINVAL should have been EXDEV; DIOCSDINFO was broken, and DIOCWDINFO was broken because it depended on DIOCSDINFO). A zero offset for the raw partition should probably be enforced in setdisklabel(), and DIOCWDINFO should probably always be handled by first calling setdisklabel() so that writedisklabel() doesn't need to enforce it, but this has never been done; dsioctl() has a special check. Changes in this commit are limited to dsioctl() to preserve bug for bug compatibility in drivers that don't use the slice code (notably the ccd driver, which allows setting a bogus label in DIOCWDINFO and doesn't undo the setting when writedisklabel() fails). |
||
---|---|---|
.. | ||
bus_if.m | ||
device_if.m | ||
imgact_aout.c | ||
imgact_elf.c | ||
imgact_gzip.c | ||
imgact_shell.c | ||
inflate.c | ||
init_main.c | ||
init_sysent.c | ||
kern_acct.c | ||
kern_clock.c | ||
kern_conf.c | ||
kern_descrip.c | ||
kern_environment.c | ||
kern_exec.c | ||
kern_exit.c | ||
kern_fork.c | ||
kern_intr.c | ||
kern_ktrace.c | ||
kern_linker.c | ||
kern_lkm.c | ||
kern_lock.c | ||
kern_lockf.c | ||
kern_malloc.c | ||
kern_mib.c | ||
kern_module.c | ||
kern_ntptime.c | ||
kern_physio.c | ||
kern_proc.c | ||
kern_prot.c | ||
kern_random.c | ||
kern_resource.c | ||
kern_shutdown.c | ||
kern_sig.c | ||
kern_subr.c | ||
kern_synch.c | ||
kern_sysctl.c | ||
kern_tc.c | ||
kern_threads.c | ||
kern_time.c | ||
kern_timeout.c | ||
kern_xxx.c | ||
ksched.c | ||
link_aout.c | ||
link_elf_obj.c | ||
link_elf.c | ||
Make.tags.inc | ||
makedevops.sh | ||
Makefile | ||
makesyscalls.sh | ||
md5c.c | ||
p1003_1b.c | ||
posix4_mib.c | ||
subr_autoconf.c | ||
subr_bus.c | ||
subr_clist.c | ||
subr_devstat.c | ||
subr_disklabel.c | ||
subr_diskmbr.c | ||
subr_diskslice.c | ||
subr_dkbad.c | ||
subr_log.c | ||
subr_module.c | ||
subr_param.c | ||
subr_prf.c | ||
subr_prof.c | ||
subr_rlist.c | ||
subr_smp.c | ||
subr_trap.c | ||
subr_xxx.c | ||
sys_generic.c | ||
sys_pipe.c | ||
sys_process.c | ||
sys_socket.c | ||
syscalls.c | ||
syscalls.master | ||
sysv_ipc.c | ||
sysv_msg.c | ||
sysv_sem.c | ||
sysv_shm.c | ||
tty_compat.c | ||
tty_conf.c | ||
tty_cons.c | ||
tty_pty.c | ||
tty_snoop.c | ||
tty_subr.c | ||
tty_tb.c | ||
tty_tty.c | ||
tty.c | ||
uipc_domain.c | ||
uipc_mbuf.c | ||
uipc_proto.c | ||
uipc_sockbuf.c | ||
uipc_socket2.c | ||
uipc_socket.c | ||
uipc_syscalls.c | ||
uipc_usrreq.c | ||
vfs_aio.c | ||
vfs_bio.c | ||
vfs_cache.c | ||
vfs_cluster.c | ||
vfs_conf.c | ||
vfs_default.c | ||
vfs_export.c | ||
vfs_extattr.c | ||
vfs_init.c | ||
vfs_lookup.c | ||
vfs_mount.c | ||
vfs_subr.c | ||
vfs_syscalls.c | ||
vfs_vnops.c | ||
vnode_if.pl | ||
vnode_if.sh | ||
vnode_if.src |