1
1
Mark Allen 5f79dfaa0a shmat/shmdt additions for patcher
This is mostly based off recent UCX additions to their patcher:
    https://github.com/openucx/ucx/pull/2703

They added triggers for
* mmap when (flags & MAP_FIXED) && (addr != NULL)
* shmat when (shmflg & SHM_REMAP) && (shmaddr != NULL)

Beyond that I noticed they already had a trigger for
* madvise when (advice == MADV_FREE)
that we didn't so I added that.

And the other main thing is we didn't really have shmat/shmdt
active for some systems because we only had a path for
syscall(SYS_shmdt, ) but we needed to also have a path for
syscall(SYS_ipc, IPCOP_shmdt, ) and same for shmat.

Signed-off-by: Mark Allen <markalle@us.ibm.com>
(cherry picked from commit eb888118e83f56c131aff900b03eab34c92b7805)
2019-05-30 13:31:02 -04:00
..
2018-10-16 15:28:20 -06:00
2019-03-05 19:43:31 -05:00
2018-11-21 11:48:58 -06:00
2019-05-30 13:31:02 -04:00
2017-09-19 19:42:54 -07:00
2018-09-21 14:47:11 -05:00
2017-08-03 09:18:58 -06:00
2015-06-23 20:59:57 -07:00