gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH 3/3] Fix access to shared memory on Linux


From: Robert Norris
Subject: Re: [gpsd-dev] [PATCH 3/3] Fix access to shared memory on Linux
Date: Fri, 10 Mar 2017 00:12:30 +0000

I finally got around to setting up a FreeBSD (release 11.0) virtual machine.

It too has the same behaviour as Linux, in that the shared memory key gets 
changed to 0 (i.e. IPC_PRIVATE) when shmctl with IP_RMID is applied. So I 
expect most other OS's follow this behaviour.

Hence I think it would be better to revert the commit 
22c3fafb25b742973d7122edc626b30d03bdb36c, rather than apply this patch.
And thus accept one needs to externally control the memory segment should the 
memory size change.

Side note -  I couldn't find anything in the Debian packaging - as I expected 
it would attempt to use the ipcrm command when gpsd is uninstalled/upgraded. 

--
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]