Commit Graph

28230 Commits

Author SHA1 Message Date
imp
64af92eaa5 A fairly rare possible buffer overflow:
Theo fixed this and tqbf reported it
Obtained from: OpenBSD
1998-04-01 00:32:18 +00:00
phk
0b984010ad Fix an off by 1<<32 error. 1998-03-31 10:47:01 +00:00
phk
ab6754b199 Add a dummy timecounter until we find the real thing(s). 1998-03-31 10:44:56 +00:00
kato
13d94801ba Cosmetic. Move a blank line. 1998-03-31 09:37:44 +00:00
kato
01d7f184bf Sync with sys/i386/i386/trap.c revision 1.125 and sys/i386/isa/clock.c
revision 1.118.
1998-03-31 07:53:13 +00:00
charnier
f30464b574 Use .An/.Aq.PR: 1998-03-31 06:52:28 +00:00
jmz
be9710b507 Add an ioctl to retrieve the next writable address.
Defer the WRITE SESSION command until the first write command, so that
it works like the prepare track command, allowing the device to be
closed after the command.
1998-03-31 01:56:29 +00:00
jmz
2a67e29c69 Document the WORMIOCFIRSTWRITABLEADDR ioctl. 1998-03-31 01:55:11 +00:00
jb
527791a56c Add `hdrs' to the beforeinstall for libss so that the headers are
available for install.

I thought that was what beforeinstall was supposed to do. Sigh.
1998-03-30 23:10:39 +00:00
kato
142623e0c8 - Use existing file (psm.c) though the driver does not work under
PC-98 arch.
- Merge the change in sys/i386/conf/files.i386 revision from 1.187 to
1.188.
1998-03-30 12:36:16 +00:00
kato
5fe547daac Merge the change in sys/i386/boot/rawboot/Makefile revision from 1.7
to 1.8.

Forgotten by:	kato
1998-03-30 12:24:12 +00:00
kato
b88e9df435 Added missing #include's. 1998-03-30 12:10:02 +00:00
phk
1e95007485 Pickup _time_second instead of _time 1998-03-30 10:10:29 +00:00
phk
914c02ee25 Chnage the profiling printout to reflect that they are not
struct timeval anymore.
1998-03-30 10:09:05 +00:00
phk
9b703b1455 Eradicate the variable "time" from the kernel, using various measures.
"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
1998-03-30 09:56:58 +00:00
ache
add2782c4e Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
ache
18c7dd6bef Run adjkerntz -a at 05:01 too 1998-03-30 09:17:25 +00:00
jkh
4edce9bdac Use the correct templates file.
PR:		6135
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-03-30 08:29:28 +00:00
imp
2d201f9c99 fkey61 is the same thing as del, kinda. Make sure that we really swap del and
bs.

Reported by: Chuck Robey
1998-03-30 04:25:42 +00:00
jdp
54a2e31324 Give up on a.out support in binutils. It has too many problems to
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.
1998-03-30 02:21:27 +00:00
jdp
a5bc2e4247 Add c++filt. 1998-03-30 02:19:09 +00:00
obrien
ab7e5a8f6b Add NTFS partition type.
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.
1998-03-29 23:41:51 +00:00
dyson
7f3f758651 Correct a significant problem with the softupdates port. Allow fsync
to work properly within the softupdates framework, and thereby eliminate
some unfortunate panics.
1998-03-29 18:23:44 +00:00
kato
9354d72f40 Sync with sys/i386/isa/if_ed.c revision 1.138. 1998-03-29 12:48:46 +00:00
kato
1fe36ac927 Sync with sys/i386/i386/trap.c revision 1.124. 1998-03-29 12:48:01 +00:00
kato
3d7372766d Sync with sys/i386/isa/if_ed.c revision 1.137. 1998-03-29 12:45:39 +00:00
phk
976c224cc5 Don't access "time" directly. 1998-03-29 12:18:12 +00:00
phk
7dc4766acb Replace direct access to time with getmicrotime(). 1998-03-29 12:15:57 +00:00
phk
8620163d92 Export MD5Transform in md5.c and remove a private version in random_machdep.c
md5 is standard as a consequence of this.
1998-03-29 11:55:06 +00:00
peter
1649ebee15 regenerate 1998-03-29 08:04:49 +00:00
peter
a9835c646b The linux chown syscall is more like lchown, a new chown syscall that
follows links was added.
1998-03-29 07:59:10 +00:00
helbig
b85f6e213b pcics are devices not controllers. 1998-03-29 07:58:03 +00:00
peter
5a40a96426 Patch up some space/tab problems. It looks like some of this came
from an xterm via cut/paste.  No other changes apart from whitespace.
1998-03-29 07:53:19 +00:00
markm
0503689f0a Fix nasty typo that randomly caused kinit to not properly deduce the
user's username when this was not specified.

Reported by: Sean Eric Fagan
1998-03-29 07:27:43 +00:00
peter
63018a1e91 Add in placeholders for the newer linux syscalls 1998-03-29 06:35:22 +00:00
eivind
7fc6cbacef Don't use fast interrupts when initialized through PnP. if_ed does
not support fast interrupts.

Noticed by:	bde
1998-03-29 03:22:19 +00:00
jdp
7684bad78b Add support for the AT&T style "fildll" and "fistpll" mnemonics.
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>
1998-03-29 01:38:39 +00:00
eivind
c72d59a60b Support for fine-grained external control of subdir building. 1998-03-29 01:10:09 +00:00
dufault
58b3c892fb The system call stubs for the sched_* system calls can't be
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.
1998-03-28 22:44:28 +00:00
eivind
75dd8b8606 Activate CVS regression test. 1998-03-28 19:06:21 +00:00
dufault
a9ef2eb2ee Remove duplicate comment 1998-03-28 18:16:29 +00:00
steve
6b391e2572 Don't allow the readdirplus routine to be used in NFS V2.
PR:		5102
Reviewed by:	msmith
Submitted by:	Dmitry Kohmanyuk <dk@farm.org>
1998-03-28 16:05:05 +00:00
dufault
c5a445b832 Include sys/resource.h to get PRIO_MAX. 1998-03-28 14:49:47 +00:00
bde
b5ae2c779b Removed unused #includes. 1998-03-28 13:25:01 +00:00
bde
0eb849f75b Don't export anything from <sys/socket.h> except AF_MAX from here.
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.
1998-03-28 12:13:01 +00:00
bde
a1015f7749 Don't depend on <sys/mount.h> including <sys/socket.h>. 1998-03-28 12:04:40 +00:00
dufault
8ed0defc6e Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_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.
1998-03-28 11:51:01 +00:00
bde
cd450d6714 Moved some #includes from <sys/param.h> nearer to where they are actually
used.
1998-03-28 10:33:27 +00:00
bde
dee7f44b92 Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
bde
f6e8fc035e Get socket and locking stuff by including <sys/socket.h> and <sys/lock.h>,
not by including <sys/mount.h> and depending on namespace pollution in it.
1998-03-28 08:07:12 +00:00