freebsd-skq/sys/kern
Bruce Evans ae623967ec Fix initialization of the copy of the label passed to setdisklabel().
Fix the sign of the adjustment after writing a label.

Writing of labels should work now.

Merge adjust_label() into fixlabel().  Detect more errors and don't
write if there is an error.  Adjust sectors/unit and total sectors
to the numbers on the slice.

Add a function dsname() to print slice device names consistently, and
use it.
1995-02-22 21:51:53 +00:00
..
imgact_aout.c Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
imgact_gzip.c Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
imgact_shell.c While in the real world, I had a bad case of being swapped out for a lot of 1994-09-25 19:34:02 +00:00
inflate.c I belive imgact_gzip is finally reentrant. It is also a whole lot more 1994-10-22 11:40:38 +00:00
init_main.c Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
init_sysent.c First attempt to run linux binaries. This is only the changes needed to 1995-02-14 19:23:22 +00:00
kern_acct.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
kern_clock.c Obtained from: my old fix for 1.1.5 1994-12-12 11:58:46 +00:00
kern_descrip.c Implement maxprocperuid and maxfilesperproc. They are tunable 1995-02-20 19:42:42 +00:00
kern_devconf.c YPfix 1995-02-14 06:34:49 +00:00
kern_exec.c Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
kern_exit.c Fixed multiple bugs that cause null pointers to be followed or FREEed data 1994-12-28 06:15:08 +00:00
kern_fork.c Don't count the parent's previous timeslice in the child's resource usage 1995-01-21 15:08:57 +00:00
kern_ktrace.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
kern_lkm.c Don't allow the same MISC module loading more than once.. 1994-10-12 20:28:32 +00:00
kern_lockf.c Changed some variable names in lf_addblock to make the code both 1994-10-25 11:27:51 +00:00
kern_malloc.c Calling semantics for kmem_malloc() have been changed...and the third 1995-02-02 08:49:08 +00:00
kern_ntptime.c Add vm/vm.h for complete sysctl type. 1994-09-19 17:39:21 +00:00
kern_physio.c These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
kern_proc.c Cosmetics. related to getting prototypes into view. 1994-10-10 01:00:49 +00:00
kern_prot.c Added ifdef COMPAT_IBCS2 around setre[ug]id. 1994-10-13 20:59:49 +00:00
kern_resource.c Implement maxprocperuid and maxfilesperproc. They are tunable 1995-02-20 19:42:42 +00:00
kern_sig.c Correct a name of one structure member in the sigaltstack structure. 1995-01-29 01:19:25 +00:00
kern_subr.c Minor code improvement to uiomove() 1995-02-12 09:11:47 +00:00
kern_synch.c Don't mess with already freed structures when a process is being run 1994-12-12 06:04:27 +00:00
kern_sysctl.c Implement maxprocperuid and maxfilesperproc. They are tunable 1995-02-20 19:42:42 +00:00
kern_tc.c Obtained from: my old fix for 1.1.5 1994-12-12 11:58:46 +00:00
kern_time.c YFfix. 1995-02-14 06:33:53 +00:00
kern_timeout.c Obtained from: my old fix for 1.1.5 1994-12-12 11:58:46 +00:00
kern_xxx.c Implemented a "TEXT_SET" called 'cleanup_set' which will be called before 1994-12-04 19:58:43 +00:00
Make.tags.inc Added $Id$ 1994-08-02 07:55:43 +00:00
Makefile Added namespace information for future pollution-control measures. 1994-09-13 00:48:26 +00:00
makesyscalls.sh First attempt to run linux binaries. This is only the changes needed to 1995-02-14 19:23:22 +00:00
md5c.c Speed md5 up around 30% by shorting out a couple of cumbersome 1995-02-21 06:01:49 +00:00
subr_autoconf.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_clist.c Fix cblock starvation bugs by reserving enough cblocks for minimal 1994-11-26 19:24:13 +00:00
subr_disklabel.c Adjust slice names in diskerr() for the rearranged slice numbers. The 1995-02-16 14:47:38 +00:00
subr_diskmbr.c Don't generate any errors here other than EIO. An invalid partition 1995-02-21 08:37:09 +00:00
subr_diskslice.c Fix initialization of the copy of the label passed to setdisklabel(). 1995-02-22 21:51:53 +00:00
subr_dkbad.c subr_diskslice.c implements everything related to slices and labels except 1994-12-12 00:20:34 +00:00
subr_log.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
subr_param.c Implement maxprocperuid and maxfilesperproc. They are tunable 1995-02-20 19:42:42 +00:00
subr_prf.c Don't flush the message buffer when it fills up. 1995-02-19 15:02:26 +00:00
subr_prof.c Don't waste 1264K for each MB of unused text. 1995-01-29 03:03:23 +00:00
subr_rlist.c Rewrote rlist_free(). The previous code was a good example of how to 1995-01-31 06:48:53 +00:00
subr_rmap.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_trap.c First attempt to run linux binaries. This is only the changes needed to 1995-02-14 19:23:22 +00:00
subr_xxx.c Added $Id$ 1994-08-02 07:55:43 +00:00
sys_generic.c Damn, check in the wrong version, fixed. 1994-10-13 21:41:36 +00:00
sys_process.c Truncate the pte address to a page boundry. This probably won't fix the 1995-02-19 02:50:31 +00:00
sys_socket.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
syscalls.c First attempt to run linux binaries. This is only the changes needed to 1995-02-14 19:23:22 +00:00
syscalls.master Actually enable NTP kernel PLL. (Oops!) 1994-12-14 17:57:47 +00:00
sysv_ipc.c Added SYSV ipcs. 1994-09-13 14:47:38 +00:00
sysv_msg.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
sysv_sem.c Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
sysv_shm.c Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
tty_compat.c Better IXANY/IXOFF processing into setflags. 1994-10-11 20:29:42 +00:00
tty_conf.c Allow for loadable line disciplines (eventually). 1994-10-05 21:22:24 +00:00
tty_cons.c Kill redundant declarations of d_open_t and d_close_t. 1995-01-23 18:46:13 +00:00
tty_pty.c write ptys use _the_same_ tsleep/wakeup address as read ptys due to 1994-10-29 23:59:48 +00:00
tty_snoop.c More changes to support user calls. 1995-02-15 18:41:57 +00:00
tty_subr.c Fix cblock starvation bugs by reserving enough cblocks for minimal 1994-11-26 19:24:13 +00:00
tty_tb.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_tty.c don't allow ctty to be set to ctty - infinite kernel recursion 1994-12-04 01:46:13 +00:00
tty.c Restore deleted in second time my & bde fixes. 1995-02-15 22:25:51 +00:00
uipc_domain.c Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> 1995-01-05 19:51:51 +00:00
uipc_mbuf.c Update kmem_malloc() call to new waitflag(s) interface. 1995-02-05 07:08:27 +00:00
uipc_proto.c Added $Id$ 1994-08-02 07:55:43 +00:00
uipc_sockbuf.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
uipc_socket2.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
uipc_socket.c getsockopt(s, SOL_SOCKET, SO_SNDTIMEO, ...) would construct the returned 1995-02-16 01:07:43 +00:00
uipc_syscalls.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
uipc_usrreq.c Fixed bug caused by attempting a connect with a null 'nam'. 1995-02-15 11:30:35 +00:00
vfs_bio.c Added some code to make sure that buffers associated with directories and 1995-02-22 09:30:13 +00:00
vfs_cache.c All of this is cosmetic. prototypes, #includes, printfs and so on. Makes 1994-10-02 17:35:40 +00:00
vfs_cluster.c vfs_cluster.c: 1995-02-22 09:39:22 +00:00
vfs_conf.c Make a kernel sans FFS possible. 1994-11-12 01:47:43 +00:00
vfs_export.c vfs_cluster.c: 1995-02-22 09:39:22 +00:00
vfs_extattr.c In sync(), don't dereference the proc pointer if it's NULL. Should fix 1995-02-13 13:45:04 +00:00
vfs_init.c Actually implement the functionality documented in sysctl.h for type CTL_FS. 1994-10-20 00:48:28 +00:00
vfs_lookup.c Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
vfs_mount.c Make a kernel sans FFS possible. 1994-11-12 01:47:43 +00:00
vfs_subr.c vfs_cluster.c: 1995-02-22 09:39:22 +00:00
vfs_syscalls.c In sync(), don't dereference the proc pointer if it's NULL. Should fix 1995-02-13 13:45:04 +00:00
vfs_vnops.c YFfix 1995-02-14 06:31:13 +00:00
vnode_if.pl Added $Id$ 1994-08-02 07:55:43 +00:00
vnode_if.sh Added $Id$ 1994-08-02 07:55:43 +00:00
vnode_if.src Make NFS ask the filesystems for directory cookies instead of making them 1994-09-28 16:45:22 +00:00