]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r358109: kdump: decode SHM_ANON as first arg to legacy shm_open(2)
authorKyle Evans <kevans@FreeBSD.org>
Sat, 22 Feb 2020 21:44:00 +0000 (21:44 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 22 Feb 2020 21:44:00 +0000 (21:44 +0000)
commit9a2120e591a16adb864dac26522b8bd358d33236
tree6da1061712136f99cb867e006f6c2253f448f441
parent1ad979100c8b981a1d6bba658e52f4f998733815
MFC r358109: kdump: decode SHM_ANON as first arg to legacy shm_open(2)

The first argument to shm_open(2) as well as shm_open2(2) may be a path or
SHM_ANON. Decode SHM_ANON, at least- paths will show up as namei results in
kdump output, which may be sufficient; in those cases, we'll have printed an
address.
usr.bin/kdump/kdump.c