lkml.org 
[lkml]   [1999]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] get rid of vm_private_data and win posix shm
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > I implemented posix shm with its own namespace by extending filp_open
> > and do_unlink by an additional parameter for the root inode.
> > Also extending this to a complete filesystem should be easy (but not
> > my target).
>
> It would seem that the best way to fix the inelegance of the patch - the
> shm_open and shm_unlink syscalls, the hacks on filp_open etc would be to do
> exactly that - make it a real fs, at least for open/unlink/openddir/readdir
> even if not for read/write

This makes the sysv ipc code dependent on a mounted fs. Also the
library has to know where this shm fs is mounted to implement shm_open
etc. I do not like these ideas. But I know this is questionable.

I will redo my patch to be much less intrusive into other code.

Greetings
Christoph

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.075 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site