MCPcopy Create free account
hub / github.com/dtrace4linux/linux / dtrace_canload

Function dtrace_canload

driver/dtrace.c:808–838  ·  view source on GitHub ↗

* Convenience routine to check to see if the address is within a memory * region in which a load may be issued given the user's privilege level; * if not, it sets the appropriate error flags and loads 'addr' into the * illegal value slot. * * DTrace subroutines (DIF_SUBR_*) should use this helper to implement * appropriate memory access protection. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

dtrace_strcanloadFunction · 0.85
dtrace_vcanloadFunction · 0.85
dtrace_dynvarFunction · 0.85
dtrace_dif_subrFunction · 0.85
dtrace_dif_emulateFunction · 0.85

Calls 1

dtrace_canstoreFunction · 0.85

Tested by

no test coverage detected