Commit Graph

28910 Commits

Author SHA1 Message Date
bde
6f0ed9dd7e Don't attempt to read process context from the kernel when (the
kernel's) curproc is null.  This fixes endless recursion in
xfer_umem() for attempts to read from user addresses, in particular
for attempts to read %fs and %gs from the pcb for `info reg'.
1998-05-12 16:49:13 +00:00
wosch
fb5716df39 Add upcoming NetBSD 1.3.2
Submitted by: Sune Stjerneby <stjerneby@usa.net>
1998-05-12 14:33:37 +00:00
wosch
504b72c81c Some commands are shell builtins. Execute the builtins by the shell
and not directly by make(1).

PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
1998-05-12 11:54:12 +00:00
max
9363c58a85 Give a reasonable default value (-p /var/run/xntpd.pid) to xntpd_flags. 1998-05-12 10:50:46 +00:00
kato
3ae9e7cd53 Sync with sys/i386/isa/wd.c revision 1.167. 1998-05-12 09:32:19 +00:00
kato
472cd40cc3 Sync with sys/i386/conf/options.i386 revision 1.78. 1998-05-12 09:31:44 +00:00
kato
a224f35f81 Sync with sys/i386/conf/majors.i386 revision 1.40. 1998-05-12 09:31:12 +00:00
wosch
1409ea4c00 Add upcoming FreeBSD 2.2.7 and FreeBSD 2.2.8
Add NetBSD-1.3.1.
1998-05-12 08:04:27 +00:00
jkh
7dfcff2ae3 Go back to 240640 split size. Interesting experiment but somebody
still needs to figure out the 1.2MB floppy problem before we touch
(or possibly eliminate) this value.
1998-05-12 08:02:48 +00:00
jb
ad39ca05c6 Add C++ support.
Submitted by: Russell L. Carter <rcarter@pinyon.org>
              fixes omniORB25 built with g++-2.8.1 on -current
1998-05-12 05:11:51 +00:00
gibbs
b43743e0b3 Fix the termination test in CIRCLEQ_FOREACH.
Prompted by: Julian Assange <proff@iq.org>
1998-05-12 03:55:25 +00:00
julian
b27e38e1d8 Add missing splx()
Submitted by: Luoqi Chen <luoqi@chen.ml.org>
1998-05-11 21:41:13 +00:00
julian
dfabb949fd Submitted by: abial@nask.pl
Minor fix to support SLICE in MFS...
1998-05-11 19:27:18 +00:00
bde
bd78228c8a Oops, the lex and yacc sources must be added to SRCS before ${SRCS}
is used in the dependency list for ${DEPENDFILE}.  `make depend' was
broken for a few days.  `make world' only uses `make depend' when
NOCLEAN is defined, so only a few people noticed the bug.

Submitted by:	mostly by jmg
1998-05-11 15:37:13 +00:00
sos
104c453d8a Oops, only apply the CHS size from lbasize thing when disk reports
"too big for CHS" ie 16383 cyls..
1998-05-11 15:30:43 +00:00
bde
9c3f7a58b7 Fixed gross errors in previous commit. `sapipe' was used uninitialized
to attempt to unblock SIGCHLD, but we actually want to unignore SIGPIPE.

Obtained from:	OpenBSD

Finished conversion from sigvec to sigaction (don't assume that sa_mask
is a scalar...).  Didn't convert from sigblock to sigprocmask.  Didn't
fix missing error checking for sigaction...
1998-05-11 12:11:59 +00:00
peter
a655f5ca99 Delete some large chunks of trailing whitespace since it was making some
lines longer than 80 columns.
1998-05-11 11:26:28 +00:00
jb
d2a06d115d The yacc makefile changes don't seem to know when to generate the
header file and when not to, so for the time being make sure the
sucker gets generated up front.
1998-05-11 09:33:55 +00:00
jb
7d3ddb8180 Add CROSS_TARGETS to the list of GASES to build. We end up with a separate
gas for each target format. So for m68k targets that means several
gases. I wanted a m68k gas for VxWorks which uses aout in sun3 big
endian format, cross compiled on i386 under FreeBSD using libraries
supplied by DEC and intended by them for cross compilation on Alpha
under OSF/1. And it actually works!
1998-05-11 09:31:17 +00:00
jb
6fd3417e4c Make a path absolute. 1998-05-11 09:26:39 +00:00
jb
98a94bbde8 Change the return types for strtoq and strtouq to int64_t and u_int64_t
instead of long long and unsigned long long. Really they should be
quad_t and u_quad_t, but that would require sys/types.h and this
header only includes machine/types.h. The difference here is that
int64_t and u_int64_t on alpha are long and unsigned long, not
long long etc. This is required to pass gcc's type checking where
long != long long even though they are the same size of alpha.
1998-05-11 09:22:21 +00:00
jb
4db10719a2 Make -Werror i386 specific because gcc with -nostdinc on alpha belches
warnings about static inline functions that cause the build to fail.

And for some reason, alpha needs MD5. Find that out later!
1998-05-11 09:15:03 +00:00
jb
81f1277422 Cast a pointer to a long, not an int and make the arg passed to the function
a long too (it does have a proper prototype).
1998-05-11 09:10:38 +00:00
dyson
2e8880cf6c Change some tests from CPU_CLASS686 to CPU_686 as appropriate, and
also correct a serious ommision that would cause process faulures
due to forgetting an invltlb type operatino.  This was just a
transcription problem.
1998-05-11 08:11:57 +00:00
peter
57672ffc10 Fix PR 1607, hopefully without breaking the PR 5208 fixes.
umount() was trying to stat() the mountpoint, this would fail if the
mountpoint was a NFS mountpoint, and the fallback code would try and pass
a hostname:/dir path as the mountpoint to unmount(2), which would fail.

This whole stat() of the name supplied on the command line business is
trouble as it'll wedge on a hung NFS mount.

I'm not entirely sure why we are not simply looking up both arguments
in the mount table and doing the right thing without accessing the
filesystem.  It seems that we're going to a lot of trouble to allow
mountpoints on symlinks and other wierd things.

PR: 1607
1998-05-11 07:38:42 +00:00
dyson
94818c02a9 Fix the futimes/undelete/utrace conflict with other BSD's. Note that
the only common  usage of utrace (the possible problem with this
commit) is with malloc, so this should be a real problem.  Add
the various NetBSD syscalls that allow full emulation of their
development environment.
1998-05-11 03:55:28 +00:00
steve
38222e982b Fix spelling error.
PR:		6572
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:44:55 +00:00
steve
616fb5fd8c Change NBPG to PAGE_SIZE to match one of phk's recent commits.
PR:		6573
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:41:51 +00:00
dyson
a9a6ff9245 Support better performance with P6 architectures and in SMP
mode.  Unnecessary TLB flushes removed.  More efficient
page zeroing on P6 (modify page only if non-zero.)
1998-05-11 02:13:47 +00:00
dyson
300024a5ab Attempt to set write combining mode for graphics devices. 1998-05-11 01:06:08 +00:00
jkh
424ba46fc6 Make Mitsumi and Sony CDROM devs also use the `a' device. I think
they'll have (or are having) similar problems to those described
for the matcd device in PR#6576
1998-05-11 00:47:27 +00:00
jkh
cc0fc15366 It was incorrect to use the `c' device for the matcd driver;
apparently, unlike the IDE or SCSI CDROM drivers, this is magically
special-cased for audio CDs.  This also might explain what happened
with scd (Sony) CDs also since I made the same change there.  A follow-up
commit will fix that. Thanks, Dave!

PR:		6576
Submitted by:	Dave Marquardt <marquard@zilker.net>
1998-05-11 00:45:06 +00:00
steve
be43061dcb Add support for the Yamaha YMF-719.
PR:		6348
Submitted by:	Yoshiak Uchikawa <yoshiaki@kt.rim.or.jp>
1998-05-10 23:53:27 +00:00
jb
e3b9898f3f Remove a 'const' because it was getting thrown away anyway. 1998-05-10 23:48:18 +00:00
jb
febd4cf311 There is no alpha asm code like on i386, so all the functions that
the i386 builds with a __generic prefix need to have that stripped.
1998-05-10 23:46:01 +00:00
jb
be21c03655 Cast a pointer to a long, not an int before masking it. 1998-05-10 21:22:47 +00:00
jb
f49610cadf Remove 'of type long' from a sentence talking about four 4-byte values
because that is wrong on alpha.
1998-05-10 21:21:01 +00:00
jb
db5407b77a ut_time is a time_t, not a long. 1998-05-10 21:13:30 +00:00
hoek
3ac9bb9d39 1) kill -HUP syslog, even if compressing supposedly "binary" files
PR:	docs/6385

2) -n (noaction) does not imply -r (run as non-root), since as of
   Rev. 1.12 (ache), -r changes actual behaviour.

3) missing \n from if(noaction) messages.
1998-05-10 21:13:29 +00:00
jb
1f2fac122b Treat all internet addresses as u_int32_t. 1998-05-10 20:51:46 +00:00
jb
1ac1089153 Don't try to build shared libraries or libc_r yet.
Add a message about adding the man user that NetBSD doesn't have.
1998-05-10 20:24:52 +00:00
hoek
0f095add88 Arg! Someone fixed the synopsis in -stable's newsyslog.8, but not
in -current.  However, they fixed both the ordering and the missing -F
flag.  Merge from 22 and fix ordering here, too.
1998-05-10 19:04:06 +00:00
hoek
e5ed6263a6 Fix the usage here, too (-F option).
Typo fix in comment ("Force the tim now matter what" s/tim/trim/)
1998-05-10 18:47:50 +00:00
hoek
7c6cfdea24 1) Remove a line that somehow strayed from the one true path of
its sentence.
2) Fix usage (-F option).
1998-05-10 18:41:16 +00:00
bde
7821aa1124 Removed share/info from build-tools. It should never have been there,
and became redundant when it was put in SUBDIR, and became bogus when
WORLDTMP was introduced, and became broken when INFODIR was introduced.

PR:		6138
1998-05-10 16:51:07 +00:00
steve
8d4171d696 Fix minor typo.
PR:		6571
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-05-10 16:35:31 +00:00
bde
5a9e814a5d Removed bogus dependencies of generated .c files on generated headers. 1998-05-10 16:03:17 +00:00
bde
4b408b42d7 Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00
bde
e27017f09d Fixed the usual missing dependencies on headers generated by rpcgen. 1998-05-10 15:54:22 +00:00
bde
112be1e2fb Simplified by putting all generated headers in SRCS. The explicit
dependencies on *.o were complete, but this was not obvious.
1998-05-10 15:48:54 +00:00