On Sat, Aug 13, 2011 at 10:27 PM, Scott Moreau <[email protected]> wrote:
> Just a thought, perhaps crash handler should be included as part of core.
>

We can't include crash handler as part of core (or as part of any of
the "official" plugins) since it's a security risk (it sets the prctl
on compiz to allow it to be traceable, which means that a malicious
user can make compiz crash by eg, destroying a frame window and get
information on the system)

I think there's a broader scope for including debugging tools inside
of core, but I think that will come when the code becomes more modular
and we can actually run unit tests on each separate module (core is
quite monolithic at the moment). This will come as a result of that
work that Tim and I plan to do on core.

Perhaps a better implementation would be to implement a small library
which does things like backtraces on its own[1]? This is perfectly
possible, and it means that we can generate traces without doing nasty
things like scripting gdb and impacting system security.

[1] http://www.delorie.com/gnu/docs/glibc/libc_665.html

> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.compiz.org/mailman/listinfo/dev
>
>



-- 
Sam Spilsbury
_______________________________________________
dev mailing list
[email protected]
http://lists.compiz.org/mailman/listinfo/dev

Reply via email to