Skip to content

Commit

Permalink
address review requests
Browse files Browse the repository at this point in the history
Signed-off-by: rohith-raju <rohithraju488@gmail.com>
  • Loading branch information
Rohith-Raju authored and poiana committed Jun 27, 2023
1 parent b54e827 commit 2bc2c4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions userspace/libsinsp/parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6055,6 +6055,10 @@ void sinsp_parser::parse_memfd_create_exit(sinsp_evt *evt, scap_fd_type type)
fd = *(int64_t *)parinfo->m_val;

/* name */
/*
Suppose you create a memfd named libstest resulting in a fd.name libstest while on disk
(e.g. ls -l /proc/$PID/fd/$FD_NUM) it may look like /memfd:libstest (deleted)
*/
parinfo = evt->get_param(1);
name = parinfo->m_val;

Expand Down

0 comments on commit 2bc2c4f

Please sign in to comment.