New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=7dd4544c266d9ae09955bf1d6845ecdf4595f73d
commit 7dd4544c266d9ae09955bf1d6845ecdf4595f73d
Author: Denis Oliver Kropp <[email protected]>
Date: Sat Jan 28 00:45:54 2012 +0100
IDirectFBSurface: Allow other process access to a surface and add
"primary-id" option for CreateSurface(PRIMARY)..
When an application is started with "primary-id" option the primary surface
returned
via CreateSurface() with DSCAPS_PRIMARY is looked up by the ID instead of
created.
This way an application can launch other applications running in a surface
created
by the launcher, e.g. to be composited. Compositor and launcher could also
be separate
processes.
Add IDirectFBSurface::AllowAccess() to allow other process identified by an
executable name
access to the surface in secure fusion mode.
Add CoreDFB::AllowSurface() using fusion_object_add_access().
Add CoreDFB::GetSurface() to lookup a surface and check for access
using fusion_get_fusionee_path() and fusion_object_has_access().
include/directfb.h | 11 ++++++++
src/core/CoreDFB.flux | 44 ++++++++++++++++++++++++++++++++
src/core/CoreDFB_real.cpp | 54 ++++++++++++++++++++++++++++++++++++++++
src/core/core.h | 3 ++
src/display/idirectfbsurface.c | 17 ++++++++++++-
src/idirectfb.c | 25 ++++++++++++++++++
src/misc/conf.c | 17 ++++++++++++
src/misc/conf.h | 2 +
8 files changed, 172 insertions(+), 1 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=eeb18d78bccc542cf80e1baa07b30604ff85e9dd
commit eeb18d78bccc542cf80e1baa07b30604ff85e9dd
Author: Denis Oliver Kropp <[email protected]>
Date: Sat Jan 28 00:29:55 2012 +0100
Fusion: Add access list to FusionObject with fusion_object_add/has_access()
functions.
lib/fusion/object.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++
lib/fusion/object.h | 9 ++++++++
2 files changed, 61 insertions(+), 0 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs