History log of /freebsd-10-stable/usr.bin/procstat/procstat_auxv.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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

# 249683 20-Apr-2013 trociny

Use libprocstat(3) to retrieve ELF auxiliary vector.

MFC after: 1 month


# 240546 16-Sep-2012 kib

Handle AT_TIMEKEEP in procstat(1) -x [1]. Remove the AT_COUNT switch
case, since AT_COUNT is not an aux vector, it is the counter of total
number of defined vectors.

PR: bin/171662 [1]
MFC after: 1 week


# 230753 29-Jan-2012 trociny

Always return 0 if the sysctl failed.

This fixes the bug: when procstat -xa was run and the sysctl for a
process returned ESRCH or EPERM, for this process procstat output the
result collected for the previous successful process.


# 228447 12-Dec-2011 trociny

Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes.

Reviewed by: kib
MFC after: 1 week


# 228289 05-Dec-2011 trociny

Don't output a warning if kern.proc.auxv sysctl has returned EPERM.
After r228288 this is rather a normal situation.

MFC after: 1 week


# 228049 28-Nov-2011 trociny

Cast a_val on printing. This fixes build on mips.


# 228025 27-Nov-2011 trociny

Make proctstat -x output more readable.

This also fixes the issue, spotted by mdf, with values that were
printed as decimal and had hex prefixes.

Discussed with: kib, rwatson
MFC after: 2 weeks


# 227873 23-Nov-2011 trociny

Fix build, hopefully.

Reviewed by: kib


# 227838 22-Nov-2011 trociny

Add new options, -e and -x, to display process environment variables
and ELF auxiliary vectors.

MFC after: 2 weeks