summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Alow dirname(1) to accept multiple arguments in the same way thatrwatson2009-02-022-5/+9
| | | | | | | | | | | basename(1) does. (Two different PRs contained identical patches, both cited below) PR: 121520, 86148 Submitted by: Ighighi <ighighi at gmail dot com> Submitted by: Leif Neland <leif at neland dot dk> MFC after: 3 days
* Remove duplicate OPTFLAGS definition.fjoe2009-02-021-1/+0
|
* Sort the options, per style(9).imp2009-02-021-24/+25
| | | | Reviewed by: obrien@
* src/usr.bin/usbhidaction/usbhidaction.calfred2009-02-022-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/usr.bin/usbhidctl/usbhid.c src/sys/dev/usb2/include/usb2_hid.h src/sys/dev/usb2/input/uhid2.c src/lib/libusbhid/Makefile src/lib/libusbhid/descr.c src/lib/libusbhid/descr_compat.c src/lib/libusbhid/usbhid.3 src/lib/libusbhid/usbhid.h src/lib/libusbhid/usbvar.h Patches to make libusbhid and HID userland utilities compatible with the new USB stack. All HID ioctls should go through the libusbhid library to ensure compatibility. I have found at least one piece of software in /usr/ports which needs to get updated before USB HID devices will work. This is the X joystick input driver. Reported and tested by: Daichi GOTO and Masanori OZAWA. src/sys/dev/usb2/core/usb2_process.c Correct USB process names. Reported by: Andre Guibert de Bruet src/sys/dev/usb2/serial/uftdi2.c Integrate changes from old USB stack. Submitted by: hps
* Remove the single global unlocked route cache ip6_forward_rtbz2009-02-011-2/+0
| | | | | | | | | | | | | | | | | | from the inet6 stack along with statistics and make sure we properly free the rt in all cases. While the current situation is not better performance wise it prevents panics seen more often these days. After more inet6 and ipsec cleanup we should be able to improve the situation again passing the rt to ip6_forward directly. Leave the ip6_forward_rt entry in struct vinet6 but mark it for removal. PR: kern/128247, kern/131038 MFC after: 25 days Committed from: Bugathon #6 Tested by: Denis Ahrens <denis@h3q.com> (different initial version)
* David doesn't consider the prior -s behavior a bug. Back out thisimp2009-01-311-1/+0
| | | | change.
* Unbreak make -s. There's about a 10% performance improvement with -simp2009-01-301-0/+1
| | | | | | in many environments. The recent --- blah --- reintroduction has killed. That output makes almost no sense when all the other output is silenced.
* Make sure the entries don't run into each other when they're longer thandes2009-01-301-6/+6
| | | | | | | | the allotted space. PR: bin/129318 Submitted by: Ighighi <ighighi@gmail.com> MFC after: 3 weeks
* When "-b" is specified, one could easily create "smaller" filestrhodes2009-01-241-3/+3
| | | | | | | | | that are much larger than expected (given the default size). Change "smaller files" to "split files" which is more in line with what "-b" actually does. PR: 119329 Submitted by: Julian Stacey <jhs@berklix.org>
* Attaching to the init process returns EINVAL,trhodes2009-01-231-2/+2
| | | | | | | | so give an example that is more likely to work. Stolen from the ktrace(1) manual page. PR: 128222 Submitted by: Mateusz Guzik <mjguzik@gmail.com>
* Remove inlining of functions that are used mostly in different object files.rdivacky2009-01-203-4/+4
| | | | | | | | This gets rid of gnu89 style inlining. Also silence gcc by assigning two variables NULL. This lets use to remove NO_WERROR. Approved by: kib (mentor) Approved by: harti
* The FTP_TIMEOUT and HTTP_TIMEOUT environment variables were ignored becausedes2009-01-171-3/+4
| | | | | | | | T_secs already had a non-zero default. Unbreak by moving the default to ftp_timeout / http_timeout. Submitted by: Christoph Mallon <christoph.mallon@gmx.de> MFC after: 2 weeks
* Rename mail(1)'s aux.c to util.c.ed2009-01-162-2/+2
| | | | | | | | The name `aux' is reserved on Windows file systems. aux.c in the mail(1) directory contains some random utility functions. I'm renaming this file to util.c to make it possible to check out this directory on Windows. MFC after: 1 month
* o Respect -ss flags (suppress zero counters) for icmp6 "histogrammaxim2009-01-131-1/+2
| | | | | | | of error messages" section. Submitted by: naddy MFC after: 1 week
* Don't enable -Q by default - I've fixed the rescue build issue.obrien2009-01-132-3/+3
|
* If running with "-K" really do not information about symbols from the a.outobrien2009-01-121-1/+1
| | | | | | | | | argument. Before this fix, after searching the currently-running kernel, we would still search the a.out argument - completely override the in-kernel list, essentially defeating the K flag's purpose. PR: 47387 Submitted by: Ryan Beasley <ryanb@goddamnbastard.org>
* Fix usage() with SYNOPSIS.ru2009-01-101-5/+6
|
* Fix markup and spelling.ru2009-01-101-4/+7
|
* A bit of rewording for clarity, taken from OpenBSD.trhodes2009-01-101-9/+26
| | | | Submitted by: jmc@OpenBSD.org
* Fix crash with "netstat -m -N foo".ru2009-01-101-1/+1
| | | | | PR: bin/124724 MFC after: 3 days
* Note that r186713 also contained a change to VarAdd where we propagate theobrien2009-01-061-2/+1
| | | | | newly created 'Var' back to the caller. Also, back out an accidentally commented WIP comment.
* Merge support for CVSMode (aka. mirror mode) into csup. This means csup can nowlulf2009-01-051-1/+5
|\ | | | | | | | | | | fetch a complete CVS repository. Support for rsync update of regular files are also included, but are not yet enabled. The change should not have an impact on existing csup usage, as little of the existing code has changed.
| * - Add missing rsyncfile from Makefilelulf2008-11-231-1/+2
| |
| * - Import csup work from p4.lulf2008-10-191-0/+3
| |
| * - Import the Makefile from HEAD for building csup.lulf2008-10-191-0/+36
| |\
| * | - Import the HEAD csup code which is the basis for the cvsmode work.lulf2008-10-191476-351849/+0
| |/
* | + Add the -Q be-quiet flag for parallel jobs.obrien2009-01-035-24/+29
| | | | | | | | | | - Enable -Q by default for the moment - there is something weird going on in the rescue build.
* | o With -L flag show unix sockets listen queues stats. It is usefulmaxim2008-12-312-7/+18
| | | | | | | | | | | | | | | | to know number of not accepted connections for monitoring purposes. PR: bin/128871 Submitted by: Anton Yuzhaninov MFC after: 1 month
* | Include param.h instead of types.h before mount.h so that the nestedrwatson2008-12-291-1/+1
| | | | | | | | | | | | include of param.h can be removed from audit.h. MFC after: 3 weeks
* | Include param.h instead of types.h before user.h so that the nestedrwatson2008-12-299-9/+9
| | | | | | | | | | | | include of param.h can be removed from audit.h. MFC after: 3 weeks
* | 1. Add the ability to tweak the token output before targets in job mode.obrien2008-12-296-4/+57
| | | | | | | | | | | | | | | | | | | | | | | | E.g., .MAKE.JOB.PREFIX=${.newline}---[${.MAKE.PID}] would produce ---[1234] target --- 2. Added ${.newline} as a simple means of being able to include '\n' in the assignment of .MAKE.JOB.PREFIX Obtained from: NetBSD
* | Consistently use Var_SetGlobal().obrien2008-12-293-4/+4
| |
* | Fix up after last commit:trhodes2008-12-271-6/+5
| | | | | | | | | | | | Bump doc date; Kill hard sentence breaks; Fix commas by moving them off their own line.
* | Clarify the behaviour of conditionals when dealing with comparisons.luigi2008-12-261-12/+23
| | | | | | | | | | | | | | | | | | In particular, point out that string comparison can only use != and == (how weird, given that the underlying call to strcmp returns more information), that floating point values are correctly interpreted as numbers, and that the left-hand side must be a variable expansion. MFC after: 3 weeks
* | Right align the CPU column header.rpaulo2008-12-261-2/+2
| |
* | o Fix grammar.maxim2008-12-261-1/+1
| | | | | | | | | | PR: bin/129938 Submitted by: Bruce Cran
* | Remove reference to unimplemented "-c" option.trhodes2008-12-251-4/+1
| | | | | | | | PR: 119338
* | Update the description of -k, output files appear totrhodes2008-12-241-7/+2
| | | | | | | | | | | | | | | | be left regardless of an error, signal, or complete run. PR: 69861 Submitted by: vlad902@gmail.com
* | Update bmake glue for changes in 9.4.3dougb2008-12-231-1/+1
| |
* | Add a basic manual page for elf2aout.trhodes2008-12-232-1/+65
| | | | | | | | | | | | Alter Makefile and remove NO_MAN. PR: 109975
* | Implement a new feature for the "-m" option: if the month number iswollman2008-12-222-21/+45
| | | | | | | | | | | | | | | | | | followed by 'f' or 'p', use the following or preceding month of that number, respectively. Document this. Also includes other minor grammatical and punctuation fixes to the manual page (capitalize Easter, etc.). MFC after: 1 month
* | Fix a typo.wxs2008-12-191-1/+1
| | | | | | | | Approved by: rwatson
* | Do not segfault when procstat -f or procstat -v is called on a process notmarcus2008-12-192-0/+4
| | | | | | | | | | | | | | | | owned by the current user. If kinfo_getfile() or kinfo_getvmmap() return NULL, simply exit, and do not try and derefernce the memory. Reviewed by: peter Approved by: peter
* | Exit with error code 2 when run with -k (continue if errors) and build failed.fjoe2008-12-185-25/+23
| |
* | 1. Update fetch to consistently return 1 on error, as the man page states,murray2008-12-171-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than usually returning 1 but in a few instances using a sysexits(3) return value. 2. Remove a few unused variables from libfetch. PR: docs/122470 (1, only) Reviewed by: des > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M usr.bin/fetch/fetch.c M lib/libfetch/fetch.c
* | Fix printing of shared memory limits.ru2008-12-161-5/+5
| | | | | | | | MFC after: 3 days
* | Add support for HTTP 1.1 If-Modified-Since behavior.murray2008-12-152-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fetch(1) accepts a new argument -i <file> that if specified will cause the file to be downloaded only if it is more recent than the mtime of <file>. libfetch(3) accepts the mtime in the url structure and a flag to indicate when this behavior is desired. PR: bin/87841 Submitted by: Jukka A. Ukkonen <jau@iki.fi> (partially) Reviewed by: des, ru MFC after: 3 weeks
* | This main goals of this project are:qingli2008-12-151-27/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* | Spell "substitution" correctly.kientzle2008-12-151-3/+3
| | | | | | | | | | | | | | PR: bin/128616 Submitted by: Jaakko Heinonen Pointy hat: Tim Kientzle MFC after: 30 days
* | Improve usage and sync SYNOPSIS with usage.ru2008-12-132-10/+17
| |
OpenPOWER on IntegriCloud