summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Eradicate the variable "time" from the kernel, using various measures.phk1998-03-3094-526/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "time" wasn't a atomic variable, so splfoo() protection were needed around any access to it, unless you just wanted the seconds part. Most uses of time.tv_sec now uses the new variable time_second instead. gettime() changed to getmicrotime(0. Remove a couple of unneeded splfoo() protections, the new getmicrotime() is atomic, (until Bruce sets a breakpoint in it). A couple of places needed random data, so use read_random() instead of mucking about with time which isn't random. Add a new nfs_curusec() function. Mark a couple of bogosities involving the now disappeard time variable. Update ffs_update() to avoid the weird "== &time" checks, by fixing the one remaining call that passwd &time as args. Change profiling in ncr.c to use ticks instead of time. Resolution is the same. Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call hzto() which subtracts time" sequences. Reviewed by: bde
* Add workaround suggestion for 'nonexistent time' diagnosticache1998-03-301-3/+3
|
* Run adjkerntz -a at 05:01 tooache1998-03-301-2/+2
|
* Use the correct templates file.jkh1998-03-301-2/+2
| | | | | PR: 6135 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* fkey61 is the same thing as del, kinda. Make sure that we really swap del andimp1998-03-301-2/+2
| | | | | | bs. Reported by: Chuck Robey
* Give up on a.out support in binutils. It has too many problems tojdp1998-03-309-20/+44
| | | | | | | be worth much effort. Install all i386 binutils programs in "/usr/libexec/elf". Disable a.out support in libbfd. It's too dangerous to leave it in. Some of the utilities think they can handle a.out, but they generate bad object files.
* Add c++filt.jdp1998-03-301-3/+2
|
* Add NTFS partition type.obrien1998-03-292-16/+32
| | | | | | | Add "." at the end of some sentances. Also print "flag 80" in English. Give hint that "sysid" for FreeBSD is 165 decimal. Ensure active partition specified by user is 1-4.
* Correct a significant problem with the softupdates port. Allow fsyncdyson1998-03-292-8/+22
| | | | | to work properly within the softupdates framework, and thereby eliminate some unfortunate panics.
* Sync with sys/i386/isa/if_ed.c revision 1.138.kato1998-03-291-2/+1
|
* Sync with sys/i386/i386/trap.c revision 1.124.kato1998-03-291-1/+2
|
* Sync with sys/i386/isa/if_ed.c revision 1.137.kato1998-03-291-12/+1
|
* Don't access "time" directly.phk1998-03-291-2/+2
|
* Replace direct access to time with getmicrotime().phk1998-03-291-4/+1
|
* Export MD5Transform in md5.c and remove a private version in random_machdep.cphk1998-03-295-246/+15
| | | | md5 is standard as a consequence of this.
* regeneratepeter1998-03-293-8/+35
|
* The linux chown syscall is more like lchown, a new chown syscall thatpeter1998-03-294-10/+50
| | | | follows links was added.
* pcics are devices not controllers.helbig1998-03-293-9/+9
|
* Patch up some space/tab problems. It looks like some of this camepeter1998-03-292-30/+28
| | | | from an xterm via cut/paste. No other changes apart from whitespace.
* Fix nasty typo that randomly caused kinit to not properly deduce themarkm1998-03-291-2/+2
| | | | | | user's username when this was not specified. Reported by: Sean Eric Fagan
* Add in placeholders for the newer linux syscallspeter1998-03-292-2/+46
|
* Don't use fast interrupts when initialized through PnP. if_ed doeseivind1998-03-292-4/+2
| | | | | | not support fast interrupts. Noticed by: bde
* Add support for the AT&T style "fildll" and "fistpll" mnemonics.jdp1998-03-291-1/+3
| | | | | | | | | These are equivalent to "fildq" and "fistpq" respectively. This fixes the bad floating point object code that resulted after recent changes in the compiler. Test driven by: "Mike Burgett" <mburgett@awen.com>, Amancio Hasty <hasty@rah.star-gate.com>
* Support for fine-grained external control of subdir building.eivind1998-03-291-12/+38
|
* The system call stubs for the sched_* system calls can't bedufault1998-03-283-10/+2
| | | | | | | optional. The kernel will now link but the new system calls can't be LKM'd in without the P1003_1B option - I will remove this option later.
* Activate CVS regression test.eivind1998-03-281-1/+22
|
* Remove duplicate commentdufault1998-03-281-4/+1
|
* Don't allow the readdirplus routine to be used in NFS V2.steve1998-03-282-2/+6
| | | | | | PR: 5102 Reviewed by: msmith Submitted by: Dmitry Kohmanyuk <dk@farm.org>
* Include sys/resource.h to get PRIO_MAX.dufault1998-03-282-0/+2
|
* Removed unused #includes.bde1998-03-2829-127/+24
|
* Don't export anything from <sys/socket.h> except AF_MAX from here.bde1998-03-281-4/+3
| | | | | | | | | | This only affects the KERNEL case. Don't include <sys/radix.h> twice for the KERNEL case. This fixes a mismerge from Lite2. Don't include <sys/radix.h> at all for the !KERNEL case. This fixes a wrong cleanup in Lite2.
* Don't depend on <sys/mount.h> including <sys/socket.h>.bde1998-03-284-4/+8
|
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-2860-804/+1826
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Moved some #includes from <sys/param.h> nearer to where they are actuallybde1998-03-2847-48/+108
| | | | used.
* Fixed style bugs (mostly) in previous commit.bde1998-03-287-25/+33
|
* Get socket and locking stuff by including <sys/socket.h> and <sys/lock.h>,bde1998-03-281-1/+2
| | | | not by including <sys/mount.h> and depending on namespace pollution in it.
* Debogotify. ln -f should be ln -s to allow the obj/ dir to bemarkm1998-03-281-2/+2
| | | | on a different volume.
* Fix dead hang writing to FATache1998-03-282-4/+4
| | | | Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
* Add us.unix.kbd. Just like us.iso.kbd except:imp1998-03-283-3/+120
| | | | | | | | | | | | | ESCAPE and `~ are swapped CTRL and CAPS LOCK are swapped BACKSPACE and DELETE are swapped Suitable for keymap=us.unix in your rc.conf file or for setting on the fly with kbdcontrol -l us.unix. This is the keyboard layout of many of the more traditional unix workstations and terminals that have been around for a very long time. Older Sun keyboards and VT100's had a layout very similar to the PC, with the above exceptions. Idea Reviewed by: Many people in -hackers
* Add two VLSI chip set components: 82C592 and 82C593se1998-03-271-1/+5
| | | | Submitted by: Warner Losh <imp@village.org>
* When building in in the kernel rather than as a LKM, don't compilepeter1998-03-271-4/+4
| | | | | | | | | | all the LKM load/unload junk, and don't forget to register the SYSINIT so that the cdevsw entry is attached. BTW: I think the way it builds it's /dev nodes on the fly as an LKM with vnode ops is kinda cute - I guess that'd be one way to solve the devfs persistance problems.. :-) (ie: have the drivers make the nodes in /dev on disk directly if they are missing, but leave them alone if present).
* allow open on all minorspeter1998-03-272-4/+4
|
* A fix for a link down route cleanup panic, when the route cleanuppeter1998-03-271-1/+10
| | | | | | pulls the rug out from underneath itself. Obtained from: wollman (a few months ago, I've been using this for ages)
* Enable the use of soft updates on the root filesystem. Previously, thepeter1998-03-271-2/+9
| | | | | | | softdep mode could only be activated on the initial mount of a filesystem and then only if it was a read-write mount. A 'mount -r' (as done in the rootfs mount) followed by a 'mount -u' to convert to read-write didn't start softdep mode.
* Removed yacc output files so that it is impossible to mix them withbde1998-03-271-1712/+0
| | | | new ones that we generate.
* Removed yacc output files so that it is impossible to mix them withbde1998-03-274-6756/+0
| | | | | | new ones that we generate. We used to always mix the old header with the new .cc file. This worked because Cygnus's yacc is surprisingly compatible with our yacc.
* Don't print the 'writes: sync & async' stuff if we're mounted readonlypeter1998-03-272-6/+12
| | | | or if the fs isn't keeping the stats..
* Split the padding out into a separate function.phk1998-03-278-28/+81
| | | | | | | | Synchronize the kernel and libmd versions of md5c.c PR: misc/6127 Reviewed by: phk Submitted by: Ari Suutari <ari@suutari.iki.fi>
* Correct a problem where buffers might not be zeroed when needed. Thedyson1998-03-271-3/+3
| | | | B_MALLOC buffers might not have been properly zeroed.
* Hmm, silly me. I should have read what everything else was doing.peter1998-03-272-10/+4
| | | | | | The initial/lock devices for cua are owned by uucp.dialer as well. Also, remove redundant chmod on si_control
OpenPOWER on IntegriCloud