summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix crunchide to work on sparc64 and perhaps other 64 bit platforms.adrian2010-08-121-1/+6
| | | | | | | | | I used the wrong type when setting st_name in the symbol table entry struct. It's an Elf64_Word which is defined as an unsigned 32 bit int on both 32 and 64 bit platforms. To make things sensible, define some new macros to use as "word" macros and use those, rather than simply using the explicit 32 bit macros.
* Fix breakage on 64bit architecture by using inttypes.h macro.takawata2010-08-121-1/+2
|
* Fix tindebox breakage about format warning.takawata2010-08-121-1/+1
|
* Add TCG ACPI spec table (TCPA) support.takawata2010-08-112-0/+274
| | | | Submitted by: Hans-Joerg_Hoexer@genua.de
* - Improve the wait4data() routine so it behaves better when checkinggad2010-08-111-7/+23
| | | | | | | | | | | print-jobs which have last-modification times that are in the future. This shouldn't happen, of course, but it can. And when it did happen, the previous check could cause completely-spooled jobs to sit in the queue for 20 minutes per job. The new code waits until the last-modify time is not changing, instead of making decisions based on the specific value of last-modify. MFC after: 2 weeks
* Fix some typos: flush vs. flash, and some others.olli2010-08-111-3/+3
| | | | | Approved by: des (mentor, implicit) MFC after: 1 week
* Port over changes to the crunch symbol hiding method from NetBSD.adrian2010-08-101-134/+88
| | | | | | | | | | | | The older symbol hiding method breaks for MIPS. This implements symbol hiding through renaming to a symbol name which is highly unlikely to clash. The NetBSD code didn't use byte-swapping macros for endian-awareness; so it didn't work when cross-compiling a MIPS world on i386/amd64. This patch includes those (as best as I could figure what they should be) and has been tested to generate valid MIPS crunch binaries both cross- and native- compiled.
* Back out r210975, which changed documentation to match the now backed-outjamie2010-08-081-5/+5
| | | | r210974.
* This isn't WARNS=6 safe. It fails to build on mips. Retore oldimp2010-08-081-0/+2
| | | | WARNS?=3 until that's resolved.
* jh pointed out that src/usr.sbin already has a globalolli2010-08-071-2/+0
| | | | | | | | WARNS=6 setting in HEAD (unlike stable/8), so it's best to remove the line entirely. Pointed out by: jh Approved by: des (mentor)
* syslogd(8) already supports *sending* log messages to non-olli2010-08-073-9/+60
| | | | | | | | | | | | | | standard ports, but it can't *receive* them (port 514 is hardcoded). This commit adds that missing feature. (NB: I actually needed this feature for a server farm where multiple jails run with shared IP addresses, and every jail should have its own syslogd process.) As a side effect, syslogd now compiles with WARNS=6. Approved by: des (mentor) MFC after: 3 weeks
* Clean up the style and markup of the paragraph on fractional wait intervals.yar2010-08-071-4/+6
| | | | MFC after: 3 days
* Properly spell and mark up the name of kern.hz.yar2010-08-071-2/+3
| | | | MFC after: 3 days
* Move the sentences telling the defaults for -c and -wyar2010-08-071-6/+6
| | | | | | | to where they belong. Previously they were misplaced, i.e., swapped. MFC after: 3 days
* Merge ACPICA 20100806.jkim2010-08-062-3/+4
|
* Note that a jail without a command parameter will be persistent,jamie2010-08-061-5/+5
| | | | | | instead of explicitly requiring one of "command" or "persist". MFC after: 3 days
* Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butjhb2010-08-062-0/+2
| | | | | | | | use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. Reviewed by: syrinx (bsnmpd) MFC after: 1 week
* Fix typos and spelling mistakes.joel2010-08-069-12/+12
|
* Typo fixesuqs2010-08-061-9/+9
| | | | | | PR: docs/149314 Submitted by: olgeni MFC after: 3 days
* - Do not use the runtime mask when logfile is specified.fabient2010-08-033-4/+12
| | | | | | - Revert the fix on rtld path that is not necessary. MFC after: 1 week
* Allow file as a top source, it works with socket now.fabient2010-08-032-72/+90
| | | | | | | | | | | | | | | | | This will allow top monitoring using socket/ssh tunnelling of system without local symbols. client: pmcstat -R <ip>:<port> -T -r <symbolspath> monitored device: pmcstat -Sinstructions -O <ip>:<port> - Move the file read in the event loop - Initialize and clean log in all cases - Preserve global stats value during top refresh - Fix the rtld/line resolver that ignore '-r' prefix - Support socket for '-R' (server mode) - Display the statistics when exiting top mode
* Fix the calltree top view that incorrectly filter out some nodes.fabient2010-08-021-2/+8
| | | | MFC after: 1 week
* mdoc: make sure to pass at least one argument to quotation macrosuqs2010-08-021-1/+1
|
* mdoc: remove unused/empty macrosuqs2010-08-021-1/+1
|
* Spelling fixes.joel2010-08-016-8/+8
|
* Fixes a bug when installing with a ZFS on root (/) and UFS /bootimp2010-07-311-0/+14
| | | | | | partition. Don't stamp the zfs boot-loader in this case. Submitted by: kris moore
* Adds the async option for journaled file systems (UFS + journaling)imp2010-07-311-2/+10
| | | | Submitted by: kris moore (kris at pcbsd org)
* Fix a couple of typos.uqs2010-07-302-5/+4
| | | | | | PR: docs/148891 Submitted by: olgeni MFC after: 1 week
* Connect the snmp_wlan(3) module to the build.syrinx2010-07-261-1/+2
| | | | Sponsored by: The FreeBSD Foundation
* Bring in a SNMP module to support monitoring cloned wireless interfacessyrinx2010-07-267-0/+12694
| | | | | | | | via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ Approved by: philip@
* Fix the include path for nfs_lock.h.rmacklem2010-07-241-1/+1
| | | | MFC after: 2 weeks
* Make failed open of /dev/mdctl in the bsnmpd hostres module non-fatal.simon2010-07-241-2/+5
| | | | | | | This makes it possible to use the hostres module when bsnmpd is not running as root. MFC after: 1 week
* Add a -S switch to override the default syslog pid file. This can be usefulbrian2010-07-233-10/+25
| | | | | | if syslogd's -P switch or a syslogd alternative is being used. MFC after: 3 weeks
* If a size suffix isn't entered, just use the value entered. This fixesbrucec2010-07-221-0/+3
| | | | | | | | | | a bug caused by r209235 where entering a number of blocks after previously entering a size in MB/GB would result in the size of the previous partition being used. PR: bin/148266 Submitted by: jpaetzel Approved by: rrs (mentor)
* Add support for creating the archived log filenames using a time-stampsimon2010-07-222-16/+267
| | | | | | | | | | | | | | | | | | | instead of the traditional simple counter. Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation. This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles. PR: bin/29363 MFC after: 3 weeks
* Staticify local variables.delphij2010-07-201-13/+11
| | | | | | | | While I'm there also add a 'static' keyword for a function to make it consistent with prototype. Reviewed by: phk MFC after: 3 months
* Build some powerpc-specific utilities on powerpc64 as well.nwhitehorn2010-07-201-1/+1
| | | | Submitted by: Andreas Tobler
* - Fixed automatic detection of the control serial port.thompsa2010-07-201-93/+122
| | | | | | | - Fixed segmentation fault when an invalid network interface was given. - More helpful message in case of wrong PIN number. Submitted by: Fredrik Lindberg
* Fix handling of the "-l" argument for nfsdumpstate(8).rmacklem2010-07-201-1/+1
| | | | | Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks
* - Add Latinamerican keymaps to sysinstall's Makefile so that it cangabor2010-07-191-2/+3
| | | | | | | | | find them [1] - While here, also add a missing Spanish entry PR: bin/67365 [1] Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1] Approved by: delphij (mentor)
* Fix support for chrooted installs.nork2010-07-191-3/+3
| | | | Approved by: imp (mentor)
* FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuringbrucec2010-07-164-262/+4
| | | | | | | | and installing via such devices from sysinstall. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month
* Put warnings out to stderr rather than stdout.imp2010-07-153-41/+54
| | | | MFC after: 3 days
* Update some release version numbers. The patch is based on the onebcr2010-07-141-5/+5
| | | | | | | | | | | from the PR, but the version numbers reflect the newer ones from http://security.freebsd.org/#sup PR: docs/145227 Submitted by: Glen Barber (glen dot j dot barber at gmail dot com) Reviewed by: cperciva Mentored by: jkois MFC after: 1 week
* Add support for packages.imp2010-07-1310-24/+325
| | | | | PR: 148584 Submitted by: John Hixon
* Enhance config to handle MACHINEs with multiple architectures:nwhitehorn2010-07-134-10/+38
| | | | | | | | | | | | | - Passing -m to config will now print the MACHINE and MACHINE_ARCH given in the passed kernel configuration file and then exit. - If an option is defined in options.MACHINE with the same name as the architecture of the kernel being configured, that option will be considered set. This allows conditional compilation based on CPU architecture. Config version is now 600010. Reviewed by: imp
* o Fix typo: sepcify -> specify.maxim2010-07-121-1/+1
| | | | | | PR: docs/148499 Submitted by: Warren Block MFC after: 1 week
* Teach crunchide(1) about PPC ELF64.nwhitehorn2010-07-102-1/+5
|
* Fix reading of empty fifolog files. When we don't have anythingkeramida2010-07-101-1/+3
| | | | | | | | to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. Approved by: phk MFC after: 1 week
* Revert r209787 pending further discussion.randi2010-07-087-6/+551
| | | | Approved by: cperciva (mentor)
OpenPOWER on IntegriCloud