summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Merge ACPICA 20100428.jkim2010-04-282-4/+7
| | | | | | |
* | | | | | | Require the option that's mapped be listed in the options file. Thisimp2010-04-271-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | will allow people with old config options to either have it just work (if config is new enough), or get a version error (if their config is about 7.0 or newer) rather than getting a cryptic error about duplicated options in the options file, or getting an error about an unknown option, at which point they'd update their config file only to learn they need a new config, only to learn they didn't really need to update their config file... All this because our version checking was in the wrong place for the past decade... # hopefully this is the last change, and we'll be able to config with an # 8.0 GENERIC file on stable/8 after I merge this change and add the # compat options. MFC after: 3 days
* | | | | | | Redo how we add compat options so as to be compatible with oldimp2010-04-272-78/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | versions of config. Remove support for the syntax OLD = NEW form the options file, and instead have a new file $S/conf/options-compat. This file will be parsed as OLD NEW on each line. Bump version of config. Since nothing in -current ever used this, there's no hazards for current users, so I'm not bumping the version in the Makefiles.$MACHINE. No need, really, for this version bump in -current, but this was introduced into -stable before I realized the version check was ineffective there, so the verison bump doesn't hurt here and keeps the two branches in sync, versionwise, after the MFC. MFC after: 3 days
* | | | | | | Move checking the version up from Makefile generation to just afterimp2010-04-273-24/+62
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we've parsed the config file. Makefile generation is too late if we've introduce changes to the syntax of the metafiles to warn about version skew, since we have to try to parse them and we get an parse error that's rather baffling to the user rather than a 'your config is too old, upgrade' which we should get. We have to defer doing it until after we've read the user's config file because we define machinename there. The version required to compile the kernel is encoded in Makefile.machinename. There's no real reason for this to be the case, but changing it now would introduce some logistical issues that I'd rather avoid for the moment. I intend to revisit this if we're still using config in FreeBSD 10. This also means that we cannot introduce any config metafile changes that result in a syntax error or other error for the user until 9.0 is released. Otherwise, we break the upgrade path, or at least reduce the usefulness of the error messages we generate. # This implies that the config file option mapping will need to be redone. MFC after: 3 days
* | | | | | - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown. Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
* | | | | | - Take libinstall.a out of pkg_install and make it a proper shared library.flz2010-04-2338-3315/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
* | | | | | Revert r206179 (by imp) and do something similar which is more consistentnetchild2010-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with all other corresponding CTF places by changing the corresponding code which is generated by config(8). Or in short, move the '@' from the variable definition to the use of the variable. [1] While I'm here break up a long line. [2] Discussed with: imp [1,2], bde [2]
* | | | | | Remove the reference to DD mode, and replace with Expert mode. Also, makebrucec2010-04-212-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sure the "Q = Finish" text is visible. Reword the boot manager screen to try and avoid confusion, and make the order of the menu items match that in sysinstall. PR: bin/142916 Submitted by: Jeremy Chadwick <freebsd at jdc.parodius.com> Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week
* | | | | | Make the "Q = Finish" text visible when running sysinstall as a normalbrucec2010-04-212-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | application. Reword the boot manager screen to try and avoid confusion. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week
* | | | | | Fix bug introduced in r198317: Don't leak a file descriptor after scanning ↵randi2010-04-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for network devices. Approved by: cperciva (mentor) MFC after: 1 week (original commit + bugfix)
* | | | | | Apply threshold filter to root node in calltree view.fabient2010-04-211-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3days
* | | | | | Bump minor version of config to reflect the new option remappingimp2010-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature. The kernel makefiles have specifically not been bumped because nothing uses this new feature and doing so forces everybody to recompile for no good reason. This chnage will be MFC'd where the kernel version numbers for amd64 and ia64 will be bumped, since those are the only two that have use the option remapping feature. Once merged, this will give a better error message to folks that are using buildkernel without buildworld or kernel-toolchain to update their kernels. MFC after: 3 days
* | | | | | Allow option aliasing. Lines of the form:imp2010-04-152-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OLD_OPT = NEW_OPT in options* files will now map OLD_OPT to NEW_OPT with a friendly message. This is indented for situations where we need to preserve an interface in the config file in an upwards compatible fashion on a stable branch. Reviewed by: nwhitehorn@ MFC after: 3 days
* | | | | | Move fatal error at the right place.fabient2010-04-143-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix exit from top mode when checking if PMC is available. MFC after: 3 days
* | | | | | Add sge(4) to the list of supported network interface.yongari2010-04-141-0/+1
| | | | | |
* | | | | | mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-1419-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* | | | | | Don't forget to catch realloc() errors.ed2010-04-111-1/+4
| | | | | |
* | | | | | Alphabetically sort the output of lastlogin(8).ed2010-04-112-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the manpage, the entries have to be sorted by uid. This is no longer possible, since our utmpx implementation is completely unaware of user IDs. You can safely add entries for multiple users sharing the same uid. Make the output less random by sorting everything by name.
* | | | | | Add WPA-None support:bschmidt2010-04-102-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WPA-None requires ap_scan=2: The major difference between ap_scan=1 (default) and 2 is, that no IEEE80211_IOC_SCAN* ioctls/functions are called, though, there is a dependency on those. For example the call to wpa_driver_bsd_scan() sets the interface UP, this never happens, therefore the interface must be marked up in wpa_driver_bsd_associate(). IEEE80211_IOC_SSID also is not called, which means that the SSID has not been set prior to the IEEE80211_MLME_ASSOC call. * WPA-None has no support for sequence number updates, it doesn't make sense to check for replay violations.. * I had some crashes right after the switch to RUN state, issue is that sc->sc_lastrs was not yet defined. Approved by: rpaulo (mentor) MFC after: 3 weeks
* | | | | | Add an entry for the old Beastie logo saver and re-sort.jkim2010-04-071-11/+13
| | | | | |
* | | | | | Fix compilation error on amd64.ume2010-04-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: stefanf MFC after: 2 weeks
* | | | | | Fix compilation error on 9-CURRENT.ume2010-04-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: nyan MFC after: 2 weeks
* | | | | | services_mkdb; generate db file from services(5) to increaseume2010-04-045-0/+695
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | speed of getserv*() Obtained from: NetBSD MFC after: 2 weeks
* | | | | | Bump PKG_INSTALL_VERSION to 20100403.flz2010-04-031-1/+1
| | | | | |
* | | | | | Fix pkg_delete, check if the file we're trying to delete is aflz2010-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | symlink before complaining that it doesn't exist. Typical case would be a leftover library symlink that's left over after the actual library has been removed. Reported by: tabthorpe
* | | | | | Keep the list of default keywords sorted so that paranoid folks like meyar2010-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't try to find a hidden meaning in the strange order. The list used to be sorted in rev. 1.1 from 4.4BSD but the order was broken as soon as in rev. 1.2 by a single-character fix. MFC after: 3 days
* | | | | | Properly initialize the timestamp when using ac -w.ed2010-04-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using ac -w, we must use the last timestamp to terminate the log file. I accidentally removed this when I ported the code to use utmpx. Reported by: avg
* | | | | | Improve "top" header by:fabient2010-04-024-13/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Display sample received per PMCs (or merged PMCs). - Display percentage vs all samples
* | | | | | We don't need to note that mkproto is missing anymore. It isimp2010-04-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | definitely OBE in a number of ways, and likely should have been removed in 2000, not 2010.
* | | | | | Various fixes.flz2010-04-019-52/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace hardcoded INDEX version. [1] - Fix a buffer overlap. [2] - Remove empty package when fetching fails and -K is used. [3] - Remove useless chmod2() after mkdtemp(3). [4] - Replace mkdir(1) call with mkdir(2). [5] - Get rid of some vsystem() calls. - Switch from lstat(2) to open(2) in fexists(). - Try rename(2) in move_file() first. - Bump PKG_INSTALL_VERSION to 20100401. PR: bin/145101 [1], bin/139492 [2], bin/144919 [3] bin/144920 [4], bin/144921 [5] Submitted by: gcooper [1,2,3,4,5]
* | | | | | Sync with OpenBSD:delphij2010-03-302-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD MFC after: 1 month
* | | | | | - Handle calloc() allocation failures.ru2010-03-305-9/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed a comment. - 2 -> EXIT_FAILURE in some places. - errx() -> err() where appropriate. PR: 144644 Submitted by: Garrett Cooper
* | | | | | o Remove a duplicate reference to -f flag in the SYNOPSYS section.maxim2010-03-301-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Improve wording. PR: docs/144407 Submitted by: gcooper MFC after: 1 week
* | | | | | Print memory model of the video mode except for planar memory model.jkim2010-03-291-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'P', 'D', 'C', 'H', 'V' mean packed pixel, direct color, CGA, Hercules, VGA X memory models respectively where they have fixed number of planes.
* | | | | | Wait for pmc name in the log before displaying data.fabient2010-03-281-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will solve an abort in case of low throughput PMCs. MFC after: 3days
* | | | | | Change all our own code to use st_*tim instead of st_*timespec.ed2010-03-282-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Also remove some local patches to diff(1) which are now unneeded.
* | | | | | Do not overflow the term in the case of multi-line display.fabient2010-03-261-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3days
* | | | | | o Trim leading w/space.maxim2010-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: docs/145030 Submitted by: olgeni MFC after: 1 week
* | | | | | Now actually implement reading/refreshing/returning data from the ↵syrinx2010-03-244-40/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pfTablesAddrTable and modify the BEGEMOT-PF-MIB to add support for IPV6 address' statistics in the PF tables via pfTablesAddrNetType and pfTablesAddrNet. While here, upgrade the pf_tree.def file to the new format that includes enumerated values. Also make sure to return SNMP_ERR_NOSUCHNAME for ALTQ objects, if ALTQ is disabled, so that the agent will know to skip the pfAltq subtree when servicing GETNEXT requests from SNMP clients (otherwise snmpwalk on begemotPf would stop at the pfAltq subtree with bsnmpd returning SNMP_ERR_GENERR).
* | | | | | wollman@ has OK'd dropping his maintainership of zic(8)gavin2010-03-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: linimon Approved by: wollman (via linimon)
* | | | | | Chop off excessive long hostnames to keep the table structure intact.ed2010-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This makes lastlogin(8) use exactly the same printf format as last(1).
* | | | | | Make sure the snmp_pf module will first refresh its entires if necessary,syrinx2010-03-191-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | then find a specific entry, and get the requested value. So far, it found the specific entry, refreshed the entry list if necessary, and got the requested value from the found entry. The problem is that refreshing nukes all old entries and replaces them with new ones and the obtained entry pointer was no longer valid after the refresh. Reviewed by: bz, philip MFC after: 1 week
* | | | | | Properly progress through the list of IPv6 addresses using in6_addr size.ed2010-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now if a jail has multiple IPv6 addresses, it will print them shifting only 4 bytes at a time. Example: 2001:4dd0:ff41::b23f:a9 2001:4dd0:ff41::b23f:aa Becomes: 2001:4dd0:ff41::b23f:a9 ff41::b23f:a9:2001:4dd0 By casting to in6_addr, it uses the correct offsets. MFC after: 1 week
* | | | | | Add support for retrieving labeled pf filter rule counters.syrinx2010-03-183-4/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/132847 Submitted by: Szalai Andras <szalai (dot) bandi (at) gmail.com>
* | | | | | Need to set the proper flag bit when inserting ARPqingli2010-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | entries into the kernel. MFC after: 3 days
* | | | | | then -> thanjoerg2010-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 day
* | | | | | Make it more clear in the docs that -a is not compatible with -iFU,dougb2010-03-142-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and enforce this in the code. Apparently a lot of users mistakenly combine -a with these flags and are then mystified that no changes were made. While I'm here, fix a trailing space in mergemaster.8
* | | | | | Fix several typos in macros or macro misusage.uqs2010-03-124-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* | | | | | Change the way shutdown is handled for log file.fabient2010-03-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pmc_flush_logfile is now non-blocking and just ask the kernel to shutdown the file. From that point, no more data is accepted by the log thread and when the last buffer is flushed the file is closed. This will remove a deadlock between pmcstat asking for flush while it cannot flush the pipe itself. MFC after: 3 days
* | | | | | Bug fixed:fabient2010-03-053-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - no display on serial terminal in top mode. - display alignment for continuation string. - correct invalid value used for display limit. MFC after: 3 days
OpenPOWER on IntegriCloud