execve(): support for ETXTBSY via a new ioctl() call to test in kernel space with open_exec()

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2014-09-10 14:07:25 +09:00
parent cee647aee4
commit ac40b96c24
4 changed files with 42 additions and 8 deletions

View File

@ -57,6 +57,7 @@ static struct ihk_os_user_call_handler mcctrl_uchs[] = {
{ .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 },
{ .request = MCEXEC_UP_TEST_OPEN_EXEC, .func = mcctrl_ioctl },
};
static struct ihk_os_user_call mcctrl_uc_proto = {