summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a minor typo.max1996-10-141-2/+2
|
* Adjust the boot-time userconfig options to match reality.jkh1996-10-141-2/+1
|
* pci_map_mem() did a too restrictive check on the mapping type:se1996-10-142-4/+8
| | | | | | PCI_MAP_MEMORY_TYPE_32BIT_1M should be accepted as well as PCI_MAP_MEMORY_TYPE_32BIT (and now is). (Problem reported by David Greenman.)
* oops, how did this get into the reinstall target? :-]peter1996-10-141-16/+1
| | | | | Must have been a cut/paste foulup... The whole idea of 'make reinstall' is that it doesn't build anything from the source server mount.
* Oops, PROBE_KEYBOARD_LOCK wasn't supposed to be enabled by default.bde1996-10-141-4/+3
|
* Move the initialization of np->ns_sync and ns_async out of ncr_getclock(),se1996-10-141-4/+4
| | | | | which does no longer get called for non-Ultra cards. Fix suggested by Gerard Roudier, slightly modified by me.
* A couple of minor nits.phk1996-10-141-5/+10
| | | | | Submitted by: Craig Leres <leres@ee.lbl.gov> Submitted by: Theo Deraadt <deraadt@theos.com>
* Yikes! Originally, i intended to apply the patch from PR # 1322,joerg1996-10-131-5/+6
| | | | | | | | | | | | | but Bill has beaten me on this. ;-) However, he missed the part to compute the kernelsize in kilobytes, so the minfree consideration was now overcautious. (I've also changed the return type of dump_size() to void since int was useless.) Being here, the fact that `vmcore' was written world-readable was just a plain security hole: everybody who was able to crash a kernel could later read any confidential information out of it at his will. Create it with umask 077 instead.
* The dos() function needs a new second argument, containing the sizebde1996-10-132-20/+26
| | | | | | | | | | | | | | | | | | of the partition. Only if the size is 0 should the special handling of 0 as first argument be triggered. [This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.] The init_sector0 function needs to decrease the first argument to the second call to dos() by one to be consistent with the calls to dos() in change_part(). [This bug caused fdisk -i to create bogus partition tables with the ending C/H/S value 1 too high. This usually gives S = 1 instead of S = maximum, so the geometry guessing in the slice code and perhaps in SCSI BIOSes was defeated.] Submitted by: Tor Egge <tegge@itea.ntnu.no>
* Make the savecore command work like the man page says:fenner1996-10-132-10/+21
| | | | | | | | | | | | | - make minfree work by getting the dump size before checking to see if the dump will fit on the filesystem - also fail to dump if no minfree is specified but there are not enough free blocks. Fix a typo in the man page. Fixes PR bin/1322 Submitted by: "Philippe C." <charnier@lirmm.fr>
* Build/install c++filt from g++, we already have all the sources andpeter1996-10-132-2/+60
| | | | | | | it's and useful. (Ever tried to read 'nm' and 'ldd -v' output on a c++ object or library? :-) This filter decodes the mangled symbol names.) Requested by: Chuck Robey <chuckr@glue.umd.edu>
* Uncomment the "raw" lp entry in /etc/printcap. We start lpd byjoerg1996-10-132-3/+33
| | | | | | | | | | default, so there's no use in running it without any printer definition in printcap. Also added a bunch of hints about the printer setup, to guide the admin about the printer setup (handbook, "apsfilter"), and a commented-out sample setup for a remote printer. In the same line, add /var/spool/lpd/output to BSD.var.dist since it is referred to by the "lp" entry in printcap.
* Fixed the security leek I introduced the other day, nowsos1996-10-131-3/+10
| | | | | shell command is only executabel from command files, not from the commandline.
* Remove some old compatibility names.phk1996-10-132-10/+2
|
* Stop using old compatibility names from buf.hphk1996-10-131-3/+3
|
* Remove a stale comment.phk1996-10-131-2/+1
|
* Pmap_resident_count was mistakenly removed from pmap.h, therebydyson1996-10-132-0/+4
| | | | | disabling the RSS listing in ps and ^T. This commit re-inserts the macro defn.
* Adjust release notes for upcoming re-SNAP.jkh1996-10-131-1/+18
|
* 8-Bit character support.wosch1996-10-136-67/+147
| | | | | | | | | | Old locate(1) programs still works with the new database format, print some garbage for 8 bit characters, but don't core (maybe except char 30). 7-Bit Puritan should not notice any difference. Same speed, Same database size if the database contain only ASCII characters. Reviewed by: ache
* Minor optimization for final rundown of a pmap.dyson1996-10-132-2/+12
|
* Change DEVFS device naming convention for cuac*, ttyc*.dg1996-10-133-21/+39
|
* Changed ttyc? and cuac? specifications to support multiple controllers.dg1996-10-132-36/+68
| | | | | A "MAKEDEV ttyc0" now creates 32 units for controller 0, ttyc1 for controller 1, etc..
* Changes to add support for the PCI version of the Cyclades Cyclom-Ydg1996-10-139-409/+811
| | | | serial adapter, and support for multiple Cyclom controllers.
* Be less draconian about distribution extraction errors - still writejkh1996-10-124-18/+22
| | | | /etc file changes out.
* Fixed lblktosize(). It overflowed at 2G. This bug only affectedbde1996-10-121-4/+7
| | | | | | | | | | | | | | | | | | ufs_read() and ufs_write(). Found by: looking at warnings for comparing the result of lblktosize() (which is usually daddr_t = long) with file sizes (which are u_quad_t for ufs). File sizes should probably be off_t's to avoid warnings when the are compared with file offsets, so the fixed lblktosize() casts to off_t instead of u_quad_t. Added definition of smalllblksize(). It is the same as the old lblksize() and is more efficient for small block numbers on 32-bit machines. Use smalllblktosize() instead of its expansion in blksize() and dblksize(). This keeps the line length short and makes it more obvious that the shift can't overflow.
* Undo a mistaken change from splhigh to splvm. Subr_rlist has beendyson1996-10-121-4/+4
| | | | | | capable of being used for things other than swap space allocation, and splvm would have been appropriate for only swap space allocation and other VM things. My commit broke that (and was actually a mistake.)
* Performance optimizations. One of which was meant to go in before thedyson1996-10-127-249/+103
| | | | | | | | previous snap. Specifically, kern_exit and kern_exec now makes a call into the pmap module to do a very fast removal of pages from the address space. Additionally, the pmap module now updates the PG_MAPPED and PG_WRITABLE flags. This is an optional optimization, but helpful on the X86.
* Cleaned up:bde1996-10-124-42/+30
| | | | | | | | | | | | - fixed a sloppy common-style declaration. - removed an unused macro. - moved once-used macros to the one file where they are used. - removed unused forward struct declarations. - removed __pure. - declared inline functions as inline in their prototype as well as in theire definition (gcc unfortunately allows the prototype to be inconsistent). - staticized.
* export variable TMPDIR (which maybe set, but not exported in /etc/locate.rc)wosch1996-10-121-2/+3
|
* Get the pysical address for id_maddr when opening an -incore kernel.erich1996-10-129-23/+27
| | | | | | | | | | | | This fixes the kernel panic when propagating userconfig changes to arbitrary kernels. Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where necessary. Fix getting scsi bus information from an -incore kernel. Turned on SAVE_USERCONFIG by default.
* Removed __pure's and __pure2's. __pure is a no-op for recent versionsbde1996-10-122-10/+7
| | | | | of gcc by definition, and __pure2 is a no-op in effect (presumably the compiler can see when an inline function has no side effects).
* Removed nested include if <sys/socket.h> from <net/if.h> andbde1996-10-1211-15/+20
| | | | | | | <net/if_arp.h> and fixed the things that depended on it. The nested include just allowed unportable programs to compile and made my simple #include checking program report that networking code doesn't need to include <sys/socket.h>.
* Log the interface name which received the packet.alex1996-10-121-8/+9
| | | | Suggested by: Hal Snyder <hsndyer@thoughtport.com>
* Some cosmetic tweaks, attempt to fix package wait problem by checkingjkh1996-10-127-25/+39
| | | | | for error return as well (not sure if this is it, but it's one possible explanation).
* Close PR#1781 - time returns with EXIT_SUCCESS on some failuresjkh1996-10-121-1/+3
| | | | Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
* Staticized `nfs_dwrite'.bde1996-10-122-4/+4
|
* Staticized. Things exported by linker sets should always be static.bde1996-10-122-4/+4
|
* Fix previous commit: The INB/OUTB macros require np->vaddr to bese1996-10-121-10/+10
| | | | | | initialized, or a kernel panic will occur. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* 1. Room to calculate MD5 for CHAP negotiation is shorter thanjkh1996-10-125-12/+30
| | | | | | | | | | | | | | | | required. a core is not dumped at first connecting time and dumped at second or third time. (patch I) 2. A routine for "show route" refers out of allocated space. Values pointed by "lp" should be read as CHAR, I think. there is also no free() for disallocation. (patch II) Here is also a patch for an improvement: In current imprementation, even if PPP connection is disconnected by time out, prompt of interactive mode does not change from "PPP>" to "ppp>" to indicate the disconnection on a terminal. So I modified the code to do that. (patch III) Submitted-By: NAKAMURA Motonori <motonori@econ.kyoto-u.ac.jp>
* Moved declarations of tsleep() and wakeup() from proc.h to systm.h sobde1996-10-122-4/+9
| | | | that proc.h doesn't have to be included so often.
* Removed verbose comment about `securelevel'. It just duplicated partbde1996-10-121-29/+2
| | | | of init.8 except for bugs and anachronisms.
* Rewrote the section about the "normal" setting of the security level tobde1996-10-121-15/+16
| | | | | | | match reality. Say that secured devices `may not be opened for writing' instead of `are read-only'.
* Catch a situation where the tty speed might be 0 (in the case of UUCPjoerg1996-10-121-5/+5
| | | | | | | over TCP), but is used as a divisor later, causing uucico to abort with a SIGFPE. Reviewed by: Ian Lance Taylor <ian@cygnus.com>
* Whoops, update the comment field while we're at it. (I *hate* the linknate1996-10-121-2/+2
| | | | to freefall!)
* In the same manner that we log the ipfw entries, log the kernel lognate1996-10-121-1/+17
| | | | messages using the output of dmesg.
* Remove extraneous comment, fix second-level tabs (onesteve1996-10-121-9/+3
| | | | | | | tab and four spaces), and return error message in *err instead of calling Parse_Error. Suggested by: Bruce Evans <bde@zeta.org.au>
* reads and writes to devices update m and a timesjulian1996-10-121-3/+9
| | | | | | add some security onn the chmod/chown operations should now be root or owner (still needs more thought but kinda-plugs tow holes pointed out by bde)
* Improve support of SCSI cards based on the 53c860 and 53c875.se1996-10-112-67/+124
| | | | | | | | | | | Still no support for Ultra-SCSI and other new features, but the code should now correctly initialize the clock pre-scaler (based on freqency measurement results, if necessary). Fix support of 16 targets for WIDE SCSI. Disable bus reset in case no progress is made for too long ("ncr dead" message), which did not work too well with scanners and other slow devices.
* Fix two bugs I accidently put into the syn code at the last minutepst1996-10-114-28/+40
| | | | | | | | | | (yes I had tested the hell out of this). I've also temporarily disabled the code so that it behaves as it previously did (tail drop's the syns) pending discussion with fenner about some socket state flags that I don't fully understand. Submitted by: fenner
* De-cruftify.wollman1996-10-113-192/+99
| | | | | Use the link MIB interface rather than groveling around in kmem. (No longer works on dead kernels, big deal.)
OpenPOWER on IntegriCloud