summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete the old USB stack. The new stack has settled in and has all thethompsa2009-05-271-4/+1
| | | | drivers/functionality and then some.
* Add support for the arbitrary named jail parameters used by jail_set(2)jamie2009-05-272-11/+22
| | | | | | | | | | | | | | and jail_get(2). Jail(8) can now create jails using a "name=value" format instead of just specifying a limited set of fixed parameters; it can also modify parameters of existing jails. Jls(8) can display all parameters of jails, or a specified set of parameters. The available parameters are gathered from the kernel, and not hard-coded into these programs. Small patches on killall(1) and jexec(8) to support jail names with jail_get(2). Approved by: bz (mentor)
* Merge local changes to ee(1) into contrib space.ed2009-05-268-6540/+6
| | | | | | | | The source file, manual page and English translation are now directly obtained from the contrib/ directory. This makes it a lot easier to merge a newer version of ee(1) into the tree. Thanks to: des and jhb
* Remove unused curses replacement implementation from ee(1) sources.ed2009-05-262-3989/+0
|
* Bump the document date to reflect the recent address range enhancements.brian2009-05-251-1/+1
| | | | Suggested by: throdes
* Fix kdump build when building it by hand.ed2009-05-251-1/+1
| | | | | | | | | I don't entirely like this approach, but it will only be temporarily, namely until we get rid of COMPAT_43TTY. I do want <sys/ioctl_compat.h> to cause a compiler error when included, because it's just there for binary compatibility. Reported by: Andrzej Tobola <ato iem pw edu pl>
* Add the "-4" option to nfsstat, so that it will reports statsrmacklem2009-05-252-7/+369
| | | | | | for the experimental nfs subsystem when that option is specified. Approved by: kib (mentor)
* Implement "addr1,+N" ranges - not dissimilar to grep's -A switch.brian2009-05-254-18/+39
| | | | | PR: 134856 Submitted by: Jeremie Le Hen - jeremie at le-hen dot org
* A few more style changes as well as a more broad allowance forgnn2009-05-201-27/+19
| | | | | | | errors to be given by the caller. Change output to be easier for use in scripts. Submitted by: bce
* o style.Makefile(5): remove SRCS.maxim2009-05-201-1/+0
|
* Fix a few style(9) nits.gnn2009-05-191-7/+9
| | | | Submitted by: danfe
* Add a new program, perror, which takes an errno as a command line argumentgnn2009-05-194-0/+133
| | | | | and outputs the associated textual message in the same way that perror(3) would if called within a program.
* find: do not silently disable -L when -delete is usedavg2009-05-191-5/+5
| | | | | | | | | | | | | | | | | | First of all, current behavior is not documented and confusing, and it can be very dangerous in the following sequence: find -L . -type l find -L . -type l -delete (the second line is even suggested by find(1)). Instead simply refuse to proceed when -L and -delete are both used. A descriptive error message is provided. The following command can be safely used to remove broken links: find -L . -type l -print0 | xargs rm -0 To do: update find(1) PR: bin/90687 Obtained from: Anatoli Klassen <anatoli@aksoft.net> Approved by: jhb (mentor)
* Reduce diff against my local version: replace malloc+memset() cases to calloc().delphij2009-05-1510-22/+12
|
* Fix print_syscall_ret parameter order.dds2009-05-131-1/+1
|
* Fix compilation error introduced in r192025.dds2009-05-131-1/+2
|
* Add -c option to summarize number of calls, errors, and system time.dds2009-05-1213-145/+247
| | | | Reviewed by: alfred
* Add support for old TTY ioctls to kdump.ed2009-05-091-0/+1
| | | | | | | At first I allowed ioctl_compat.h to be included, but it just returned an empty file. I had to do this, to keep kdump happy. I really want to raise a compiler error when including this header, so now it will just throw an error if you don't set COMPAT_43TTY.
* Add my birthdayskreuzer2009-05-071-0/+1
| | | | Approved by: wxs (mentor)
* Add my birthday to the calendar.rene2009-05-051-0/+1
| | | | Approved by: remko
* Add myself as a mentee of dwmalone for the committers graph. Also add mysnb2009-05-051-0/+1
| | | | | | birthday to the calendar. Approved by: dwmalone (mentor)
* Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.obrien2009-05-042-242/+2
|\
| * Flatten the file vendor area.obrien2009-01-01129-7944/+0
| | | | | | | | Remove the svn:keywords property from the vendor files.
| * Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-061-365/+72
| | | | | | | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
* | Mention -h in usage() and manpage. Rename term_{r,e} to term_{so,se}.rdivacky2009-05-022-25/+27
| | | | | | | | | | Suggested by: ru Approved by: ed (mentor)
* | Fixed multi-byte character support to actually work.ru2009-04-301-6/+6
| |
* | Fixed missing dependency.ru2009-04-301-1/+1
| |
* | Report the next directory being scanned when a ^T is pressed (or anyimp2009-04-301-0/+15
| | | | | | | | | | | | | | SIGINFO). Provides some progress report for the impatient. This won't report that we're blocking in our walk due to disk/network problems, however. There's no really good way to report that condition that I'm aware of...
* | Add MLDv2 statistic IDs to netstat for IPv6 stack.bms2009-04-291-3/+3
| |
* | Couple of changes based on feedbackrdivacky2009-04-211-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | o Change mr/me to so/se [1]. o Introduce a -h option to disable highlighting. [2] o Spell STDOUT_FILENO as such and pass NULL to tgetent() to handle the case of unset TERM. [3] Suggested by: naddy mips.inka.de (Christian Weisgerber) [1] Requested by: danfe, deischen [2] Suggested by: jmallett [3] Approved by: ed (mentor)
* | Bracket struct mfc and struct rtdetq with #ifdef _KERNEL.bms2009-04-211-0/+3
| | | | | | | | | | | | | | | | | | | | Match the bracketing in netstat. Since the cleanup of MROUTING, ports have broken because they expect to include <netinet/ip_mroute.h> without including <sys/queue.h>. Fix breakage at source. The real fix, of course, is to fix the MROUTING APIs by blowing them away and replacing them with something else...
* | Implement highlighting of today in month view of cal/ncal just likerdivacky2009-04-202-14/+82
| | | | | | | | | | | | | | | | gnu cal does. This is currently disabled for year view because of hard coded padding in that case. This will hopefully be fixed soon. Reviewed by: Simon 'corecode' Schubert <corecode fs.ei.tum.de> Approved by: ed
* | Pass int arguments to auditon(2)'s A_GETCOND API rather than longrwatson2009-04-191-6/+6
| | | | | | | | | | | | | | | | | | arguments. This change should be MFC'd with OpenBSM 1.1 since they are interdependent. MFC after: 2 weeks Obtained from: TrustedBSD Project Sponsored by: Apple, Inc.
* | When compiled for the release crunches, be a bitkientzle2009-04-192-9/+37
| | | | | | | | | | | | | | | | | | more selective about what libarchive features we pull in: * No compression support * Only cpio and ustar writing * Only cpio and tar/pax readers This reduces a statically linked, stripped binary from 900k to 680k and completely eliminates the dependency on libcrypto.
* | Make -lcrypto usage dependent on whether or not we're building with OpenSSL.kientzle2009-04-182-2/+9
| |
* | Merge from libarchive.googlecode.com:kientzle2009-04-1728-153/+788
| | | | | | | | | | | | | | | | * Lots of new tests. * New -n / --numeric-uid-gid option * More sanity-checking of arguments * Various Windows portability improvements * Sync up version number to 2.7.0
* | Merge remaining changes from libarchive.googlecode.com:kientzle2009-04-176-42/+150
| | | | | | | | | | | | | | | | * Add xz and lzma compression options * Rename --format-options to simply --options * Add --same-owner for GNU tar compat * Add -lmd and -lcrypto to fix link * Documentation
* | Set options before opening the archive.kientzle2009-04-171-7/+10
| | | | | | | | Catch and report close-time errors.
* | Minor portability improvement in calls to ctype.h macros.kientzle2009-04-171-2/+2
| |
* | Merge from libarchive.googlecode.com: Numerous Windows-specific build tweaks.kientzle2009-04-1710-52/+58
| |
* | Don't exit until all truss children were exit.delphij2009-04-131-4/+10
| |
* | Correct a bug where pr_data should have been assigned.delphij2009-04-131-4/+4
| |
* | Avoid infinite loops when remaking makefiles not onlyfjoe2009-04-074-41/+26
| | | | | | | | for Makefile targets but also for targets they depend on.
* | Fixup the parameters to audit_submit(3) the order is errno then returncsjp2009-04-041-7/+7
| | | | | | | | | | | | | | value. This bug went un-noticed for so long because EPERM == 1 MFC after: 1 week Spotted by: sson, rwatson
* | Signed/unsigned fixes, should be WARNS=2 clean now.delphij2009-04-021-3/+3
| |
* | Don't crash when we have an invalid count number.delphij2009-04-021-0/+2
| | | | | | | | | | | | PR: bin/32686 Submitted by: Jaakko Heinonen <jh saunalahti.fi> MFC after: 1 week
* | Fix punctuation.trhodes2009-04-011-1/+1
| | | | | | | | | | PR: 132834 Submitted by: "Alan R. S. Bueno" <alan.bsd@gmail.com>
* | Don't strip TTY device name to the last '/'.ed2009-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | We've seen this bug in other applications before: we have some applications that use strrchr(tty, '/') on the TTY device name. This isn't valid when using pts(4), because the device name will be stripped to "0" instead of "pts/0". This fixes issues with login(1) ignoring /etc/ttys and missing utmp records. Reported by: Barney Cordoba <barney_cordoba yahoo com> Reviewed by: rwatson
* | Add two missing include files and prototype for sockfamilyname()delphij2009-03-201-0/+3
| | | | | | | | which is generated by mksubr.
* | Act like ranlib if our name ends in ranlib. In particular,kientzle2009-03-201-2/+5
| | | | | | | | | | | | | | this works with some recent cross-building changes by Warner that install ranlib as, e.g., "arm-freebsd7.1-ranlib". Submitted by: John Hein
OpenPOWER on IntegriCloud