[DTrace-devel] [oracle/dtrace-utils] cb165d: uts: remove unused header file

euloh noreply at github.com
Thu Feb 12 19:33:48 UTC 2026


  Branch: refs/heads/dev-queue
  Home:   https://github.com/oracle/dtrace-utils
  Commit: cb165daff32e0405c41cfa7975eee4a04c303604
      https://github.com/oracle/dtrace-utils/commit/cb165daff32e0405c41cfa7975eee4a04c303604
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    R uts/common/sys/mnttab.h

  Log Message:
  -----------
  uts: remove unused header file

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>


  Commit: 5bcdc90bd3f5f489b86201cdb843d9eb0739727e
      https://github.com/oracle/dtrace-utils/commit/5bcdc90bd3f5f489b86201cdb843d9eb0739727e
  Author: Eugene Loh <eugene.loh at oracle.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M dtprobed/dtprobed.c

  Log Message:
  -----------
  dtprobed: use /proc/$pid/map_files, not the filename of the mapping

Instead of using prf->prf_mapname (which resolves to the mapped file's
target), use Pmap_mapfile_name() to get the actual
/proc/$pid/map_files/* path.  These magic symlinks can be opened even
when their corresponding files are deleted or in an inaccessible
filesystem namespace, ensuring we can read the mapping contents
reliably.  DTrace already does this to read mappings during USDT probe
lookup.

(We still use prf->prf_mapname to determine the module name used in the
dof helper, and thus ultimately in the probespec, because that should be
an actual user-readable module name, not some random address-space-like
filename: it doesn't matter that that name might not exist on the
filesystem.  Thanks to Eugene Loh for spotting this and Kris van Hees
for fixing it.)

Fixes issues with probes in paths like /home when dtprobed
is sandboxed by systemd.

Tested on both systemd and non-systemd (non-jailed) systems, with USDT
programs running out of /tmp, /usr/local and /home.

Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/77d969e49aeb...5bcdc90bd3f5

To unsubscribe from these emails, change your notification settings at https://github.com/oracle/dtrace-utils/settings/notifications



More information about the DTrace-devel mailing list