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
..
2019-05-17 09:58:20 +03:00
2018-10-17 16:16:36 -06:00
2017-04-15 09:30:18 -07:00
2018-03-20 16:07:53 +00:00
2015-06-23 20:59:57 -07:00
2019-05-30 13:31:02 -04:00
2017-07-12 17:31:25 -03:00
2015-06-23 20:59:57 -07:00