Cy Schubert 21df3ce841 Fix a SIGSEGV in ps/ps.c when ps is setuid root or when run by root.
kvm_t kv was not set to zero and therefore kvm_open(3) was not called.

Fix another SIGSEGV in ps caused by the -O compile flag) when the -ef
flags are passed to ps.

Approved by:	gahr (maintainer)
2009-03-06 23:18:41 +00:00
..
2008-04-14 20:07:13 +00:00