]> granicus.if.org Git - procps-ng/commit
library: enable an 'invariant' stack for that pids API
authorJim Warner <james.warner@comcast.net>
Thu, 10 Sep 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 21 Sep 2015 12:37:40 +0000 (22:37 +1000)
commit42af8ffbc1d953f73806f0acb915ad3a6557af9d
tree0b0dabeb69f3c441587c69e502497e8c7a09158e
parent80f1a05b780448a7aa2c882681fac502b1e162a7
library: enable an 'invariant' stack for that pids API

After peeking at possible conversion of the ps program
it appeared that we may ultimately need the concept of
a 'static' pids_stack in suport of look_up_our_self().
In other words, one not impacted by procps_pids_reset.

This patch simply sets the stage for that possibility.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/pids.c