summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Make -l always have the SUSv2 meaning of "check links."kientzle2008-01-222-30/+11
| | | | | | | | GNU tar changed -l to match SUSv2 a couple of years ago, so bsdtar no longer needs to pander to this particular GNUism. Thanks to: Debian maintainers MFC after: 7 days
* Understand newly introduced "ASCII" encodingache2008-01-222-0/+3
|
* Note what options are only for DDS drives.trhodes2008-01-211-4/+4
| | | | PR: 35608
* When printing process file descriptor lists, show a type of 'h' forrwatson2008-01-201-0/+4
| | | | POSIX shared memory descriptors.
* Fix some boolean logic errors. && vs & and other sillyness. *blush*peter2008-01-181-3/+3
| | | | | | This would prevent it from skipping non-present cpus in -P output. Submitted by: Pieter de Goeje <pieter@degoeje.nl>
* Add a -P flag to display per-cpu cpu usage stats.peter2008-01-181-5/+95
|
* ANSIfy and remove register.delphij2008-01-1618-169/+99
| | | | Resulting binary verified with strip(1)+md5(1).
* Fix some bugs in wall(1):das2008-01-151-6/+13
| | | | | | | | | | - Handle wrapping correctly when \r appears in the input, and don't remove the \r from the output. - For lines longer than 79 characters, don't drop every 80th character. - Style: Braces around compound while statement. PR: 114498 Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (earlier version)
* Update for the 'file' 4.23 import.obrien2008-01-131-4/+23
|
* - Handle the case where interface from "middle" is missing bydelphij2008-01-121-4/+4
| | | | | | | | | more carefully inspecting the return value from sysctl(3). [1] - Use calloc instead of malloc+memset of zero. Submitted by: Alexander Chernikov <admin su29 net> [1] PR: bin/119581 MFC after: 2 weeks
* Add IFT_BRIDGE to the Ethernet section so l2 addresses are formatted correctly.thompsa2008-01-101-0/+1
| | | | | PR: bin/119542 Submitted by: Niki Denev
* quiet compiler complaint about unused parameterssam2008-01-101-2/+2
|
* Improve -u (limit uid lookups) behavior.obrien2008-01-091-2/+8
| | | | | Submitted by: David Frascone <dave@frascone.com> PR: 119490
* Welcome unzip(1), a pure BSD drop-in replacement for ports/unzip. In itsdes2008-01-083-0/+920
| | | | | | | | | | | | current state, it can handle all but four of the 991 zip files (including jar files) I was able to identify in the ports tree. The remaining four are two self-extracting archives and two which have garbage preceding the first local header. This limitation is a feature of libarchive(3) which I am currently working to resolve. The code is unnecessarily large due to the need to emulate the exact command-line syntax and behaviour of ports/unzip. My initial incompatible implementation was one quarter the size of the one I am committing here.
* Only use sockoptname() to parse socket option names for SOL_SOCKETjhb2008-01-071-4/+6
| | | | | | | requests. MFC after: 3 days Reported by: Michiel Boland michiel boland.org
* Make a few messages more consistant with the others.obrien2008-01-041-2/+2
|
* more style(9)obrien2008-01-041-69/+70
|
* The break() system call takes a pointer argument, not an integer. Thisjasone2008-01-031-1/+1
| | | | change fixes output for break() on LP64 systems.
* style(9)obrien2008-01-0218-256/+251
| | | | | | | + kread is not a boolean, so check it as such + fix $FreeBSD$ Ids + denote copyrights with /*- + misc whitespace changes.
* Remove the old bsdtar test scripts; something muchkientzle2008-01-028-859/+0
| | | | better is almost ready to commit.
* A couple of miscellaneous fixes:kientzle2008-01-023-4/+18
| | | | | | | | * prototypes for optarg/optind on platforms that don't already have them * Disambiguate version number macros * Remove unnecessary PACKAGE_NAME macro * Hook for forthcoming bsdtar test suite * Sync version number up with the portable distribution
* Fill in the approximate date when tar(1) first appeared.kientzle2008-01-021-1/+1
|
* Include a suitable stub definition of __FBSDID() for non-FreeBSD platforms.kientzle2008-01-021-1/+2
|
* Use archive_entry_strmode() instead of a local bsdtar_strmode().kientzle2008-01-023-53/+3
| | | | | | (This does a couple of things that the standard library's strmode() doesn't; it proved useful in bsdcpio as well, so I pushed it down into libarchive.)
* Include Guido's copyright for the fnmatch() code I cribbed from.kientzle2008-01-021-1/+36
| | | | (It's in the C source, just wasn't in the COPYING file until now.)
* Add my birthday to the calendar.weongyo2008-01-011-0/+1
| | | | Approved by: thompsa (mentor)
* follow style(9) more closely and list sys/types.h first after sys/defs.h.imp2008-01-012-2/+2
| | | | Submitted by: max@
* style(9)grog2007-12-301-1/+1
|
* If we can't open a calendar file, don't guess why. Check the errorgrog2007-12-301-1/+2
| | | | | | | return and print a useful message. Prior to this commit, access problems could give rise to messages that the file didn't exist.
* Some systems need the types defined in sys/types.h, but lack theimp2007-12-292-0/+2
| | | | | | sys/types.h polution that FreeBSD has in one of its include files. Since this is a bootstrap tool, include more than is strictly necessary for FreeBSD.
* List all environment variables supported by libfetch, along with a referencedes2007-12-281-9/+19
| | | | | | to the fetch(3) man page. MFC after: 1 week
* Add the ability to clean up all shared memory segments which areedwin2007-12-257-214/+468
| | | | | | | | | | | | | | | | | | | | | unused in one go. From the original PR: I've observed that linux apps running under the linuxulator have a habit of leaving behind shared memory segments which are unused, but which eventually cause the system to run out of free segments and these apps will stop working. ipcrm(1) currently only allows removal of unused message queues, shared memory segments and semaphores on an individual basis, or those having a matching (non-zero) key. However it would often be convenient to just do a complete cleanup of everything, usually as root. PR: bin/118292 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> Not reviewed by: grog@ Approved by: grog@
* usbhidctl appears to not report features and write size correctlyimp2007-12-211-4/+4
| | | | | | | | This turns out to be due to an argument botch for hid_report_size. The PR contained patches to fix the argument botch. Submitted by: Maurice Castro PR: usb/118915
* Fix disorder introduced in previous commit.ru2007-12-201-1/+1
|
* Pull ministat into the installed system and write it a man-page.phk2007-12-203-1/+131
| | | | (Repocopied from src/tools/tools/ministat)
* Fix printing of the number of syncache entries added.ru2007-12-181-2/+2
|
* Stylify ipcs/ipcs.c and ipcrm/ipcrm in preparation of the upcomingedwin2007-12-182-384/+470
| | | | | | | | | changes as proposed in bin/118292. Feel free to mention any I have missed, there is much to learn with regarding to style(9). Approved by: grog@
* o Fix a holiday to reflect a reality.maxim2007-12-171-1/+1
| | | | | Submitted by: Andrey V. Elsukov MFC after: 1 week
* Give a better description when a install of multiple files failsedwin2007-12-141-1/+6
| | | | | | | | | | because of the absence of a destination directory or if the "destination directory" is not a directory. PR: bin/11826 Submitted by: Denis Eremenko <moonshade@pnhz.kz> Approved by: grog@ X-MFC after: various freezes
* Add the -H, -h and -P flags to vmstat. -P causes per-cpu output ofpeter2007-12-133-20/+207
| | | | | | user/system/idle stats. -h feeds the memory column through humanize_number() to reduce the amount of column overflowing. -H turns this off. -h is turned on by default if stdout is a tty.
* Add 'COMM' column to a few more output modes of procstat(1). The onlyrwatson2007-12-104-20/+29
| | | | | one it's missing from is the VM display, where there's really not room, and the file output display is looking quite cramped.
* Use a clever definition of __FBSDID to allow building on !FreeBSD systems.imp2007-12-091-2/+5
|
* Add several missing comma's in the fancy syscall parsing case beforejhb2007-12-061-0/+12
| | | | | | some arguments that are parsed (e.g., semctl command names). MFC after: 3 days
* Display per-thread command line in TDNAME field for -k and -t; ifrwatson2007-12-032-21/+71
| | | | | | | | | no per-thread name is available or the name is identical to the process name, display "-" instead. Very slightly shrink the COMM entry to make a bit more room, although this doesn't help with stack traces much. Suggested by: thompsa
* Connect procstat(1) to the build.rwatson2007-12-021-0/+1
|
* Add procstat(1), a process inspection utility. This provides both somerwatson2007-12-0212-0/+1459
| | | | | | | | | | | | | | | | | | | of the missing functionality from procfs(4) and new functionality for monitoring and debugging specific processes. procstat(1) operates in the following modes: -b Display binary information for the process. -c Display command line arguments for the process. -f Display file descriptor information for the process. -k Display the stacks of kernel threads in the process. -s Display security credential information for the process. -t Display thread information for the process. -v Display virtual memory mappings for the process. Further revision and modes are expected. Testing, ideas, etc: cognet, sam, Skip Ford <skip at menantico dot com> Wesley Shields <wxs at atarininja dot org>
* Add a cross-reference to newgrp(1).philip2007-11-301-0/+1
| | | | | | | Every time I need newgrp, I forget its name but I remember it's like login for groups - newgrp(1) already cross-references login(1). MFC after: 2 days
* Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSDjb2007-11-281-1/+0
| | | | | | headers. All OpenSolaris compatibility comes via the set of specific compatibility headers in src/compat/opensolaris and src/sys/compat/opensolaris.
* Fix -jX when makefiles are remade.fjoe2007-11-251-0/+16
|
* Nuking the temporary pointer once it is properly tracked in local storage.avatar2007-11-221-0/+1
| | | | | | | | | | | | | This should fix the double free() bug where there's no tailing newline(\n) character: current# echo -n test | tail testAssertion failed: (run->magic == ARENA_RUN_MAGIC), function arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448. Abort (core dumped) Reviewed by: kib MFC after: 3 days
OpenPOWER on IntegriCloud