1
1
openmpi/opal
Mark Allen 57c7d68233 adding op-codes for syscall ipc for shmat/shmdt
These op codes used to be in bits/ipc.h but were removed in glibc in 2015
with a comment saying they should be defined in internal headers:
https://sourceware.org/bugzilla/show_bug.cgi?id=18560
and when glibc uses that syscall it seems to do so from its own definitions:
https://github.com/bminor/glibc/search?q=IPCOP_shmat&unscoped_q=IPCOP_shmat

So I think using #ifndef and defining them if they're not already defined
using the values from glibc is the best option.

At IBM it was the testing on redhat 8 that found this as an issue
(the opcodes being undefined on the system made the #define HAS_SHMDT
evaluate to false so intercept_shmat / intercept_shmdt were
left undefined so shmat/shmdt memory events went unintercepted).

(cherry picked from commit e8fab058da)
Signed-off-by: Mark Allen <markalle@us.ibm.com>
2020-06-04 14:24:17 -04:00
..
class opal: make interval tree resilient to similar intervals 2020-01-19 13:40:57 -08:00
datatype Swap the 2 fields to maintain the size of the struct. 2020-01-07 15:13:14 -08:00
dss Add OPAL_VPID to unpacking 2018-11-21 11:48:58 -06:00
etc Correct the comment in the default MCA param template - we do not support a param called "component_path". The correct syntax is "mca_base_component_path" 2018-01-05 08:46:44 -08:00
include opal/atomics: Add acquire semantics back for spinlocks 2019-03-19 19:45:20 +05:30
mca adding op-codes for syscall ipc for shmat/shmdt 2020-06-04 14:24:17 -04:00
memoryhooks opal: rename opal_atomic_init to opal_atomic_lock_init 2017-08-07 14:15:11 -06:00
runtime opal/progress: protect against multiple threads in event base 2018-09-21 14:40:08 -05:00
test/reachable reachable: add tests 2017-09-19 19:42:54 -07:00
threads Fix the leak of fragments for persistent sends. 2019-05-03 06:20:02 -07:00
tools Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
util opal/util: fix opal_str_to_bool() 2020-06-01 10:16:25 +09:00
win32 opal: standardize on max hostname length 2016-04-24 08:19:47 +02:00
common_sym_whitelist.txt opal: add code patcher framework 2016-04-13 17:16:13 -06:00
Makefile.am opal: remove generated asm code 2017-08-03 09:18:58 -06:00
win_makefile Purge whitespace from the repo 2015-06-23 20:59:57 -07:00