summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* From the list of calendars, remove some duplicate entries which were addedcperciva2004-03-301-9/+3
| | | | | | | | | | | | as a result of mis-sorting. PR Submitter wanted to see a sorted list of non-national holidays followed by a sorted list of national holidays; I'm not going to do this, because I don't think we want to get into the "what is a nation?" debate. PR: docs/64848 Submitted by: Ulrich Spoerlein <q@uni.de> (approximately) MFC after: 3 days
* Use KERN_PROC_PROC instead of KERN_PROC_ALL on the call to kvm_getprocs(),gad2004-03-301-1/+5
| | | | | | so we get one line per process instead of one for each kernel-thread. Noticed by: ache & tjr
* Add a cross-reference to pkill(1), now that pkill is hooked up to the build.gad2004-03-271-0/+1
|
* bde also tells me that he is confident that P_SYSTEM will not workgad2004-03-271-8/+1
| | | | | any better on 4.x than it does on 5.2. If that's true then there is no point to the __FreeBSD_version check that I had added.
* Hook `pkill' (and thus `pgrep') to the standard buildworld.gad2004-03-271-0/+1
| | | | Reviewed by: freebsd-arch
* Some style(9)-ish improvements, courtesy of bde.gad2004-03-271-6/+6
| | | | Noticed by: bde
* Remove the _PATH_DEVNULL setting for "swapf". From the kvm_open(3)gad2004-03-261-3/+3
| | | | | | man page: The swapfile argument is currently unused. Noticed by: ru
* Remove the NEED_KMEM support meant for FreeBSD 3.x. This base-systemgad2004-03-261-9/+1
| | | | | | version isn't going to be committed to that branch... Noticed by: des
* Switch to checking P_KTHREAD instead of P_SYSTEM when deciding whatgad2004-03-261-3/+10
| | | | | | "system processes" to always ignore. Based on my testing with `-D', I am pretty sure this is what we want for 5.x-current. If my thinking is wrong, this also makes it easier to switch to a different check.
* Properly document the -M and -N options.ru2004-03-262-9/+19
|
* Correct the description of the -N option.ru2004-03-261-2/+2
|
* Avoid the manpage layering violation and low-level implementationru2004-03-261-3/+2
| | | | | details of libkvm, and just tell what the getbootfile(3) function will return, by using the text from netstat(1) and dmesg(8).
* Correct the description of options -N and -M to match reality.ru2004-03-261-4/+4
|
* Apply style.Makefile(5).ru2004-03-261-6/+4
|
* Send those -Debug messages to stderr, not stdout...gad2004-03-261-2/+2
|
* Add a debugging option, as I don't understand something that I'm seeing.gad2004-03-261-2/+18
| | | | (this is a probably temporary option, and is not to be documented)
* Remove a redundant check against mypid (the check is done later, ingad2004-03-261-1/+1
| | | | | | the "Take the appropriate action" section). Obtained from: the sysutils/pkill port
* Add a cast to get this to compile with WARNS=5 on sparc64. This isgad2004-03-262-2/+3
| | | | | | needed because off_t == __int64_t, while size_t == __uint64_t. This also compiles with WARNS=5 on amd64, but I haven't tested the other platforms yet.
* Fixes so this will compile with WARNS=5 on i386.gad2004-03-261-19/+22
|
* Fix two cosmetic style(9) issues.gad2004-03-251-2/+2
|
* Add a comment for when these utilities were added to FreeBSD, and addgad2004-03-251-0/+3
| | | | a cross-reference to killall(1).
* Add `-M' and `-N' options to `pkill' and `pgrep', similar togad2004-03-252-6/+35
| | | | | | | | | | | | what are supported in `ps': -M Extract values associated with the name list from the specified core instead of the default /dev/kmem. -N Extract the name list from the specified system instead of the default /kernel. Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> Obtained from: the sysutils/pkill port
* Use the correct type for some casts, thus avoiding a few warning messagesgad2004-03-251-4/+4
| | | | | | | when compiling with WARNS=3 Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> Obtained from: the sysutils/pkill port
* Change some routine and variable names to match the FreeBSD system.gad2004-03-252-35/+55
| | | | | Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> Obtained from: the sysutils/pkill port
* Add the `pkill' and `pgrep' commands from NetBSD. This is the sourcegad2004-03-253-0/+752
| | | | | | | | | straight from NetBSD (except to add the RCS-ID lines for FreeBSD). These will probably require a few updates before they are added to the FreeBSD buildworld. I might MFC these to 4.x-stable after 4.10. Discussed on: freebsd-arch Obtained from: NetBSD (and OpenBSD also has these)
* Respect decimal flag when dumping USER type records.phk2004-03-251-1/+4
|
* Sort SRCS in Makefile and document -g option additions.bms2004-03-252-2/+3
| | | | Nudged by: ru
* Output style: Get rid of an unnecessary newline.bms2004-03-251-1/+0
|
* Teach netstat(1) how to print the multicast group memberships presentbms2004-03-254-2/+154
| | | | | | within the running system. Sponsored by: Ralf the Wonder Llama
* Add -u option to ipcs(1) and document it in ipcs.1bmilekic2004-03-242-3/+39
| | | | | | | It allows you to list IPC facilities owned by username/uid. Submitted by: Christian S.J. Peron <maneo@bsdpro.com> PR: bin/63463
* Remove doscmd from the base system now that it lives in the ports tree.des2004-03-2370-25635/+0
|
* Add support for decoding Timespec, Timeval, Itimerval, Pollfd,dwmalone2004-03-232-3/+179
| | | | | | | | | | | | | | | | | Fd_set and Sigaction structures. Use these for printing the arguments to sigaction(), nanosleep(), select(), poll(), gettimeofday(), clock_gettime(), recvfrom(), getitimer() and setitimer(). This is based on Dan's patch from the PR but I've hacked it for style and some other issues. While Dan has checked this patch, any goofs are probably my fault. (The PR also contains support for the dual return values of pipe(). These will follow once I've ported that support to platforms other than i386.) PR: 52190 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* Use pread to implement pread, rather than taking a detour throug stdio.dwmalone2004-03-231-16/+2
| | | | | PR: 52190 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* decode mprotect args while i'm here.alfred2004-03-231-0/+2
|
* decode fcntl and mmap arguments.alfred2004-03-233-2/+66
|
* Use fseeko() to properly support large files.tjr2004-03-221-3/+3
|
* Use errc().tjr2004-03-221-4/+2
|
* 1. Use socklen_t instead of intcperciva2004-03-211-4/+4
| | | | | | 2. Compare socket(2) return code to -1, not <= 0. Obtained from: OpenBSD rev. 1.9
* Support C-style comments in profile.des2004-03-211-3/+18
|
* More cleanups:ru2004-03-181-20/+20
| | | | | | | | - 0 should have been -1 in previous commit (just to stay consistent), - Spell null pointers as NULL, not 0, - Fixed the comment about pr_usesysctl to not confuse it with boolean. Pointed by: bde
* NULL -> 0.ru2004-03-171-1/+1
|
* Improved incorrect usage diagnostics.ru2004-03-171-2/+6
|
* Trust bsd.prog.mk to set SRCS correctly.ru2004-03-171-1/+0
|
* GC unnecessary include file.ru2004-03-172-38/+0
|
* Approved by: mat (mentor).thierry2004-03-161-0/+1
|
* Catch up with the removal of the wt(4) driver.ru2004-03-141-16/+0
|
* Add multiple inclusion guards. Mostly this is for extern.h, which wasjmallett2004-03-143-1/+10
| | | | | | | included twice by lprint.c, which included both finger.h and extern.h. finger.h, in turn, includes extern.h. The redundant include of extern.h was removed from lprint.c, as part of this change, but the include guards were added anyway out of spite.
* Fixed misspellings of 0 as NULL. Fixed some nearby style bugs.bde2004-03-141-1/+2
|
* Fixed a misspelling of 0 as NULL.bde2004-03-142-2/+2
|
* With the passing of the asc driver, the sasc prograqm is no longerimp2004-03-146-374/+0
| | | | necessary.
OpenPOWER on IntegriCloud