summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added ENVIRONMENT section (PAGER, MANPATH, etc.).garys2005-09-011-0/+13
| | | | | | | PR: docs/84485 Submitted by: garys Approved by: keramida MFC after: 3 days
* - Use prototypes in headers.stefanf2005-08-3110-43/+49
| | | | | - Include rpc_scan.h before rpc_util.h for the tok_kind enum. - Nuke unused declarations.
* - Add md_mtx lock to protect ID number and list of devices.pjd2005-08-311-25/+37
| | | | | | | | | | - Always check mdnew() return value, as even in !autounit case kthread_create() can fail. Those two changes fix serval panics provked by simple stress test. Tested by: Kris The BugMagnet MFC after: 3 days
* Rename the variable `inline' to `inline_size'.stefanf2005-08-314-16/+11
|
* Fix dangling callout problem in the Bluetooth L2CAP code that leads toemax2005-08-313-5/+14
| | | | | | | | | | | | panic. The panic happens when outgoing L2CAP connection descriptor is deleted with the L2CAP command(s) pending in the queue. In this case when the last L2CAP command is deleted (due to cleanup) and reference counter for the L2CAP connection goes down to zero the auto disconnect timeout is incorrectly set. pjd gets credit for tracking this down and committing bandaid. Reported by: Jonatan B <onatan at gmail dot com> MFC after: 3 days
* - Only call txp_release_resources() once if attach fails.jhb2005-08-311-38/+31
| | | | | | | - Set errno to ENXIO instead of 0 in several attach failure cases. - Setup the interrupt handler at the very end of txp_attach() after ether_ifattach(). - Various whitespace fixes in function prototypes.
* Use if_printf() and device_printf() for printf's and remove the unit numberjhb2005-08-312-20/+15
| | | | | | from the softc. MFC after: 3 days
* Improved descriptions of block size handling.garys2005-08-311-37/+48
| | | | | | | PR: docs/84765 Submitted by: garys Approved by: keramida MFC after: 3 days
* Update for a few recently discovered Olicom token ring cards:imp2005-08-311-1/+3
| | | | | OC3231 Token Ring + 28.8 modem OC3232 Token Ring + 33.6 modem
* More clarification on how bus_dmamap_sync works. Fix bogus text concerningscottl2005-08-311-11/+25
| | | | bus_dmamem_alloc.
* Add a short description of how a literal colon ':' can be inlined in thekeramida2005-08-311-0/+5
| | | | | | | value of capability databases, since it's not really obvious how a colon can be escaped, and a pointer to the getcap(3) manpage for more details. Triggered by: a question by Ceri on -questions
* Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++rodrigc2005-08-311-0/+9
| | | | | | | | programs. Also, add include guards. PR: bin/44277 Submitted by: Alex Zepeda <freebsd at blarf dot homeip dot net> MFC after: 1 day
* Use VLAN_TAG_VALUE() not only to read a dot1q tagyar2005-08-312-3/+8
| | | | | | | | | | | | | value from an m_tag, but also to set it. This reduces complex code duplication and improves its readability. Alas, we shouldn't rename the macro to VLAN_TAG_LVALUE() globally because that would cause pain for kernel module port maintainers and vendors using FreeBSD as their codebase. Added a clarifying comment instead. Discussed with: ru, glebius X-MFC-After: 6.0-RELEASE (MFC is good just to reduce the diff)
* net.graph.ngqfreemax has been deprecated.glebius2005-08-311-1/+0
|
* Remove getino(3) manpage. It doesn't document what is here, what is here shouldjmallett2005-08-311-116/+0
| | | | | | | not get documented, and what it does document isn't going to come to CVS any time in the immediate future. Patience of a saint: trhodes
* Fix braino in last commit. Print nothing if ipfw(4) is not present.glebius2005-08-311-2/+2
|
* Disconnect getino.3 and remove MLINK I added.trhodes2005-08-311-2/+1
| | | | Discussed with: jmallett
* Document the -l and -u options of the show command.marcel2005-08-311-1/+15
|
* o Replace unicode16() by utf8_to_utf16().marcel2005-08-314-19/+139
| | | | | | | | o Introduce utf16_to_utf8(). o Add option -l to the show command to display the GPT label instead of the friendly partition type. o Add option -u to the show command to suppress the friendly output and print th raw UUIDs instead.
* /* -> /*- for license.marcel2005-08-3111-11/+11
|
* Move "systemv" into OLDTIMEZONES clause; "backward" is a prerequisite.wollman2005-08-311-2/+2
| | | | | | ("systemv" is even more backward than "backward" is!) Obliquely pointed out by: jhay
* FDOPT_NORETRY is an option, and must be compared with fd->options,rodrigc2005-08-301-1/+1
| | | | | | | | not fd->flags. PR: kern/85481 Submitted by: Lev Levinson <llevinson at inbox dot ru> MFC after: 1 day
* Document the following:brueffer2005-08-302-6/+50
| | | | | | | | | | | | - VIA PadLock support + merge - dc, my, pcn, sf MPSAFE + merge - de, ed, ste MPSAFE - de converted to busdma(9) - el removed - geli(8) committed + merge - libmemstat(9) merge MFC after: 3 days
* Changes and cleanups to m_sanity():andre2005-08-301-18/+17
| | | | | | | | | o for() instead of while() looping over mbuf chain o paren's around all flag checks o more verbose function and purpose description o some more style changes Based on feedback from: sam
* Unbreak m_demote() and put back the 'all' flag. Without it we cannotandre2005-08-302-2/+4
| | | | correctly test for m_nextpkt in an mbuf chain.
* Various locking fixes and mark MPSAFE:jhb2005-08-302-60/+95
| | | | | | | | | | | - Add locked variants of start(), init(), ifmedia_upd(), and poll() and stop recursing on the driver lock. - Add locking to ifmedia_upd() and ifmedia_sts(). - Use callout_*() instead of timeout/untimeout. - Fix locking in ioctl(). Tested by: Bob Bishop rb at gid dot co dot uk MFC after: 3 days
* o Remove the 'all' flag from m_demote(). Users can simply call it withandre2005-08-302-6/+4
| | | | | | | | m_demote(m->m_next) if they wish to start at the second mbuf in chain. o Test m_type with == instead of &. o Check m_nextpkt against NULL instead of implicit 0. Based on feedback from: sam
* Prevent division by zero errors in sc_mouse_move()rodrigc2005-08-305-14/+17
| | | | | | | | | | by explicitly setting sc->font_width, in the same places where sc->font_size is set, instead of relying on the default initialized value of 0 for sc->font_width. PR: kern/84836 Reported by: Andrey V. Elsukov <bu7cher at yandex dot ru> MFC after: 2 days
* Introduce a new helper function check_search() derived for res_hnok tobrooks2005-08-301-0/+56
| | | | | | | | | | | | | | | check the domain-name parameter according to the rules for "search" strings as documented in resolv.conf(5). Specifically, the string must be no more than 256 bytes long and contain no more than six valid domain names separated by white space. The previous unchecked values could result in a mangled resolv.conf file which could effectively deny access to local sites. This is not a security issue as rogue dhcp servers could already do this without sending invalid strings. Reviewed by: cperciva MFC After: 3 days
* When using files as backing stores for devices, and the user has requested thecsjp2005-08-301-0/+11
| | | | | | | | | | | | | device be created read+write, check to see if the backing store is read only through the use of the access(2) system call. If this check fails returning EACCES, EPERM or EROFS then gracefully downgrade the access to read only. Also print a warning message to stderr, informing the user that the access mode they requested is not available. This behavior used to be handled by md(4) but was changed in revision 1.154 Discussed with: pjd, phk, Dario Freni <saturnero at freesbie dot org> Reviewed by: phk
* Use the correct mbuf type for MGET().andre2005-08-305-5/+5
|
* Punctuation corrections.schweikh2005-08-301-2/+2
|
* Use the correct mbuf type for MGET().andre2005-08-301-1/+1
|
* Test the mbuf flags against the correct constant. The previous versionandre2005-08-301-1/+1
| | | | worked as intended but only by chance. MT_HEADER == M_PKTHDR == 0x2.
* Remove a stale manpage.scottl2005-08-301-58/+0
|
* script to set ifs parameters based on distance; derived from programsam2005-08-301-0/+42
| | | | | | of the same name by Gunter Burchardt MFC after: 3 days
* o correct alignment of 802.11 addresses passed to ether_ntoa to fixsam2005-08-301-5/+11
| | | | | | | | segfaults on amd64 o while here correct printf formats for size_t args Identified by: Pascal Hofstee MFC after: 3 days
* Properly set ic_curchan before calling back to device driver to do channelavatar2005-08-301-2/+12
| | | | | | | | switching(ifconfig devX channel Y). This fix should make channel changing works again in monitor mode. Submitted by: sam X-MFC-With: other ic_curchan changes
* Fix fallout from revision 1.77, mark outgoing packets with M_VLANTAG flag.glebius2005-08-301-0/+1
| | | | | | PR: kern/80646 Reviewed by: yar MFC after: 3 days
* Include option-argument names in the list in the DESCRIPTION section.tjr2005-08-301-12/+4
| | | | Remove a non-bug from the BUGS section.
* Allocate a thread's tcb last so it is easier to handle failures todeischen2005-08-302-40/+42
| | | | | | malloc() siginfo. PR: 85468
* Remove undocumented historic support for treating "-" as an optiontjr2005-08-301-14/+8
| | | | instead of a file operand; this is not compatible with POSIX.
* Lock down PPTP node, since it has many data structures, that won't surviveglebius2005-08-301-7/+25
| | | | | | | | | | | | | | | | parallel ng_pptp_rcvdata(): - Add a per-node mutex. - Acquire mutex during all ng_pptp_rcvdata() method. - Make callouts protected by mutex. Now callouts count as netgraph writers, but there are plans to allow reader callouts for nodes, that have internal locking. - Acquire mutex in ng_pptp_reset(), which can be triggered by a message or node shutdown. PR: kern/80035 Tested by: Deomid Ryabkov <myself rojer.pp.ru> Reviewed by: Deomid Ryabkov <myself rojer.pp.ru>
* Add ng_callout_ini_mtx() macro.glebius2005-08-301-0/+1
|
* s/PDC2061/PDC20621joel2005-08-301-1/+1
| | | | Approved by: brueffer (mentor)
* This script was helpful during development, but has no reason tomarcel2005-08-301-11/+0
| | | | be kept alive. Removal is long overdue as it is.
* Don't print the total number of partitions removed now that we printmarcel2005-08-301-7/+1
| | | | | | | the name of the partitions that we remove. A summary is unnecessary and even makes parsing of the output more difficult. MFC after: 1 week
* Add back dropped if_media.h includeimp2005-08-301-0/+1
|
* Eliminate cpufreq levels for two cases that are less than optimal:njl2005-08-301-47/+48
| | | | | | | | | | | | | | | | 1. Walk the absolute list in reverse to prefer duplicated levels that have a lower absolute setting, i.e. 800 Mhz/50% is better than 1600 Mhz/25% even though both have the same actual frequency. This also removes the need to check for already-modified levels since by definition, those will be added later in the sorted list. 2. Compare the absolute settings for derived levels and don't use the new level if it's higher. For example, a level of 800 Mhz/75% is preferable to 1600 Mhz/25% even though the latter has a lower total frequency. This work is based on a patch from the submitter but reworked by myself. Submitted by: Tijl Coosemans (tijl/ulyssis.org)
* Be sure to execute sendmail_precmd() to check sendmail.cf conflicts andgshapiro2005-08-301-0/+1
| | | | | | | | rebuild the aliases file if necessary. PR: conf/72910 Submitted by: matteo@ MFC after: 3 days
OpenPOWER on IntegriCloud