#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
245635 |
|
18-Jan-2013 |
jhb |
- Move 'showthreads' check out of fmt.c. - Update shadow copy of fmt_argv() prototype in w.c and fix calls for additional parameter.
|
#
245610 |
|
18-Jan-2013 |
jhb |
Include the thread name along with the command name when displaying the command name of a thread from a multi-threaded process that doesn't have an available argument list (such as kernel processes) and threads display is enabled via -H.
Reviewed by: alfred, delphij, eric@vangyzen.net MFC after: 1 week
|
#
130897 |
|
22-Jun-2004 |
gad |
Get rid of a cast to '(void) ' on the return of a call to strcpy.
|
#
130896 |
|
22-Jun-2004 |
gad |
Oops. Undo that last 'const' change. It expects similar changes to some other files that I am not ready to commit yet...
|
#
130895 |
|
22-Jun-2004 |
gad |
Add 'const' to a few places.
PR: bin/65803 Submitted by: Cyrille Lefevre
|
#
130894 |
|
21-Jun-2004 |
gad |
When displaying the "COMMAND" field for system-processes and/or kernel threads, put the command name in square brackets instead of parenthesis. This matches NetBSD, and also seems to be what linux does. The sentence which is added to the man page is taken straight from NetBSD.
PR: bin/65803 Submitted by: Cyrille Lefevre Obtained from: NetBSD
|
#
127958 |
|
06-Apr-2004 |
markm |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
#
114600 |
|
03-May-2003 |
markm |
Fix long constant usage for i386.
Tested by: Joe Marcus Clarke <marcus@marcuscom.com>
|
#
114583 |
|
03-May-2003 |
markm |
Fix a bazillion warnings. This makes almost the whole of src/bin/* WARNS=6, std=c99 clean.
Tested on: i386, alpha
|
#
110391 |
|
05-Feb-2003 |
charnier |
Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according to Solaris man page is the POSIX way.
Reviewed by: jmallett
|
#
99457 |
|
05-Jul-2002 |
mike |
Don't depend on pollution in <limits.h> for the definition of <stdint.h> macros.
|
#
99110 |
|
30-Jun-2002 |
obrien |
Consistently use FBSDID
|
#
97978 |
|
06-Jun-2002 |
jmallett |
Back out previous back out of previously correct code.
Double-plus-pointy-hat to: jmallett Submitted by: bde
|
#
97959 |
|
06-Jun-2002 |
jmallett |
Cast arg_max to size_t when comparing it (times 4, plus 1) against SIZE_MAX. I was worried about truncation of arg_max by this cast, but if it gets truncated, we know it'll obviously be greater than SIZE_MAX anyway.
Big pointy hat to: jmallett Submitted by: keramida
|
#
97847 |
|
04-Jun-2002 |
jmallett |
Returning NULL here if malloc(3) fails is silly, at this point in the codepath we have't malloc(3)'d nearly as much as we probably will, so errx(3) away, instead of waiting for something to fail yet again later on.
|
#
97846 |
|
04-Jun-2002 |
jmallett |
Remove an XXX comment that seems to be a tiny bit no longer pertinent. This function seems to do the right thing, and is not a "stub", and whoever "marc" is, he's had plenty of time to do "the real one", so don't wait around for him any longer.
|
#
97845 |
|
04-Jun-2002 |
jmallett |
Use of zero here meant many things, NULL, '\0' (NUL), and 0. Sort it out.
|
#
96053 |
|
05-May-2002 |
jmallett |
Check for possible overflow from sysconf _SC_ARG_MAX and error out in a correct manner. Revert my incorrect change to use err(3) for malloc(3) failing. Use a size_t variable to store the size of the argument buffer we allocate, and remove silly casts as the result of having this around. Modify the math in some of the paranoid checks for buffer overflow to account for the fact we now are dealing with the actual size of the buffer. Remove the static qualifier for arg_max, and the bogus setting of it to -1.
Include <limits.h> for the definitions we use to check for possible overflows.
Submitted by: bde
|
#
95921 |
|
02-May-2002 |
jmallett |
Don't cast incorrectly to malloc(3), and don't use errx(3) if malloc(3) returns NULL, as malloc(3) sets errno. Use err(3).
|
#
90143 |
|
03-Feb-2002 |
markm |
WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra cleanup courtesy of automatic checking (lint).
|
#
90110 |
|
02-Feb-2002 |
imp |
o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
|
#
89575 |
|
19-Jan-2002 |
mikeh |
Prevent overflowing the buffer that stores the command arguments.
PR: bin/19422 Not objected to by: -audit MFC after: 3 weeks
|
#
50471 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
41580 |
|
07-Dec-1998 |
bde |
Fixed -Wall regression (broken in rev.1.12). Removed unused includes.
|
#
37027 |
|
17-Jun-1998 |
jkoshy |
Remove compile time dependency on ARG_MAX.
PR: 1791 (partial) Reviewed by: Bruce Evans <bde@freebsd.org>, Tor Egge <tegge@freebsd.org>
|
#
36049 |
|
15-May-1998 |
charnier |
Correct use of .Nm. Add rcsid.
|
#
23610 |
|
10-Mar-1997 |
guido |
Fix buffer overflow (probably unexploitable).
|
#
22988 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
20420 |
|
14-Dec-1996 |
steve |
-Wall cleaning.
|
#
11743 |
|
23-Oct-1995 |
ache |
Remove unneded ctype.h
|
#
6971 |
|
09-Mar-1995 |
dg |
Fix previous fix that removes an unnecessary space; the output is now just like it was in 1.1.5.
|
#
4347 |
|
10-Nov-1994 |
ats |
Fix an error to prevent some core dumps from ps. You can get ps easily to core dump, if you are running a "make depend" on a kernel in one window and a "ps -auxww" in another. The ww will try to give you the full argument list of the command that can now be 64Kb large, but ps expected only 4Kb large arg arrays and doesn't check for overflows.
|
#
3044 |
|
24-Sep-1994 |
dg |
Added $Id$
|
#
2110 |
|
18-Aug-1994 |
dg |
Got rid of extra space between args and (command).
|
#
1557 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1556, which included commits to RCS files with non-trunk default branches.
|
#
1556 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite bin Sources
|