aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* bin: Remove ancient SCCS tags.Warner Losh2023-11-271-1/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* Make libxo depend on libutil because it uses humanize_number after r287111Enji Cooper2015-10-181-1/+1
| | | | | | | | | | | Remove overlinking in lib/libxo/tests, sbin/savecore, and usr.bin/{iscsictl,wc,xo} PR: 203673 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=289490
* Upgrade libxo to 0.4.5.Marcel Moolenaar2015-08-241-1/+1
| | | | | | | | | | Local changes incorporated by 0.4.5: r284340 Local changes retained: r276260, r282117 Obtained from: https://github.com/Juniper/libxo Notes: svn path=/head/; revision=287111
* Convert to use libxo. Document use of libxo as well.Marcel Moolenaar2015-05-221-1/+1
| | | | | | | | Obtained from: Phil Shafer <phil@juniper.net> Sponsored by: Juniper Networks, Inc. Notes: svn path=/head/; revision=283304
* Convert bin/ to LIBADD, reduce overlinking allow to build all components asBaptiste Daroussin2014-11-251-2/+1
| | | | | | | static Notes: svn path=/head/; revision=275028
* Add -J to filter by matching jail IDs and names.Bryan Drewery2014-05-021-2/+2
| | | | | | | | | | | | | -J 0 can be used to show only host processes. Patch partially based on work by bz@ PR: bin/78763 MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=265229
* ps(1) is WARNS=6 on all Tier-1 platforms as far as I can test,Xin LI2005-01-271-1/+1
| | | | | | | so use default WARNS level from bin/Makefile.inc Notes: svn path=/head/; revision=140903
* Removed bitrot.Ruslan Ermilov2004-11-131-2/+0
| | | | Notes: svn path=/head/; revision=137670
* style.Makefile:Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS= Notes: svn path=/head/; revision=126173
* Get this area compiling with the highest WARNS= that it works with.Mark Murray2003-06-131-2/+1
| | | | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 Notes: svn path=/head/; revision=116282
* fmt.c has a comparison between signed and unsigned that is unclear howDavid E. O'Brien2003-05-021-0/+1
| | | | | | | to properly fix. Notes: svn path=/head/; revision=114483
* Use the MAC interface to list process MAC labels rather than usingRobert Watson2002-10-241-1/+1
| | | | | | | | | | | | | the LOMAC-specific interface (which is being deprecated). The revised LOMAC using the MAC framework will export levels listable using this mechanism. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=105831
* Bring back WFORMAT=0.Juli Mallett2002-07-081-0/+1
| | | | Notes: svn path=/head/; revision=99592
* Remove tunables to hide warnings that no longer exist.Juli Mallett2002-06-071-2/+0
| | | | Notes: svn path=/head/; revision=97972
* Correct inadvertent style botches in previous commit.Kris Kennaway2002-02-041-3/+2
| | | | Notes: svn path=/head/; revision=90167
* Lock down with WFORMAT=1 except those directories with unfixed warnings.Kris Kennaway2002-02-041-0/+2
| | | | | | | Tested on i386 and alpha. Notes: svn path=/head/; revision=90166
* WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extraMark Murray2002-02-031-1/+1
| | | | | | | cleanup courtesy of automatic checking (lint). Notes: svn path=/head/; revision=90143
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-0/+1
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* Add LOMAC options (the "Z" flag in both cases) to display extra informationBrian Feldman2001-11-261-1/+1
| | | | | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=86922
* Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov2001-05-181-1/+1
| | | | Notes: svn path=/head/; revision=76812
* I'm probably jumping the gun, but what the heck, this is -current.Peter Wemm1999-11-171-2/+2
| | | | | | | | | | | | | | | | | | Turn off setgid-kmem for /bin/ps, it's now quite functional without it. ps no longer needs /dev/*mem or /proc. (It will still use some /proc files if they are available for -e, but it's not required, so it'll happily run in a jail or chroot). The proc stats are now part of eproc (obtained via sysctl) and no longer needs to beat up the u-page reading code and the problems with that. This also has the side effect of disabling 'ps -e' for normal users *EXCEPT* when looking at their own processes. ie: they can see environments in processes with their uid, enforced by the ownership of /proc/*/mem. Root can still see them all, as it can open all /proc/*/mem. Notes: svn path=/head/; revision=53278
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Add an option to building PS, so that the upages are explicitly paged in onlyJohn Dyson1997-12-051-2/+8
| | | | | | | | | | | | | | | | for users who are root, or in group wheel. This is useful on large timesharing systems where a PS command can cause the system to grind to a halt. The ability to get the information isn't diminished for those who really need the additional detail (administrators.) Normal users won't see any difference unless the processes are swapped out. The "really get it mode" is invoked by the use of an additional flag in the command string "-f". New/old behavior is selectable with a compile option. PR: 5196 Submitted by: Matt Dillon <dillon@best.net> Notes: svn path=/head/; revision=31552
* Use -I${.CURDIR}/../../sys so that the path is relativeSteve Price1997-08-131-2/+2
| | | | | | | | | to the source code directory. Submitted by: bde Notes: svn path=/head/; revision=28170
* Use -I../../sys instead of -I/sys.Steve Price1997-08-111-2/+2
| | | | Notes: svn path=/head/; revision=28053
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* fix bad dependencies (LIBMATH -> LIBM)Torsten Blum1995-10-251-2/+2
| | | | Notes: svn path=/head/; revision=11779
* Install with default BINOWN (as it once used to be).David Greenman1995-04-151-2/+1
| | | | Notes: svn path=/head/; revision=7837
* Install setgid kmem rather than setuid root. The problem with procfs thatDavid Greenman1995-04-151-2/+3
| | | | | | | was breaking this before has been fixed. Notes: svn path=/head/; revision=7836
* Added $Id$David Greenman1994-09-241-0/+1
| | | | Notes: svn path=/head/; revision=3044
* Make `ps' set-uid root so that it can read the same set of argumentsGarrett Wollman1994-08-111-2/+2
| | | | | | | | | | that old `ps'es did. I'm not too thrilled about this, but I'm not enough of an FS person to hack procfs so that /proc/xxx/mem is readable by members of group `kmem'. If this is done, then `ps' can go back to being set-gid kmem. Notes: svn path=/head/; revision=2032
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+11
Notes: svn path=/head/; revision=1556