summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libarchive 2.0kientzle2007-03-0372-2434/+7206
| | | | | | | | | | | | | | | | | | | * libarchive_test program exercises many of the core features * Refactored old "read_extract" into new "archive_write_disk", which uses archive_write methods to put entries onto disk. In particular, you can now use archive_write_disk to create objects on disk without having an archive available. * Pushed some security checks from bsdtar down into libarchive, where they can be better optimized. * Rearchitected the logic for creating objects on disk to reduce the number of system calls. Several common cases now use a minimum number of system calls. * Virtualized some internal interfaces to provide a clearer separation of read and write handling and make it simpler to override key methods. * New "empty" format reader. * Corrected return types (this ABI breakage required the "2.0" version bump) * Many bug fixes.
* Get rid of chatter for failed commands if the filesystem is read-only.njl2007-03-031-5/+6
| | | | | | | | | | | Include /var/db/entropy-file in the reseeding if present. It is used for last-ditch efforts to save entropy and thus should also be used to seed the RNG when starting. Print a warning instead of an error if writing the file fails -- err() exits, preventing the umask from being restored. Also, since there's not much that can be done about it, notifying the user is all that's needed. MFC after: 2 weeks
* Turn default address selection on by default. Now, whenume2007-03-031-1/+1
| | | | | | | ipv6_enable="NO", an IPv4 address is preferred for a destination address. MFC after: 1 month
* Fix a typo.jkoshy2007-03-031-2/+2
| | | | Submitted by: Kai Wang <kaiw27 at gmail dot com>
* Clarify the meaning information printed by the -o option.grog2007-03-031-4/+3
| | | | Clean up grammar, adding articles.
* Use get_if_var() to retrieve interface specific values of dhclient_flagsbrooks2007-03-021-7/+3
| | | | | | | and background_dhclient. This allows interfaces who's names are not valid parts of shell variables and shortens the code. MFC after: 1 week
* Document -J in usage.pjd2007-03-021-0/+1
| | | | Submitted by: Eric Anderson <anderson@freebsd.org>
* style(9) fixes.flz2007-03-022-2/+2
| | | | Reported by: ru
* Add vfs_getopt.9 to the build, and add links for related functions.davidc2007-03-021-0/+6
|
* Document the mount option handling functions.davidc2007-03-021-0/+197
| | | | Reviewed By: ru
* - Don't do the interrupt storm protection stuff for software interruptjhb2007-03-021-2/+3
| | | | | | | handlers. - Use pause() when throtting during an interrupt storm. Reported by: kris (1)
* Forced commit to note that the previous edit to archive_read_extract was:kientzle2007-03-020-0/+0
| | | | | Thanks to: Alexey Popov MFC after: 3 days
* Force the umask to something predictable while creating objectskientzle2007-03-021-1/+2
| | | | on disk. In particular, this fixes tar -xp restore of mode bits.
* Make pswitch_intr() returns interrupt handling status.piso2007-03-021-2/+3
|
* - Add missing subdirectories in BSD.usr.dist mtree file.flz2007-03-023-1/+13
| | | | | | | | - Update hier(7) to reflect latest changes in mtree file. - Add UPDATING entry following Intel firmwares inclusion. Submitted by: mlaier MFC after: 1 month
* Ensure message passed to "settimestamp" and "setcounter" is the rightemaste2007-03-021-1/+9
| | | | | | length. Use NULL instead of 0. Submitted by: glebius, ru
* Put this old tool for dumping PCI expansion ROM images somewhere useful.bms2007-03-023-0/+422
| | | | | WARNING: THIS IS NOT STABLE ON NON-I386 ARCHITECTURES, AND NEEDS SPECIFIC KNOWLEDGE OF THE ADDRESS SPACE ON YOUR SYSTEM TO WORK.
* Markup fixes.emaste2007-03-021-2/+3
| | | | Submitted by: ru
* - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in aflz2007-03-0225-7/+27877
| | | | | | | | | | | | | uuencoded format along with their respective LICENSE files. - Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the place we install LICENSE files for restricted firmwares. - Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares won't load properly unless legal.<name>.license_ack is set to 1, either via kenv(1) or /boot/loader.conf. Reviewed by: mlaier, sam Permitted by: Intel (via Andrew Wilson) MFC after: 1 month
* Fix geli after last commit for UP systems that are running SMP kernel.pjd2007-03-021-1/+2
| | | | | Submitted by: Hyo geol, Lee <hyogeollee@gmail.com> MFC after: 1 week
* lock stats updates need to be protected by the lockkmacy2007-03-022-44/+8
|
* Fixing NO_INET6 build as addr2ascii() has been nuked in previous commit.avatar2007-03-021-0/+2
|
* Document the new {set,get}{timestamp,counter} messages supported by theemaste2007-03-021-4/+50
| | | | | | ng_source node. Also remove an obsolete email address. Sponsored by: Sandvine Incorporated
* Add "setcounter" and "getcounter" messages, providing the the abilityemaste2007-03-022-0/+137
| | | | | | | | | | | | | to embed up to four counters in outgoing packets. The message specifies the offset at which the counter should be inserted as well as the parameters of the counter. Example usage: ngctl msg src0: setcounter \ '{ index=0 offset=0x40 flags=1 width=4 increment=1 max_val=12345 }' Sponsored by: Sandvine Incorporated
* MFP4: 113090, 113130, 113132jkim2007-03-021-3/+100
| | | | Add Linux kernel version strings to /proc/sys/kernel.
* Change fifo_printinfo to check if the vnode v_fifoinfo pointermpp2007-03-021-0/+4
| | | | is NULL and print a message to that effect to prevent a panic.
* MFP4: 115220, 115222jkim2007-03-025-352/+371
| | | | | - Fix style(9) and reduce diff between amd64 and i386. - Prefix Linuxulator macros with LINUX_ to prevent future collision.
* Add "settimestamp" and "gettimestamp" messages, providing the the abilityemaste2007-03-012-5/+139
| | | | | | | | | | | | | to embed a timestamp (struct timeval) in outgoing packets. The message specifies the offset at which the timestamp should be inserted. NG_SOURCE(4) gives an example usage that queues an ICMP packet. Using that example, the following command will insert a timestamp in the ICMP's data payload: ngctl msg src0: settimestamp '{ offset=0x2a flags=1 }' Sponsored by: Sandvine Incorporated
* Fix build breakage.pjd2007-03-011-1/+1
|
* Change:pjd2007-03-011-1/+1
| | | | | | "... try to use VADMIN in preference to VADMIN ..." To: "... try to use VADMIN in preference to VWRITE ..."
* Add support for the 3 (PATA) channel on the VIA 6421 chip.sos2007-03-011-41/+60
| | | | HW donated by: Fabian Peters
* Rename PRIV_VFS_CLEARSUGID to PRIV_VFS_RETAINSUGID, which seems to betterpjd2007-03-015-7/+8
| | | | | | describe the privilege. OK'ed by: rwatson
* Avoid checking for privileges if there is no need to.pjd2007-03-013-14/+19
| | | | Discussed with: rwatson
* Do not dispatch SIGPIPE from the generic write path for a socket; withbms2007-03-011-1/+1
| | | | | | | | | | | | this patch the code behaves according to the comment on the line above. Without this patch, a socket could cause SIGPIPE to be delivered to its process, once with SO_NOSIGPIPE set, and twice without. With this patch, the kernel now passes the sigpipe regression test. Tested by: Anton Yuzhaninov MFC after: 1 week
* Add -t to set IP TTL.bms2007-03-011-3/+19
|
* Check the return value from rad_cvt_ipv6prefix().ume2007-03-011-1/+7
| | | | | PR: bin/89808 MFC after: 1 week
* Bump the bootstrapping requirements for gensnmptree(1) and removeru2007-03-012-14/+1
| | | | | | | a note in UPDATING that tried to work around the build breakage. Tested by: jhb OK'ed by: njl
* Introduce a new mbuf flag, M_PROMISC.bms2007-03-011-1/+2
| | | | | | | | | | | | | An mbuf packet chain with the M_PROMISC flag set contains a unicast packet received by the link layer, which does not correspond to any configured link layer address in the local system. It is copied when copying m_pkthdr. It is not cleared when crossing layers. As such, it is defined to have a flag value which is outside of the M_PROTO* range, like M_VLANTAG has. Reviewed by: andre Obtained from: NetBSD
* Remove trailing spaces and make the date canonical.ru2007-03-011-8/+8
|
* Unbreak the kgdb stepping over the special frames on i386 after rev. 1.117 ofkib2007-03-011-1/+22
| | | | | | i386/i386/exception.s. No objections from: marcel
* Rename lookup() to kgdb_lookup() and make it global (for use in trgt_i386.c).kib2007-03-012-7/+9
| | | | No objections from: marcel
* Fix undirected broadcast sends for the case where SO_DONTROUTE has alsobms2007-03-011-11/+14
| | | | | | | | | | | | | | | | | | | | | | | been set at the socket layer, in our somewhat convoluted IPv4 source selection logic in ip_output(). IP_ONESBCAST is actually a special case of SO_DONTROUTE, as 255.255.255.255 must always be delivered on a local link with a TTL of 1. If IP_ONESBCAST has been set at the socket layer, also perform destination interface lookup for point-to-point interfaces based on the destination address of the link; previously it was not possible to use the option with such interfaces; also, the destination/broadcast address fields map to the same field within struct ifnet, which doesn't help matters. One more valid fix going forward for these issues is to treat 255.255.255.255 as a destination in its own right in the forwarding trie. Other implementations do this. It fits with the use of multiple paths, though it then becomes necessary to specify interface preference. This hack will eventually go away when that comes to pass. Reviewed by: andre MFC after: 1 week
* Introduce a test program for IPv4 broadcast datagram send.bms2007-03-012-0/+276
|
* Prevent TSO mbuf chain from overflowing a few bytes by subtracting theandre2007-03-011-2/+3
| | | | | | TCP options size before the TSO total length calculation. Bug found by: kmacy
* Mark addr2ascii() man page as obsolete.bms2007-03-011-0/+2
| | | | Submitted by: Maxim Konovalov
* Evidently I've overestimated gcc's ability to peak inside inline functionskmacy2007-03-012-6/+16
| | | | | and optimize away unused stack values. The 48 bytes that the lock_profile_object adds to the stack evidently has a measurable performance impact on certain workloads.
* Update bus_setup_intr().piso2007-03-011-2/+2
| | | | Pointed by: Krassimir Slavchev
* New sentence -> new line and contractions removed.brueffer2007-03-011-7/+11
|
* Remove two simultaneous acquisitions of multiple unpcb locks fromrwatson2007-03-011-22/+19
| | | | | | | | | uipc_send in cases where only a global read lock is held by breaking them out and avoiding the unpcb lock acquire in the common case. This avoids deadlocks which manifested with X11, and should also marginally further improve performance. Reported by: sepotvin, brooks
* Because the buffer gets released immediately, I need tokientzle2007-03-013-1/+8
| | | | | | | | copy the symlink target name, not just copy the reference. This problem sometimes caused crashes when extracting symlinks from ISO9660 images. Thanks to: Diego "Flameeyes" Pettenò
OpenPOWER on IntegriCloud