HomeFreeBSD

truss: Fix display of shm_open(SHM_ANON, ...).

Description

truss: Fix display of shm_open(SHM_ANON, ...).

Currently truss(1) shows shm_open(SHM_ANON, ...) as shm_open("(null)", ...).
Detect the special value and display it by name.

Reviewed by: jhb, allanjude, tuexen
Approved by: mjg (mentor)
MFC with: r339224
Differential Revision: https://reviews.freebsd.org/D17461

Details

Provenance
tmunroAuthored on
Reviewer
jhb
Differential Revision
D17461: truss: handle shm_open's special SHM_ANON value better.
Parents
rS339839: MFC r339548:
Branches
Unknown
Tags
Unknown