summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang warnings.benl2011-05-183-4/+4
| | | | | | Note: these were actually bugs (printf with no format string). Approved by: philip (mentor)
* Change the sysctl naming for the old and new NFS clientsrmacklem2011-05-151-2/+2
| | | | | to vfs.oldnfs.xxx and vfs.nfs.xxx respectively. This makes the default nfs client use vfs.nfs.xxx after r221124.
* - Fix several typos [1]stas2011-05-141-6/+11
| | | | | | | - fuser(1) writes usernames to stderr, not stdout [1] - Add history section. Submitted by: Pieter de Goeje <pieter@degoeje.nl> [1]
* Constify a few string variables. While I'm there, also convert usage() todelphij2011-05-131-10/+10
| | | | | | use a prototype. MFC after: 2 weeks
* Fixed an embedded shell script.ru2011-05-131-1/+1
| | | | Reviewed by: sobomax
* uintmax_t is a better type here...imp2011-05-121-1/+1
| | | | Submitted by: avg@
* Fix printf int mismatch on 32-bit architectures...imp2011-05-121-2/+3
|
* - Commit work from libprocstat project. These patches add support for runtimestas2011-05-1222-1386/+999
| | | | | | | | | | | | | | | | | | | | | | | file and processes information retrieval from the running kernel via sysctl in the form of new library, libprocstat. The library also supports KVM backend for analyzing memory crash dumps. Both procstat(1) and fstat(1) utilities have been modified to take advantage of the library (as the bonus point the fstat(1) utility no longer need superuser privileges to operate), and the procstat(1) utility is now able to display information from memory dumps as well. The newly introduced fuser(1) utility also uses this library and able to operate via sysctl and kvm backends. The library is by no means complete (e.g. KVM backend is missing vnode name resolution routines, and there're no manpages for the library itself) so I plan to improve it further. I'm commiting it so it will get wider exposure and review. We won't be able to MFC this work as it relies on changes in HEAD, which was introduced some time ago, that break kernel ABI. OTOH we may be able to merge the library with KVM backend if we really need it there. Discussed with: rwatson
* Flush the scriptfile whenever we see a non-graphical character to getphk2011-05-101-5/+11
| | | | | more real-time logging, without forcing a write(2) on every single character.
* Regenerated with latest configure script.delphij2011-05-101-0/+6
| | | | MFC after: 1 month
* - Add a forgotten -o to usage().ru2011-05-051-1/+1
| | | | - Sync usage() with manpage's SYNOPSIS.
* [mdoc] remove a hard sentence break.ru2011-05-051-1/+2
|
* Update nfsstat.1 to reflect the changes done to nfsstat(1)rmacklem2011-05-041-5/+10
| | | | | | | by r221455. This includes a new "-o" option for displaying statistics from the old NFS client/server and a slightly different description for the "-e" option. This is a content change.
* Modify nfsstat(1) so that it reports statistics for thermacklem2011-05-041-106/+253
| | | | | | | new NFS client/server by default, in a format compatible with the old NFS client/server. Also add a "-o" flag that forces nfsstat(1) to get statistics for the old NFS client/server.
* Modify nfsstat(1) so that it prints out the buffer cachermacklem2011-05-041-4/+6
| | | | | | stats in the same way for the new client as the old one. MFC after: 2 weeks
* Fix nfsstat.c so that the "-z" option works for the newrmacklem2011-05-041-5/+12
| | | | | | NFS subsystem. MFC after: 2 weeks
* Revert r221308, since it incorrectly zero'd both client andrmacklem2011-05-041-6/+3
| | | | server stats when "-c" or "-s" was specified.
* Fixed bad format and misorder.ru2011-05-031-4/+4
|
* Call pam_setcred() before login_getpwclass to support home directoriesdfr2011-05-031-2/+14
| | | | | on GSS-API authenticated NFS where the kerberos credentials need to be saved so that the kernel can authenticate to the NFS server.
* Change the way rctl interfaces with jails by introducing prison_raccttrasz2011-05-031-4/+4
| | | | | | structure, which acts as a proxy between them. This makes jail rules persistent, i.e. they can be added before jail gets created, and they don't disappear when the jail gets destroyed.
* Minor updates to the clang and tblgen manpages.dim2011-05-022-14/+9
|
* Upgrade our copy of llvm/clang to r130700, from upstream's trunk.dim2011-05-021-15/+16
|
* Fix nfsstat.1 to indicate that "-z" now works forrmacklem2011-05-011-2/+1
| | | | | | | the new NFS subsystems after r221308. This is a content change. MFC after: 2 weeks
* Fix nfsstat so that the "-z" option works for thermacklem2011-05-011-3/+6
| | | | | | new NFS subsystem. MFC after: 2 weeks
* Let users' PATH decide which groff suite to pick up.uqs2011-05-011-7/+9
| | | | | | | | | Let groff pass the -c flag to grotty, which will turn off ANSI sequences. While these are not a problem for our more/less, they get mangled by col(1) and this will result in garbage output. This makes man(1) work together with textproc/groff, in case the user decided to delete the old groff from base (-DWITHOUT_GROFF).
* Raise rlogin back to a WARNS level of 6.jhb2011-04-271-2/+0
| | | | Tested by: make universe
* Revert r221053 by replacing WARNS?= 3 since it's breaking the build ondougb2011-04-261-0/+2
| | | | several arches.
* Generate the network byte order version of the window size structure in ajhb2011-04-261-6/+6
| | | | | | | temporary variable on the stack and then copy that into the output buffer so that the htons() conversions use aligned accesses. MFC after: 1 month
* This builds OK using the parent dir's WARNS=6.obrien2011-04-261-2/+0
| | | | [built on both AMD64 and i386]
* Catch up with r57841 which removed the possible linking against libutilobrien2011-04-261-1/+0
| | | | by not bothering to include its API.
* printf(1): Move non-bugs from the BUGS section to a new section CAVEATS.jilles2011-04-251-10/+10
|
* printf(1): Mention effect of '#' modifier on other conversions.jilles2011-04-251-5/+5
|
* Check return code of setuid() and setgid() in finger.simon2011-04-231-4/+8
| | | | | | | While they will not fail in normal circumstances, better safe than sorry. MFC after: 1 week
* kdump: Show code for signals where the default action was taken.jilles2011-04-171-1/+1
| | | | | | | This information is available as of kernel r220740. Trace files from older kernels will always have 0. MFC after: 1 week
* Add manual page for rctl.conf(5).trasz2011-04-141-1/+2
|
* Show client's access cache statistics.ru2011-04-131-3/+4
|
* Add link to rctl(8).trasz2011-04-101-1/+2
|
* When specifying the -t option (send tag in front of message), this tagedwin2011-04-082-9/+15
| | | | | | | | | should also be forwarded to the remote logging host, not only when the logging is done locally. PR: bin/154324 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> MFC after: 1 week
* - Adjust a comment to actual behaviourgabor2011-04-078-4/+19
| | | | | | | | | - Makefile nit - Add more CVS/SVN keywords to make it easier to track changes from NetBSD in case they add further improvements Approved by: delphij (mentor) Obtained from: The NetBSD Project
* - Simplify the fixed string pattern preprocessing codegabor2011-04-073-11/+12
| | | | | | | - Improve readability Approved by: delphij (mentor) Obtained from: The NetBSD Project
* - Replace some strcpy()-family functions with memcpy() ones. It has beengabor2011-04-071-5/+6
| | | | | | | | | discussed earlier that the extra safeness is not required in these cases and we can avoid the overhead by using the more general memory copy functions. Approved by: delphij (mentor) Obtained from: The NetBSD Project
* Document -w for swapuse.pluknet2011-04-051-3/+7
| | | | | | PR: docs/156089 Submitted by: Andrey Ignatov <rdna att rdna.ru> MFC after: 1 week
* Overhaul locale handling.gordon2011-04-021-46/+45
| | | | | | | | Use locale(1) to determine the locale instead of trying to hand roll it. Correctly construct groff call based on charset and locale independently, not the mix between the two. Submitted by: uqs@
* Remove $Log$ keyword, which can cause annoyance in diffs in some cases.emaste2011-03-311-1/+1
| | | | Revision control tools have a history command to obtain this information.
* Fix grammar and bump date.trasz2011-03-301-2/+2
| | | | Submitted by: trociny
* Add rctl(8), the utility to manage rctl rules.trasz2011-03-304-0/+751
| | | | | Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version)
* Add myselfmartymac2011-03-281-0/+1
|
* getpwnam(3) may return NULL.ume2011-03-271-3/+4
| | | | | | Requested by: nork Reviewed by: Takeharu KATO <takeharu1219__at__ybb.ne.jp>, nork MFC after: 1 week
* Fixed sockets display somewhat (-L, -T, -x, -Lx, with and without -A).ru2011-03-261-45/+37
| | | | | | (I didn't try to fix negative TCP timers with -x.) MFC after: 3 days
* Discourage from using "cp -r".ru2011-03-241-2/+2
|
OpenPOWER on IntegriCloud