summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Merge ACPICA 20130517.jkim2013-05-202-24/+24
|
* Update location to ports INDEX file.bdrewery2013-05-181-6/+6
| | | | | PR: bin/164561 Approved by: bapt
* Decode new HT 3.00 and 3.10 capabilities.kib2013-05-171-0/+12
| | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
* Add a -N option that prints the jail name rather than its number.des2013-05-172-11/+29
| | | | MFC after: 3 weeks
* Fix a typo in a comment.dteske2013-05-161-1/+1
|
* Add a handy function for truncating variables to a specific byte-length. Itdteske2013-05-161-0/+20
| | | | | | should be noted that newlines are both preserved and included in said byte- count. If you want to truncate single-line values without regard to line termination, there's always f_substr() which already exists herein.
* Centralize standard getopts arguments, both for convenience and to correctdteske2013-05-1443-46/+72
| | | | | | | | | a bug in which certain combinations of arguments produced unexpected results such as `-dX' (now properly produces debugging and X11), `-XS' (now properly produces X11 in secure mode), `-df-' (enables debugging when reading a script from standard-input, etc. Multi-word variations such as `-d -X', `-X -S', `-d -f-', `-d -f -', etc. also work as expected. Also tested were variations in argument order, which are now working as expected.
* Set st_nlink in the stat structure within the inode to 1 as well.marcel2013-05-131-0/+1
| | | | | | The cd9660 file system uses that field for the link count and it was 0. This impacts pwd_mkdb(8) as it checks for st_nlink not being 0 as part of closing a race.
* mdoc sweepjoel2013-05-133-5/+12
|
* Add a remark to the effect that a manually started relearn will alwaysmarkj2013-05-131-0/+4
| | | | | | | | result in the battery being completely drained, even in transparent learning mode. MFC in: 3 days Sponsored by: Sandvine Inc.
* mdoc sweep.joel2013-05-124-7/+7
|
* Revert r250394, which disabled snmp_hast due to libl dependency issue --trociny2013-05-121-0/+1
| | | | the dependency has been removed in r250503.
* Some filesystems (NFS in particular) do not fill out the d_type field whenmarkj2013-05-121-6/+17
| | | | | | | | | | | returning directory entries through readdir(3). In this case we need to obtain the file type ourselves; otherwise newsyslog -t will not be able to find archived log files and will fail to both delete old log files and to do interval-based rotations properly. Reported by: jilles Reviewed by: jilles MFC after: 2 weeks
* Comment.dteske2013-05-121-1/+1
|
* Fix i18n violations in the package management module. A few words likedteske2013-05-123-12/+31
| | | | `packages', `installed', and `selected' were not internationalized.
* Remove duplicated string.dteske2013-05-122-2/+1
|
* Comments.dteske2013-05-121-1/+5
|
* Whitespace.dteske2013-05-121-2/+2
|
* Teach wpa_supplicant to properly compute wireless signal strength.eadler2013-05-111-0/+5
| | | | | | PR: bin/170631 Submitted by: Daan Vreeken <Daan@vitsch.nl> Reviewed by: adrian
* Add some missing DPADD.antoine2013-05-113-0/+3
|
* The M_VESA_MODE_MAX is latest valid mode - not the first invalid.eadler2013-05-111-1/+1
| | | | | | | | | | Permit its use in vidcontrol -i PR: bin/119483 Submitted by: Dan Lukes <dan@obluda.cz> Arrival-Date: Wed Jan 09 10:30:01 UTC 2008 Reviewed by: ed MFC after: 3 days
* Rate limit the number of remotely triggered ARP log messagesglebius2013-05-111-1/+5
| | | | to 1 log message per second.
* Get rid of libl dependency. We needed it only to provide yywrap. Buttrociny2013-05-111-2/+2
| | | | | | | yywrap is not necessary when parsing a single hast.conf file. Suggested by: kib Reviewed by: pjd
* Permit relative paths with mergemaster -meadler2013-05-101-0/+1
| | | | | Reviewed by: dim, brooks MFC after: 3 days
* Fxi a bunch of typos.eadler2013-05-102-2/+2
| | | | | PR: misc/174625 Submitted by: Jeremy Chadwick <jdc@koitsu.org>
* Check the return value of sbuf_finish().jh2013-05-101-2/+4
| | | | MFC after: 1 week
* Fix a bug that would cause the category menu to display the wrong valuedteske2013-05-091-4/+4
| | | | | for number of packages available in the "All" category. Problem caused by re-using a variable that was still needed; fixed by variable name change.
* Remove duplicated copies of various NetBSD compatibility shims used bybrooks2013-05-098-1401/+16
| | | | | | | makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead. Sponsored by: DARPA, AFRLo MFC after: 1 month
* Move snmp_hast manual to section 3, where all other manual pages fortrociny2013-05-092-3/+3
| | | | | | | | | | | | | | | bsnmp modules are located. Section 3 (Library Functions) looks wrong for this manual page, which contains only module description, that is why initially it was located to section 8 (System Manager's Manual). On the other hand manual pages for all other bsnmpd modules are already located in the section 3, and having all pages in one section looks more consistent. Also, currently, similarly to manuals for other modules, snmp_hast manual contains LIBRARY section, which is not good style for section 8. Requested by: joel X-MFC with: r250379
* Unbreak build - this can only build on i386 as-is due to use of libl inpeter2013-05-081-1/+0
| | | | a .so file, and we currently (intentionally) only build libl.a.
* HAST module for bsnmpd(1).trociny2013-05-086-0/+987
| | | | | Reviewed by: harti, pjd MFC after: 2 weeks
* Commit first portion of package module -- this includes the ability to viewdteske2013-05-0717-1/+1601
| | | | | | | | | | categories, view packages, mark packages for installation, de-installation, or re-installation, calculate and track dependencies, as well as ability to review selections. Still to come is the actual processing of selections (performing the various actions associated with the user's selections, such as installing dependencies first, then selections, etc.).
* Explicitly track "script.subr" which wasn't showing up in the graph becausedteske2013-05-071-0/+6
| | | | | | it's not used by anything within bsdconfig nor any modules (rather, the script.subr include is designed to be used externally -- nonetheless we want to track it in the modular graph outputs showing includes).
* Recursively calculate includes. This solves the problem of some includesdteske2013-05-071-14/+21
| | | | | | | | missing from the graph, but it also unfortunately forces yet another bug in graphviz dot(1) to appear. When edge labels are enabled (using '\T') with this many edges, dot(1) will do bad things in init_rank() and often crash. So while we're here, let's disable edge labels for the include- relationship graph feature.
* Remove unused variables.dteske2013-05-071-4/+2
|
* Alphabetize strings by variable names.dteske2013-05-071-10/+10
|
* Re-organize and add missing installVarDefaults and mediaSetDirectory.dteske2013-05-071-15/+31
|
* Add f_isset() utility subroutine for checking if a variable is set but indteske2013-05-072-1/+11
| | | | a more readable fashion.
* objdump output changed indentation from 1 space to 2 spaces somewhere betweenhiren2013-05-061-2/+0
| | | | | | | | | | | | FreeBSD9 and CURRENT. Removing this rather unnecessary check which expects the second character of assembly line to be a hex number to make pmcannotate actually annotate the code and assembly. PR: 165654 Submitted by: Vitaly Magerya <vmagerya@gmail.com> Reviewed by: attilio Approved by: sbruno (mentor) MFC after: 3 weeks
* Fix a typo in an error message.eadler2013-05-061-1/+1
| | | | Obtained From: DragonFlyBSD (commit 66e72101cc32272ae370b895ca3d9e3e99c5c3a8)
* Improve compatibility with recent flex from flex.sourceforge.net.jkim2013-05-036-16/+19
|
* Implement the NOTIFY_ON_EMPTY capability in the virtio-net device.neel2013-05-032-34/+37
| | | | | | | | If this capability is negotiated by the guest then the device will generate an interrupt when it runs out of available tx/rx descriptors. Reviewed by: grehan Obtained from: NetApp
* Fix the getpwuid_r() call in the gssd daemon so that it handlesrmacklem2013-05-021-2/+25
| | | | | | | | | the ERANGE error return case. Without this fix, authentication of users for certain system setups could fail unexpectedly. Reported by: Elias Martenson (lokedhs@gmail.com) Tested by: Elias Martenson (earlier version) MFC after: 2 weeks
* Document the fact that an NFSv4 mount against a volume on the same hostrmacklem2013-05-011-1/+8
| | | | | | | can result in a hung NFS server and is not recommended. This is a content change. MFC after: 2 weeks
* Make the internal assertion correct--only fail when '\0' is found inwkoszek2013-05-011-10/+4
| | | | | | | | | | places other than the end of the test section. Otherwise, with kernel compiled with Clang which happens to be setting ELF section alignment differently config(8) was throwing assert() failure unnecessarily Reported by: Kimmo Paasiala <kpaasial (at) gmail.com> Tested by: Kimmo Paasiala <kpaasial (at) gmail.com> MFC after: 10 days
* Reset some more softc state when the guest resets the virtio network device.neel2013-04-301-0/+7
| | | | Obtained from: NetApp
* Use a separate mutex for the receive path instead of overloading the softcneel2013-04-301-20/+58
| | | | | | mutex for this purpose. Reviewed by: grehan
* Get rid of the 'vsc_rxpend' state - it doesn't serve any purpose because weneel2013-04-281-20/+0
| | | | | | | | | drop any frames that arrive while the device is starved for receive buffers. This makes the receive path to only execute in context of the receive thread and allows for further simplification. Reviewed by: grehan
* syslogd: Use closefrom() instead of getdtablesize()/close() loop.jilles2013-04-271-3/+2
| | | | | | | | | | | When syslogd forks a process for '|' destinations, it closes all file descriptors greater than 2. Use closefrom() for this instead of a getdtablesize()/close() loop because it is both faster and avoids leaving file descriptors open because the limit was lowered after they were opened. MFC after: 1 week
* Properly sanitize --menu results (guards against Gtk library warnings fromdteske2013-04-262-1/+8
| | | | | | | | | X11 side of things from bleeding into Xdialog(1) stderr output). It should be duely noted that such errors are not a by-product of anything in the Xdialog(1) utility or API, but optional libraries that it can link against (such as Gtk1 versus Gtk2; if you compile xdialog from ports against Gtk2 AND misconfigure your fonts or generally make Gtk2 unhappy, these warning messages can bleed into the captured stderr -- that is we we sanitize!).
OpenPOWER on IntegriCloud