diff options
author | Fred Wright <fw@fwright.net> | 2017-03-24 15:23:04 -0700 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2017-03-24 18:25:14 -0700 |
commit | 3a8d8e8d8219beb1ec01f923ea5a659054941898 (patch) | |
tree | 930a45e1cd6c580ea9c10ab9154934743a229f52 /gpsinit | |
parent | 1f209455dd2e850b164a3f7985ad845e88efef57 (diff) | |
download | gpsd-3a8d8e8d8219beb1ec01f923ea5a659054941898.tar.gz |
Makes 'GPSD' SHM export exclusive.
If multiple copies of gpsd share a single SHM export (e.g., during
regression tests without the previous fix), then the result is just a
confusing mess. Adding the "exclusive" option to shmget() fixes this
by making it fail. Note that the failure becomes a failure of
shm_acquire(), which is currently ignored.
TESTED:
Prior to making the regression test fix for unique SHM IDs, verified
that parallel regression tests got the expected failures, while
non-parallel tests passed.
Diffstat (limited to 'gpsinit')
0 files changed, 0 insertions, 0 deletions