summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not remove include of <sys/param.h> and <sys/types.h>. They shouldcharnier1998-05-131-1/+2
| | | | | be here before including almost any POSIX header. Requested by: Bruce
* Restore Lite2 sccsids by removing `const'. Improve documentation a little.charnier1998-05-132-15/+11
| | | | Suggested by: Bruce
* The printf type checking in gcc wants %qd to be a long long, so addjb1998-05-131-2/+2
| | | | a cast in case off_t is not a long long (as on alpha).
* Make -Werror i386 specific because -nostinc on alpha spits warningsjb1998-05-133-6/+17
| | | | for unused static inline functions in header files.
* Delete the #if 0 (nearly) duplicate definitions of nfsproto.h. Havingpeter1998-05-131-281/+1
| | | | | | | | these two files that are almost-but-not-quite the same leads to false grep hits, confusion etc. Only installing one copy with a symlink would be nice but that doesn't work with SHARED=symlinks (it changes the source tree).
* Hold a reference to the vnode during the sillyrename cleanup. If we blockpeter1998-05-132-2/+18
| | | | | | | | | | | | | | | in nfs_vinvalbuf() or the nfs_removeit(), we can have the nfsnode reallocated from underneath us (eg: replaced by a ufs 'struct inode') which can cause disk corruption ('freeing free block' when di_db[5] gets trashed). This is not a cheap fix, but it'll do until the nfsnodes get reference counting and/or locking. Apparently NetBSD have a similar fix (apparently from BSDI). I wish all PR's had this much useful detail. :-) PR: 6611 Submitted by: Stephen Clawson <sclawson@marker.cs.utah.edu>
* Fix broken (at least on alpha, but probably on i386 too) code whichjb1998-05-131-4/+4
| | | | | is supposed to walk an arry of character pointers, not an array of characters.
* Move the *vpp initialization earlier so that it's set in all error cases.peter1998-05-132-4/+4
| | | | | | | This should stop the 'panic: leaf should not be empty' nfs panic. PR: 1856 Submitted by: msaitoh@spa.is.uec.ac.jp
* Add perl to the list of build tools because it is needed to build thejb1998-05-121-3/+3
| | | | perl-related directories (like x2p which generates the perl headers).
* perl now works on alpha.jb1998-05-121-2/+2
| | | | This just leaves gdb to be configured for alpha.
* This code casts double -> int -> char *. Ugh. Take a punt and change thejb1998-05-121-7/+12
| | | | | int to a long so that no bits are thrown away on alpha and hope for the best.
* Change a cast of long * to time_t * in a call to time();jb1998-05-121-2/+8
|
* Allow the makefile to choose the perl executable to run h2ph ratherjb1998-05-121-2/+11
| | | | than relying on the #!/usr/bin/perl in the first line of the script.
* If perl exists in OBJDIR it has just been built; if it exists injb1998-05-121-1/+1
| | | | | | | | | | | | CURDIR it has been built without an obj directory; however if it is in neither of those places, we expect it to be in DESTDIR. Yes Bruce, I know this is broken because the host is not supposed to be the same as the target, but we need to get the hosted build working properly first before even attempting a cross compiled operating system build. That will need to concept of TOOLSDIR or something that can be mapped to DESTDIR in the case of a hosted build and set to the installed tools in a cross compiled build. Later, later, later!
* Change .if to .elif to prevent the current directory path search for ajb1998-05-121-2/+1
| | | | | | | | perl executable from overriding the object directory path search where perl is most likely to be. Most people haven't seen this because it defaulted to /usr/bin/perl which might be OK as a fallback, but when bootstrapping a new version (or the *first* version on alpha), we don't really want to use /usr/bin/perl.
* awk and groff (et al) now work on alpha as the result of libraryjb1998-05-121-4/+4
| | | | fixes.
* Build awk and groff with build tools now.jb1998-05-121-26/+6
|
* Some temporary fixes to SMP to make it more scheduling and signal friendly.dyson1998-05-123-9/+39
| | | | | | | This is a result of discussions on the mailing lists. Kudos to those who have found the issue and created work-arounds. I have chosen Tor's fix for now, before we can all work the issue more completely. Submitted by: Tor Egge
* Fix alot of silly LINT that I left in the code.dyson1998-05-122-4/+4
|
* Backed out previous commit. It is invalid to call d_ioctl() onbde1998-05-123-18/+7
| | | | | | | | | | | | possibly non-open devices, and we don't want to restrict dumping to swap devices anwyay. It is especially invalid to call d_ioctl() in non-process context for panics. d_psize() can be called on non-open devices, at least on non-SLICED ones that support d_dump(), and setdumpdev() has depended on this for a long time although it is probably wrong, but even d_psize() can't be called in non-process context - that's why dumpsys() depends on previously computed values although these values may be stale. The historical restriction to devices with dkpart(dev) == SWAP_PART should go away.
* Reserve major number 99 for vak's cronyx/tau serial driver.jkh1998-05-122-2/+6
|
* Don't attempt to read process context from the kernel when (thebde1998-05-123-6/+6
| | | | | | 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'.
* Add upcoming NetBSD 1.3.2wosch1998-05-121-4/+4
| | | | Submitted by: Sune Stjerneby <stjerneby@usa.net>
* Some commands are shell builtins. Execute the builtins by the shellwosch1998-05-121-1/+50
| | | | | | | and not directly by make(1). PR: bin/6550 Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
* Give a reasonable default value (-p /var/run/xntpd.pid) to xntpd_flags.max1998-05-121-2/+2
|
* Sync with sys/i386/isa/wd.c revision 1.167.kato1998-05-121-2/+3
|
* Sync with sys/i386/conf/options.i386 revision 1.78.kato1998-05-122-2/+4
|
* Sync with sys/i386/conf/majors.i386 revision 1.40.kato1998-05-121-1/+2
|
* Add upcoming FreeBSD 2.2.7 and FreeBSD 2.2.8wosch1998-05-121-5/+11
| | | | Add NetBSD-1.3.1.
* Go back to 240640 split size. Interesting experiment but somebodyjkh1998-05-121-2/+2
| | | | | still needs to figure out the 1.2MB floppy problem before we touch (or possibly eliminate) this value.
* Add C++ support.jb1998-05-121-0/+2
| | | | | Submitted by: Russell L. Carter <rcarter@pinyon.org> fixes omniORB25 built with g++-2.8.1 on -current
* Fix the termination test in CIRCLEQ_FOREACH.gibbs1998-05-121-2/+4
| | | | Prompted by: Julian Assange <proff@iq.org>
* Add missing splx()julian1998-05-111-1/+2
| | | | Submitted by: Luoqi Chen <luoqi@chen.ml.org>
* Submitted by: abial@nask.pljulian1998-05-111-1/+10
| | | | Minor fix to support SLICE in MFS...
* Oops, the lex and yacc sources must be added to SRCS before ${SRCS}bde1998-05-111-40/+40
| | | | | | | | 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
* Oops, only apply the CHS size from lbasize thing when disk reportssos1998-05-111-2/+3
| | | | "too big for CHS" ie 16383 cyls..
* Fixed gross errors in previous commit. `sapipe' was used uninitializedbde1998-05-111-7/+11
| | | | | | | | | | 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...
* Delete some large chunks of trailing whitespace since it was making somepeter1998-05-111-16/+16
| | | | lines longer than 80 columns.
* The yacc makefile changes don't seem to know when to generate thejb1998-05-111-2/+2
| | | | | header file and when not to, so for the time being make sure the sucker gets generated up front.
* Add CROSS_TARGETS to the list of GASES to build. We end up with a separatejb1998-05-111-2/+4
| | | | | | | | 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!
* Make a path absolute.jb1998-05-111-2/+2
|
* Change the return types for strtoq and strtouq to int64_t and u_int64_tjb1998-05-111-3/+2
| | | | | | | | | 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.
* Make -Werror i386 specific because gcc with -nostdinc on alpha belchesjb1998-05-111-1/+6
| | | | | | warnings about static inline functions that cause the build to fail. And for some reason, alpha needs MD5. Find that out later!
* Cast a pointer to a long, not an int and make the arg passed to the functionjb1998-05-111-2/+2
| | | | a long too (it does have a proper prototype).
* Change some tests from CPU_CLASS686 to CPU_686 as appropriate, anddyson1998-05-112-16/+36
| | | | | | also correct a serious ommision that would cause process faulures due to forgetting an invltlb type operatino. This was just a transcription problem.
* Fix PR 1607, hopefully without breaking the PR 5208 fixes.peter1998-05-111-7/+7
| | | | | | | | | | | | | | | | 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
* Fix the futimes/undelete/utrace conflict with other BSD's. Note thatdyson1998-05-1112-205/+873
| | | | | | | 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.
* Fix spelling error.steve1998-05-111-1/+1
| | | | | PR: 6572 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* Change NBPG to PAGE_SIZE to match one of phk's recent commits.steve1998-05-111-2/+2
| | | | | PR: 6573 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* Support better performance with P6 architectures and in SMPdyson1998-05-119-31/+217
| | | | | mode. Unnecessary TLB flushes removed. More efficient page zeroing on P6 (modify page only if non-zero.)
OpenPOWER on IntegriCloud