[haiku-commits] Re: r33876 - haiku/trunk/src/servers/app

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 08 Nov 2009 13:08:04 +0100

Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> wrote:
> 2009/11/6 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
> > I had a short look :-)
> > But letting userland apps acquire, and release references in the
> > app_server sounds a bit insecure; although it's only in the scope
> > of a
> > single application, it might cause headaches with the nested
> > pictures.
> > I guess I'll rework that a bit.
> This is how it worked in BeOS, so that's how I implemented it in
> Haiku :-)

It's not your fault, it's the app_servers fault; since the userland can
only ever own a single reference, it should track that one to make sure
that a userland application cannot play with its internal state.

Bye,
   Axel.


Other related posts: