HomeFreeBSD

dtrace: fix userspace access on boxes with SMAP

Description

dtrace: fix userspace access on boxes with SMAP

dtrace has its own routines which were not updated after SMAP support got
implemented. Use ifunc just like for other routines.

This in particular fixes ustack().

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18542

Details

Committed
mjgDec 13 2018, 8:09 PM
Reviewer
markj
Differential Revision
D18542: dtrace: fix userspace access on boxes with SMAP
Parents
rS342052: pfsync: Performance improvement
Branches
Unknown
Tags
Unknown