summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add Alice Liddell, Christopher Robin Milne and Winnie-the-Pooh, whotanimura2004-06-011-0/+5
| | | | inspired well-known stories for children.
* Fixed manpage's synopsis, and synchronized it with the program's usage().ru2004-06-012-6/+6
|
* Whitespace correction - #define should be followed by a tab.truckman2004-06-011-1/+1
|
* Finish repo move arlconfig -> arlcontrol.fjoe2004-06-015-601/+11
|
* Change the signature of ftok from (const char *, char) to (const char *, int)tjr2004-06-011-1/+1
| | | | Obtained from: NetBSD (christos)
* Axe the old midi drivers and framework. matk has developed a newtanimura2004-06-0119-12406/+0
| | | | module-friendly midi subsystem to be merged soon.
* Add latinamerican.iso.accache2004-06-012-2/+4
|
* Collapse aac_map_command() into aac_startio(). Check the AAC_QUEUE_FRZN inscottl2004-06-011-43/+31
| | | | | | every iteration of aac_startio(). This ensures that a command that is deferred for lack of resources doesn't immediately get retried in the aac_startio() loop. This avoids an almost certain livelock.
* Update the "All I really need to know I learned in kindergarten" entrydougb2004-06-011-25/+36
| | | | | by using the text from the Villard Books edition (1989, pages 6 through 8) and formatting to fit in 72 columns.
* * Reformat several attributions according to ../Notes (mostly whitespace)dougb2004-06-012-445/+420
| | | | | | | | * Spell out some names that were pointlessly abbreviated * Remove a couple of incidental duplicates * Harry Truman had no actual middle name. The initial "S" was added to his name to make him appear more statesmanlike. Therefore it's not usually punctuated. * Format a couple of actual fortunes to fit into 72 columns
* Add a global mutex, accept_filter_mtx, to protect the global list ofrwatson2004-06-011-7/+17
| | | | accept filters and prevent read-modify-write races.
* lat-amer -> latinamerican keymapache2004-06-012-2/+2
| | | | PR: 67365
* Fix so `ps' catches and complains about null-values specified for agad2004-06-011-3/+8
| | | | | | | process id, instead of using pid==0. Ie, `ps -p 12,' and `ps -p ,12' are now errors (instead of being treated like `ps -p 0 -p 12'). Noticed by: Cyrille Lefevre on freebsd-arch
* The SS_COMP and SS_INCOMP flags in the so_state field indicate whetherrwatson2004-06-017-19/+24
| | | | | | | | the socket is on an accept queue of a listen socket. This change renames the flags to SQ_COMP and SQ_INCOMP, and moves them to a new state field on the socket, so_qstate, as the locking for these flags is substantially different for the locking on the remainder of the flags in so_state.
* Additional tiny adjustment to kludge-option processing so `ps t p0'gad2004-06-011-6/+7
| | | | | | | | is treated like `ps -t p0', instead of changing it to `ps -T p0'. Note that `ps t' is still changed to `ps -T', since that is one of the main reasons for this kludge processing... Noticed by: Jilles Tjoelker on freebsd-arch
* Rewrite the kludge-option processing to improve how it handles a fewgad2004-06-011-62/+91
| | | | | | | | | | | | | | | | | | | | more special situations. This is the code which process `ps blah', when "blah" does not include a leading '-'. This change also removes a long-undocumented BACKWARD_COMPATIBILITY compile-time option, where: ps -options arg1 arg2 (with no '-' on "arg1" and "arg2") was treated as: ps -options -N arg1 -M arg2 This also changes `ps' to check for any additional arguments after processing all the '-'-options, and attempt to use those arguments as a pid or pidlist. If an extra argument is not a valid pidlist, then `ps' will print an error and exit. This seems a more generally useful extension of the kludge-option processing than the -N/-M behavior, and has fewer confusing side-effects. Reviewed by: freebsd-arch
* Fix a comment above uma_zsecond_create(), describing its arguments.bmilekic2004-06-011-3/+3
| | | | | | | It doesn't take 'align' and 'flags' but 'master' instead, which is a reference to the Master Zone, containing the backing Keg. Pointed out by: Tim Robbins (tjr)
* Honor NOINET6 and disable IPv6 support in libmilter and sendmail if itgshapiro2004-06-013-3/+15
| | | | | | is set. MFC after: 4 days
* Add MSG_NBIO flag option to soreceive() and sosend() that causestruckman2004-06-013-14/+10
| | | | | | | | | | | | them to behave the same as if the SS_NBIO socket flag had been set for this call. The SS_NBIO flag for ordinary sockets is set by fcntl(fd, F_SETFL, O_NONBLOCK). Pass the MSG_NBIO flag to the soreceive() and sosend() calls in fifo_read() and fifo_write() instead of frobbing the SS_NBIO flag on the underlying socket for each I/O operation. The O_NONBLOCK flag is a property of the descriptor, and unlike ordinary sockets, fifos may be referenced by multiple descriptors.
* Remove debugging printf that never triggered because acpi is the firstnjl2004-06-011-2/+0
| | | | user of nexus::bus_get_resource.
* Add a warning note to security.jail.allow_raw_socketscsjp2004-06-011-1/+4
| | | | | | | | | | | | | | | about the risks of enabling raw sockets in prisons. Because raw sockets can be used to configure and interact with various network subsystems, extra caution should be used where privileged access to jails is given out to untrusted parties. As such, by default this option is disabled. A few others and I are currently auditing the kernel source code to ensure that the use of raw sockets by privledged prison users is safe. Approved by: bmilekic (mentor)
* Remove duplicates of the "wherever you go, there you are" fortune,dougb2004-06-012-8/+5
| | | | | quote directly from the movie, and give a better attribution (with correct spelling) for Buckaroo Banzai.
* "Get rid of the nested include of <sys/module.h> from <sys/kernel.h>" ormlaier2004-05-313-0/+3
| | | | | | | better do no longer depend on it. Requested-by: phk Approved-by: bms(mentor)
* Bring in mbuma to replace mballoc.bmilekic2004-05-3123-2337/+1701
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mbuma is an Mbuf & Cluster allocator built on top of a number of extensions to the UMA framework, all included herein. Extensions to UMA worth noting: - Better layering between slab <-> zone caches; introduce Keg structure which splits off slab cache away from the zone structure and allows multiple zones to be stacked on top of a single Keg (single type of slab cache); perhaps we should look into defining a subset API on top of the Keg for special use by malloc(9), for example. - UMA_ZONE_REFCNT zones can now be added, and reference counters automagically allocated for them within the end of the associated slab structures. uma_find_refcnt() does a kextract to fetch the slab struct reference from the underlying page, and lookup the corresponding refcnt. mbuma things worth noting: - integrates mbuf & cluster allocations with extended UMA and provides caches for commonly-allocated items; defines several zones (two primary, one secondary) and two kegs. - change up certain code paths that always used to do: m_get() + m_clget() to instead just use m_getcl() and try to take advantage of the newly defined secondary Packet zone. - netstat(1) and systat(1) quickly hacked up to do basic stat reporting but additional stats work needs to be done once some other details within UMA have been taken care of and it becomes clearer to how stats will work within the modified framework. From the user perspective, one implication is that the NMBCLUSTERS compile-time option is no longer used. The maximum number of clusters is still capped off according to maxusers, but it can be made unlimited by setting the kern.ipc.nmbclusters boot-time tunable to zero. Work should be done to write an appropriate sysctl handler allowing dynamic tuning of kern.ipc.nmbclusters at runtime. Additional things worth noting/known issues (READ): - One report of 'ips' (ServeRAID) driver acting really slow in conjunction with mbuma. Need more data. Latest report is that ips is equally sucking with and without mbuma. - Giant leak in NFS code sometimes occurs, can't reproduce but currently analyzing; brueffer is able to reproduce but THIS IS NOT an mbuma-specific problem and currently occurs even WITHOUT mbuma. - Issues in network locking: there is at least one code path in the rip code where one or more locks are acquired and we end up in m_prepend() with M_WAITOK, which causes WITNESS to whine from within UMA. Current temporary solution: force all UMA allocations to be M_NOWAIT from within UMA for now to avoid deadlocks unless WITNESS is defined and we can determine with certainty that we're not holding any locks when we're M_WAITOK. - I've seen at least one weird socketbuffer empty-but- mbuf-still-attached panic. I don't believe this to be related to mbuma but please keep your eyes open, turn on debugging, and capture crash dumps. This change removes more code than it adds. A paper is available detailing the change and considering various performance issues, it was presented at BSDCan2004: http://www.unixdaemons.com/~bmilekic/netbuf_bmilekic.pdf Please read the paper for Future Work and implementation details, as well as credits. Testing and Debugging: rwatson, brueffer, Ketrien I. Saihr-Kesenchedra, ... Reviewed by: Lots of people (for different parts)
* Treat IPv4 private address as global scope rather than site scope.ume2004-05-311-1/+1
| | | | | Though it breaks RFC 3484, without this change, dest addr selection doesn't work well under NAT environment.
* Assert Giant in vn_start_write() and vn_finished_write().rwatson2004-05-311-0/+4
|
* Correction: -h should be a synonym for -L, not -H.kientzle2004-05-312-3/+3
| | | | (as specified by Linux Standards Base, GNU tar, and 4.4BSD documentation)
* Giant wasn't dropped here if we have to return EBUSY. This is bad.bmilekic2004-05-311-1/+3
|
* use source address as a hint to determine destination address.ume2004-05-311-0/+111
| | | | Obtained from: KAME
* Release NFS subsystem lock and acquire Giant when calling intorwatson2004-05-311-0/+4
| | | | vn_start_write().
* Assert Giant in vrele().rwatson2004-05-311-0/+2
|
* MFC: cron(8) -j and -J options.yar2004-05-312-2/+2
|
* - Fix typokrion2004-05-311-1/+1
| | | | Approved by: tobez
* Add an assertion that nfssvc() isn't called with Giant.rwatson2004-05-311-0/+10
| | | | | | | | | Add two additional pairs of assertions, one at the end of the NFS server event loop, and one one exit from the NFS daemon, that assert that if debug.mpsafenet is enabled, Giant is not held, and that if it is not enabled, Giant will be held. This is intended to support debugging scenarios where Giant is "leaked" during NFS processing.
* Necessary modifications do get pcf working again for ISA. Tested withnsouch2004-05-312-15/+55
| | | | | | | | | | my Elektor card. Note that the hints are necessary to specify the IO base of the pcf chip. This enables to check the IO base when the probe routine is called during ISA enumeration. The interrupt driven code is mixed with polled mode, which is wrong and produces supposed spurious interrupts at each access. I still have to work on it.
* Use __isctype() instead of __istype() for iswdigit() and iswxdigit() fortjr2004-05-311-2/+2
| | | | consistency with <ctype.h>.
* Add russian translation for hardware notes and connect it to the buildden2004-05-3124-2/+2719
| | | | | | Build proc-alpha from english sources Obtained from: The FreeBSD Russian Documentation Project
* Devclass have to be shared with same 'pcm' devclass, ortakawata2004-05-311-1/+0
| | | | unit management will corrupt.
* Add common share/locale directories (everything used by >= 5 ports [1]) andkris2004-05-312-0/+176
| | | | | | | | | | /usr/local/www [1] Semi-arbitrary cutoff, but I didn't want to add every locale directory used by ports, because a lot are only used by one or two, and it's less intrusive for these ports to just clean up after themselves. MFC after: 2 days
* The NFS server modevent code manually patches the system call table torwatson2004-05-311-1/+1
| | | | | | | | | | | install nfssvc(). It also updates the argument count, but did so without setting SYF_MPSAFE, effectively removing the MPSAFE flag even when syscalls.master indicates it doesn't require Giant. This change forces the modevent to set MPSAFE as a flag to its internal notion of an argument coutn. Note: this duplication of information is a bad thing, but is a more general problem I'm not currently willing to address.
* Include <machine/bus.h> and <machine/resource.h> here (only in theimp2004-05-301-0/+3
| | | | | | | | | | kernel). No other sys/*.h file requires machine/foo.h to be included before it. In addition, all the files that include rman.h would need to include those two anyway. From these two perspectives, it is traditional to include things like this. This lets us stop treating sys/rman.h specially in every bus frontend file.
* One more case where we want to drop the NFS server lock and acquirerwatson2004-05-301-1/+6
| | | | | | | Giant when entering VFS. Discovered by code inspection; still not hit without debug.mpsafenet=1. Reported by: bmilekic
* Acquire Giant around two more cases when calling into VFS to vput()rwatson2004-05-301-13/+22
| | | | | | | | | a vnode. Not bumped into with asserts in the main tree because we run the NFS server with Giant by default. Discovered by inspection. Complete annotations of Giant acquisition/release to note that it's only because of VFS that we acquire Giant in most places in the NFS server.
* Turn down the queue size by 8 until I can figure out why the 512th commandscottl2004-05-301-1/+1
| | | | keeps on getting lost.
* Remove a stale comment: PG_DIRTY and PG_FILLED were removed inalc2004-05-301-2/+0
| | | | revisions 1.17 and 1.12 respectively.
* Add missing #include <sys/module.h>phk2004-05-3017-0/+17
|
* Describe pkg_version_indexbrian2004-05-301-0/+21
| | | | Reviewed by: joe
* add missing #include <sys/module.h>phk2004-05-3037-0/+37
|
* Add missing <sys/module.h> includesphk2004-05-30113-1/+114
|
* Add missing <sys/module.h> includesphk2004-05-3036-0/+36
|
OpenPOWER on IntegriCloud