freebsd-nq/sys/kern
Bruce Evans 95242f5a02 Overload the correct errno for attempts to set an in-core label with
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).
1998-10-17 09:46:42 +00:00
..
bus_if.m
device_if.m
imgact_aout.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
imgact_elf.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
imgact_gzip.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
imgact_shell.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
inflate.c
init_main.c Fix sysinit_add(). 1998-10-15 17:09:19 +00:00
init_sysent.c
kern_acct.c
kern_clock.c Cast the return value of tvtohz() from a long to an int to satisfy the 1998-10-06 23:17:44 +00:00
kern_conf.c
kern_descrip.c
kern_environment.c Don't try to initialise the environment out of a sysinit, it's handled 1998-10-09 21:21:34 +00:00
kern_exec.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
kern_exit.c
kern_fork.c
kern_intr.c Start using the new SWI registration system instead of hardwiring everything. 1998-09-26 14:25:32 +00:00
kern_ktrace.c
kern_linker.c - bzero() after malloc(). This is especially obvious when kern_malloc is 1998-10-15 17:12:12 +00:00
kern_lkm.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
kern_lock.c
kern_lockf.c
kern_malloc.c
kern_mib.c
kern_module.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
kern_ntptime.c
kern_physio.c
kern_proc.c
kern_prot.c
kern_random.c
kern_resource.c
kern_shutdown.c Fix precedence bug, so that kernel dump works. 1998-09-20 16:50:31 +00:00
kern_sig.c
kern_subr.c
kern_synch.c
kern_sysctl.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
kern_tc.c Cast the return value of tvtohz() from a long to an int to satisfy the 1998-10-06 23:17:44 +00:00
kern_threads.c
kern_time.c
kern_timeout.c
kern_xxx.c
ksched.c
link_aout.c Fix some bugs in link_aout.c caused by using uninitialized malloc space. 1998-10-16 03:45:35 +00:00
link_elf_obj.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
link_elf.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
Make.tags.inc
makedevops.sh Use the interface name as well as the method name when creating the method 1998-10-15 09:50:45 +00:00
Makefile
makesyscalls.sh
md5c.c
p1003_1b.c
posix4_mib.c
subr_autoconf.c
subr_bus.c Don't call DEVICE_DETACH directly, always go through the device_detach() 1998-10-03 08:55:29 +00:00
subr_clist.c
subr_devstat.c Disable the 'devstat_end_transaction' busy count printf until after 3.0 1998-10-14 20:44:05 +00:00
subr_disklabel.c Use only the correct raw partition for writing labels. Don't use the 1998-10-17 07:49:04 +00:00
subr_diskmbr.c
subr_diskslice.c Overload the correct errno for attempts to set an in-core label with 1998-10-17 09:46:42 +00:00
subr_dkbad.c
subr_log.c
subr_module.c Align to sizeof(long) rather than sizeof(int32_t). It needs to be 1998-10-14 05:07:23 +00:00
subr_param.c
subr_prf.c
subr_prof.c
subr_rlist.c
subr_smp.c mp_machdep.c: Set a vector to boot code (PC-98). 1998-10-10 13:37:16 +00:00
subr_trap.c
subr_xxx.c
sys_generic.c
sys_pipe.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
sys_process.c
sys_socket.c
syscalls.c
syscalls.master
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
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 Fixed two potentially serious classes of bugs: 1998-10-13 08:24:45 +00:00
vfs_cache.c
vfs_cluster.c
vfs_conf.c
vfs_default.c
vfs_export.c Backed out rev. 1.164. It caused problems on SMP. 1998-10-14 15:05:52 +00:00
vfs_extattr.c Eliminate a race in VOP_FSYNC() when softupdates is enabled. 1998-09-24 15:02:46 +00:00
vfs_init.c *gulp*. Jordan specifically OK'ed this.. 1998-10-16 03:55:01 +00:00
vfs_lookup.c
vfs_mount.c
vfs_subr.c Backed out rev. 1.164. It caused problems on SMP. 1998-10-14 15:05:52 +00:00
vfs_syscalls.c Eliminate a race in VOP_FSYNC() when softupdates is enabled. 1998-09-24 15:02:46 +00:00
vfs_vnops.c
vnode_if.pl
vnode_if.sh
vnode_if.src