This in particular fixes ustack().
illumos also has SMAP support and patched the same routines, but with adding func calls inside. The files already diverged regardless of this so I think we should go for ifunc (as in this patch).
Differential D18542
dtrace: fix userspace access on boxes with SMAP mjg on Dec 13 2018, 7:31 PM. Authored by Tags None Referenced Files
Subscribers
Details
This in particular fixes ustack(). illumos also has SMAP support and patched the same routines, but with adding func calls inside. The files already diverged regardless of this so I think we should go for ifunc (as in this patch). dtrace -n 'pid$target:::entry { @[ustack()] = count(); }' -c /bin/sh
Diff Detail
Event TimelineComment Actions Thanks. Do you plan to MFC this?
Comment Actions Yea, 1 week. too bad i did not find this before 12.0, i guess it can get in as an EN.
|