rtld dump_auxv: consistently use long modifier for non-pointer auxv vals
Reviewed by: jrtc27 Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
64ba1f4cf3
commit
3a902ef253
@ -6071,33 +6071,33 @@ static const struct auxfmt {
|
||||
} auxfmts[] = {
|
||||
AUXFMT(AT_NULL, NULL),
|
||||
AUXFMT(AT_IGNORE, NULL),
|
||||
AUXFMT(AT_EXECFD, "%d"),
|
||||
AUXFMT(AT_EXECFD, "%ld"),
|
||||
AUXFMT(AT_PHDR, "%p"),
|
||||
AUXFMT(AT_PHENT, "%u"),
|
||||
AUXFMT(AT_PHNUM, "%u"),
|
||||
AUXFMT(AT_PAGESZ, "%u"),
|
||||
AUXFMT(AT_PHENT, "%lu"),
|
||||
AUXFMT(AT_PHNUM, "%lu"),
|
||||
AUXFMT(AT_PAGESZ, "%lu"),
|
||||
AUXFMT(AT_BASE, "%#lx"),
|
||||
AUXFMT(AT_FLAGS, "%#lx"),
|
||||
AUXFMT(AT_ENTRY, "%p"),
|
||||
AUXFMT(AT_NOTELF, NULL),
|
||||
AUXFMT(AT_UID, "%d"),
|
||||
AUXFMT(AT_EUID, "%d"),
|
||||
AUXFMT(AT_GID, "%d"),
|
||||
AUXFMT(AT_EGID, "%d"),
|
||||
AUXFMT(AT_UID, "%ld"),
|
||||
AUXFMT(AT_EUID, "%ld"),
|
||||
AUXFMT(AT_GID, "%ld"),
|
||||
AUXFMT(AT_EGID, "%ld"),
|
||||
AUXFMT(AT_EXECPATH, "%s"),
|
||||
AUXFMT(AT_CANARY, "%p"),
|
||||
AUXFMT(AT_CANARYLEN, "%u"),
|
||||
AUXFMT(AT_OSRELDATE, "%u"),
|
||||
AUXFMT(AT_NCPUS, "%u"),
|
||||
AUXFMT(AT_CANARYLEN, "%lu"),
|
||||
AUXFMT(AT_OSRELDATE, "%lu"),
|
||||
AUXFMT(AT_NCPUS, "%lu"),
|
||||
AUXFMT(AT_PAGESIZES, "%p"),
|
||||
AUXFMT(AT_PAGESIZESLEN, "%u"),
|
||||
AUXFMT(AT_PAGESIZESLEN, "%lu"),
|
||||
AUXFMT(AT_TIMEKEEP, "%p"),
|
||||
AUXFMT(AT_STACKPROT, "%#x"),
|
||||
AUXFMT(AT_STACKPROT, "%#lx"),
|
||||
AUXFMT(AT_EHDRFLAGS, "%#lx"),
|
||||
AUXFMT(AT_HWCAP, "%#lx"),
|
||||
AUXFMT(AT_HWCAP2, "%#lx"),
|
||||
AUXFMT(AT_BSDFLAGS, "%#lx"),
|
||||
AUXFMT(AT_ARGC, "%u"),
|
||||
AUXFMT(AT_ARGC, "%lu"),
|
||||
AUXFMT(AT_ARGV, "%p"),
|
||||
AUXFMT(AT_ENVC, "%p"),
|
||||
AUXFMT(AT_ENVV, "%p"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user