zfs/lib/libzpool
Sara Hartse a887d653b3 Restrict kstats and print real pointers
There are several places where we use zfs_dbgmsg and %p to
print pointers. In the Linux kernel, these values obfuscated
to prevent information leaks which means the pointers aren't
very useful for debugging crash dumps. We decided to restrict
the permissions of dbgmsg (and some other kstats while we were
at it) and print pointers with %px in zfs_dbgmsg as well as
spl_dumpstack

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Gallagher <john.gallagher@delphix.com>
Signed-off-by: sara hartse <sara.hartse@delphix.com>
Closes #8467 
Closes #8476
2019-04-04 18:57:06 -07:00
..
Makefile.am Add TRIM support 2019-03-29 09:13:20 -07:00
kernel.c Restrict kstats and print real pointers 2019-04-04 18:57:06 -07:00
taskq.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
util.c Fix zdb crash 2019-02-19 11:15:22 -08:00