add MCEXEC_UP_STRNCPY_FROM_USER

It allows a mcexec to execute the strncpy_from_user().
This commit is contained in:
NAKAMURA Gou
2014-01-08 12:47:41 +09:00
parent e86ffb0b57
commit afc38718a0
4 changed files with 83 additions and 0 deletions

View File

@ -51,6 +51,7 @@ static struct ihk_os_user_call_handler mcctrl_uchs[] = {
{ .request = MCEXEC_UP_LOAD_SYSCALL, .func = mcctrl_ioctl },
{ .request = MCEXEC_UP_SEND_SIGNAL, .func = mcctrl_ioctl },
{ .request = MCEXEC_UP_GET_CPU, .func = mcctrl_ioctl },
{ .request = MCEXEC_UP_STRNCPY_FROM_USER, .func = mcctrl_ioctl },
{ .request = MCEXEC_UP_PREPARE_DMA, .func = mcctrl_ioctl },
{ .request = MCEXEC_UP_FREE_DMA, .func = mcctrl_ioctl },
};