permit syscalls from a region of
system call permits system call entry from the pages that contain the
address range addr through addr
+ len - 1 (inclusive). If len is
0, no action is taken on the page that contains
is currently intended for use by
only, and may be called only once to indicate the location of the loaded
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
msyscall() will fail if:
- The specified address range would wrap around.
- Attempt to call
msyscall() after ld.so(1) has called it.
msyscall() function first appeared in