summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Some missed magic in the fsck wrapper commit which is required by otheradrian2000-10-096-1264/+1384
| | | | | | | | | | | | | utilities which use bits of fsck_ffs - namely quotacheck and fsdb. In depth, utilities.c contains blockcheck() which is needed by both, but also a slew of routines which require bits of the FFS code to be compiled in. This breaks the fs-specific and non-fs-specific code up into two files (well, blockcheck() is the only routine in utilities.c, that'll change later) which makes building fsck_ffs, quotacheck and fsdb work yet again. (You won't find commits to fsdb and quotacheck here before I haven't committed the post-fsck-wrappers version of them yet.)
* String buffer overflow cleanup.kris2000-10-098-39/+39
| | | | Reviewed by: green, alex
* Reviewed by: rwatson, bpadrian2000-10-0917-359/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetBSD-current source tree The beginnings of the fsck wrappers stuff from NetBSD. This particular commit brings a newly repo-copied sbin/fsck_ffs/ (from sbin/fsck/) into fsck wrappers mode. A quick overview (the code reflects this): * Documentation changed to reflect fsck_ffs instead of fsck * Simply acts on a single filesystem, doesn't try to do any multiple filesystem magic - this is done by the fsck wrappers now And then specific to fsck_ffs: * link to /sbin/fsck_4.2bsd and /sbin/fsck_ufs. This is because right now the filesystem is of type ufs not ffs, and that during autodetection the labeltype rather than the VFS type is used - this is because when doing an autodetection of filesystem type in the fsck wrapper program, it does not have any link between label type (4.2bsd, vinum, etc) and VFS string. Note that this shouldn't break a build since the required buildworld Makefile magic and import of the fsck wrapper code into src/sbin/fsck/ will happen in a seperate commit.
* Initiate deorbit burn sequence for <machine/mouse.h>.phk2000-10-0918-1022/+29
| | | | | | | | | | Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed.
* A couple of negative options was not commented out in NOTES/LINT. Thisphk2000-10-093-4/+6
| | | | obscured a #include bug in syscons.
* String buffer safety cleanup. I don't think any of these were exploitablekris2000-10-094-12/+8
| | | | | | | | | | | remotely, but they would be if e.g. it happened to call the logging function using a DNS hostname. Also replace random() by arc4random() - only one of these is arguably required since it's directly used in the protocol, but we might as well replace both to avoid using two different PRNGs. Reviewed by: green, alex
* Don't overflow in command-line argskris2000-10-091-2/+2
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Unremoved used include of <machine/ipl.h>. Removing it in rev.1.95bde2000-10-093-0/+3
| | | | | | | significantly pessimized syscalls by arranging to do null rescheduling on return from every syscall. (AST_RESCHED was not defined, and the mask ~AST_RESCHED gets replaced by the useless mask ~0. This bug has been fixed before, in rev.1.92.)
* Add :L and :U variable modifiers. These convert the variable's value towill2000-10-092-0/+38
| | | | | | | | | all-lower or all-upper case characters, respectively. These were added to further reduce differences between NetBSD/OpenBSD and FreeBSD make(1) to propagate OpenPackages. PR: 19959 Submitted by: Gaspar Chilingarav <nm@web.am>
* Add :C/// variable modifier, which is similar to :S/// in functionalitywill2000-10-092-0/+414
| | | | | | | | | | | | | | but allows for regex. I removed NO_REGEX since no one could give a reason to have it, and since we don't use make in bootstrap tools, it's not needed. This is mostly added to synch up with NetBSD/OpenBSD so as to eliminate roadblocks in the OpenPackages project (see http://www.openpackages.org/). It's also quite useful, and costs us only about 3 kilobytes of space. PR: 21605 Submitted by: Hubert Feyrer <hubertf@NetBSD.org> Reviewed by: silence on -arch Obtained from: NetBSD
* rm miniperl && cd /usr/ports && cvs update -PAd now recommendedimp2000-10-091-0/+9
|
* o Record the pccard_function in the ivar.imp2000-10-092-8/+12
| | | | | o Use a macro function to get the ivar for the child rather than the casting directly. This should be a little safer and easier to read.
* Clean up error recovery code:gibbs2000-10-096-68/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aic7xxx.c: In target mode, reset the TQINPOS on every restart of the sequencer. In the past we did this only during a bus reset, but there are other reasons the sequencer might be reset. In ahc_clear_critical_section(), disable pausing chip interrupts while we step the sequencer out of a critical section. This avoids the possibility of getting a pausing interrupt (unexpected bus free, bus reset, etc.) that would prevent the sequencer from stepping. Send the correct async notifications in the case of a BDR or bus reset. In ahc_loadseq(), correct the calculation of our critical sections. In some cases, the sections would be larger than needed. aic7xxx.h: Remove an unused SCB flag. aic7xxx.seq: MK_MESSAGE is cleared by the kernel, there is no need to waste a sequencer instruction clearing it. aic7xxx_freebsd.c: Go through the host message loop instead of issuing a single byte message directly in the ahc_timeout() case where we are currently on the bus to the device. The effect is the same, but this way we get a nice printf saying that an expected BDR was delivered instead of an unexpected bus free. If we are requeuing an SCB for an error recovery action, be sure to set the DISCONNECTED flag in the in-core version of the SCB. This ensures that, in the SCB-paging case, the sequencer will still recognize the reselection as valid even if the version of the SCB with this flag set was never previously paged out to system memory. In the non-paging case, set the MK_MESSAGE flag in SCB_CONTROL directly. aic7xxx_pci.c: Enable the Memeory Write and Invalidate bug workaround for all aic7880 chips with revs < 1. This bug is rarely triggered in FreeBSD as most transfers end on cache-aligned boundaries, but a recheck of my references indicates that these chips are affected.
* Only attach "legacy" PCI busses if none have been attached via any othermsmith2000-10-092-6/+46
| | | | method.
* Validate the PCI bus number that we fetch from our parent, since there's nomsmith2000-10-092-4/+10
| | | | guarantee that everything attached to *it* is a PCI bus.
* Change the way that eventhandler lists are processed so that an eventmsmith2000-10-091-5/+9
| | | | | | | | handler can safely remove itself from a list while being run. (Note that it is not safe to remove anything else from the same list, as this may still cause corruption in the case where the removed item is next on the list.)
* Resolve the inconsistency between "the number of resources of a particularmsmith2000-10-092-7/+38
| | | | | | | | kind we can manage in a set of configurations" and "the number of resources of a particular kind that can be programmed into an ISA PnP adapter". Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Submitted by: Hirokazu WATANABE <gwna@geocities.co.jp>
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-0848-48/+81
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Add HP PhotoSmart C500 id.n_hibma2000-10-081-2/+6
| | | | | PR: kern/21841 Submitted by: josh@zipperup.org
* Add copyright notices. Other systems have been barrowing our /etc filesobrien2000-10-0839-23/+1017
| | | | w/o giving any credit.
* Use <space> not <tab> before VCS ID.obrien2000-10-081-1/+2
|
* Duh, it is mtree(8) that creates boot/kernel for us as refered to inobrien2000-10-080-0/+0
| | | | | rev 1.572. Of course if you are manually running the various Makefile targets, it may or may not get run.
* Don't install manpages.obrien2000-10-085-13/+0
| | | | They are being moved elsewhere, and they are causing problems being here.
* Unbreak detection of breakage in cy driver.bde2000-10-082-12/+12
|
* Made this file compile again after move of stuff from <machine.ipl.h>bde2000-10-082-2/+4
| | | | to <sys/ipl.h>.
* Use schedsofttty() again (SMPng casualty with intentionally wrong fixbde2000-10-083-15/+3
| | | | | | | in rev.1.101). Made this file compile again after move of stuff from <machine.ipl.h> to <sys/ipl.h>.
* Use schedsofttty() again so that siopoll() gets scheduled as designedbde2000-10-082-10/+0
| | | | (SMPng casualty in rev.1.308 with wrong fix in rev.1.310).
* KASSERT that mbuf external reference counts are > 0 before we removedwmalone2000-10-081-1/+4
| | | | a reference. (Agreed to by Bosko some time ago).
* Fixed printf format errors which corrupted /var/db/mounttab on i386's withbde2000-10-081-3/+5
| | | | | 64-bit longs (don't assume that time_t is long; assume that time_t's are representable as longs).
* Use the correct timestamp for the -C -p case when the comparison fails.bde2000-10-081-2/+2
| | | | | A garbage timestamp was used for at least installing /dev/null with -C -p when the target doesn't already exist.
* Enable use of poll()kris2000-10-081-1/+1
|
* Don't overflow our fd_set. This is not a full sync with KAME because therekris2000-10-081-9/+11
| | | | | | are a whole lot of other changes which may not be suitable for us. Obtained from: KAME
* Don't write past the end of our fd_setkris2000-10-081-4/+9
| | | | Obtained from: OpenBSD, via KAME
* Format string paranoia.kris2000-10-081-5/+5
|
* Sync with KAME. Don't write past the end of the fd_set.kris2000-10-081-6/+27
| | | | Obtained from: KAME
* Sync with KAME. Format string auditing and manpage cleanups.kris2000-10-082-7/+10
| | | | | Obtained from: KAME Submitted by: Bill Sommerfeld <sommerfeld@netbsd.org>
* add COREGA FEther PCC-TXFsanpei2000-10-083-2/+8
| | | | (MITA Yoshio <mita@ee.t.u-tokyo.ac.jp> in [bsd-nomads:14572])
* Sync with KAME. Format string auditing and manpage cleanups.kris2000-10-089-24/+42
| | | | | Obtained from: KAME Submitted by: Bill Sommerfeld <sommerfeld@netbsd.org>
* Format string paranoia.kris2000-10-081-3/+3
|
* Cleanup comment in machine/param.h regarding mbuf-related sizes, and get ridbmilekic2000-10-083-23/+15
| | | | | of MCLOFSET, which does not appear to be used anywhere anymore, and if it is, it probably shouldn't be.
* Correct corruption of the qinfifo in ahc_search_qinififo() for allgibbs2000-10-084-97/+106
| | | | | | | | | | | | | | | | | | | | | | | non-LVD controllers. We only need to take special action on the qinfifo if we have dectected the case of an SCB that has been removed from the qinfifo but has not been fully DMAed to the controller. A missing conditional caused this code to be executed every time an SCB was aborted from the queue Don't attempt to print the path of an SCB that has been freed. Clean up the traversal of the pending scb list in ahc_update_pending_syncrates(). This has no functional change. Correct ahc_timeout()'s requeing of a timedout SCB to effect a recovery action. We now use ahc_qinfifo_requeue() and a new function ahc_qinfifo_count() instead of performing the requeue inline. The old code did not conform to the new qinfifo method. Clear the timedout SCB from the disconnected list. This ensures that the SCB_NEXT field is free to be used for queuing us to the qinfifo.
* Conform to BDECFLAGSbillf2000-10-0822-643/+787
|
* Remove headers not needed.alfred2000-10-072-26/+0
| | | | Pointed out by: phk
* Forgot to remove the directory from mtree for the obsolete sendmailgshapiro2000-10-071-2/+0
| | | | documentation.
* remove unused #include.phk2000-10-071-1/+0
|
* Give the post-fix example a better description.alex2000-10-071-1/+1
| | | | | PR: 21646 Submitted by: "Peter Pentchev" <roam@orbitel.bg>
* Document the fact that sockstat now lists Unix domain sockets, and the newdes2000-10-071-3/+27
| | | | command-line options for selecting what to display.
* Total rewrite. This was actually the first non-trivial Perl script I everdes2000-10-071-26/+129
| | | | | | | | | | | | wrote, and as such was not very pretty. Changes that may cause problems for people who use sockstat in scripts: - sockstat(8) now displays Unix domain sockets in addition to IPv4 and IPv6 - the last period in local and foreign addresses is changed to a colon to make the port number easier to spot - IPv4 and IPv6 sockets are listed separately (IPv4 first, then IPv6, then Unix)
* Regen.n_hibma2000-10-072-61/+332
|
* Sync with NetBSD. More ids, more!n_hibma2000-10-071-14/+63
|
OpenPOWER on IntegriCloud