You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2002/01/14 22:27:00 UTC

APR_USE_SHMEM_SHMGET_ANON

Any idea why we don't predelete the SysV shared mem in this section
of code? I plan on:

   o Adding that in
   o (more controversial) removing the setting of the user and group ID
     of the shared mem segment. There was discussion about this but
     this was never done. I may actually wrap this in a preprocessor
     container.

Finally, anyone see the need for bringing back up the MOVEBREAK
hack? I had originally added this for A/UX, but no else has ever
used that before... It might be nice to add it back in, just in case,
especially if we can make it runtime configurable.

Comments??
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
                   will lose both and deserve neither"

Re: APR_USE_SHMEM_SHMGET_ANON

Posted by Jim Jagielski <ji...@jaguNET.com>.
At 4:27 PM -0500 1/14/02, Jim Jagielski wrote:
>   o (more controversial) removing the setting of the user and group ID
>     of the shared mem segment. There was discussion about this but
>     this was never done. I may actually wrap this in a preprocessor
>     container.
>

Hold on a tic... seems that in 2.0 we *don't* change it to the uid/gid
that the processes run as, but as the uid/gid that it's created as,
which is kind of redundant anyway :)
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
                   will lose both and deserve neither"