Compiz Crash handler Plugin

lp:compiz-crashhandler-plugin

Created by Sam Spilsbury on 2011-07-13 and last modified on 2011-08-19
Get this branch:
bzr branch lp:compiz-crashhandler-plugin
Members of Compiz Maintainers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Compiz Maintainers
Project:
Compiz Crash handler Plugin
Status:
Development

Recent revisions

43. By Sam Spilsbury on 2011-08-19

Bump VERSION

42. By Sam Spilsbury on 2011-08-19

Update NEWS for 0.9.5.92

41. By Sam Spilsbury on 2011-07-13

Bump VERSION

40. By Sam Spilsbury on 2011-07-13

Update NEWS for 0.9.5.0

39. By Sam Spilsbury on 2011-07-07

Add VERSION file (0.9.5.0)

38. By Sam Spilsbury on 2011-02-24

Adapt for new core API

37. By Sam Spilsbury on 2010-10-26

set prctls to allow us to attach gdb to ourselves and get a backtrace.

For security reasons[1][2] some distros have disabled the ability to ptrace ()
any arbitary process that a user owns since it allows a remote attacker to use
a debugger to examine the memory contents of any process a user owns and
collect sensitive data (and set variables to exploit the stack frame, fool
policykit etc etc etc all sorts of nasty things).

This breaks the ability to spawn a gdb session to attach to compiz and grab
a backtrace when we crash, so we need to set the appropriate prctls to let
us do this. Note that we only set the prctl in the signal handler _itself_
when we need the backtrace and not when compiz starts (as such is a security
risk)

[1] https://lists.ubuntu.com/archives/ubuntu-devel/2010-May/030797.html
[2] https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace Protection

36. By Sam Spilsbury on 2010-07-01

We need to catch crashes in composite, opengl and decor, so the usecase for loading after them is quite small

35. By Sam Spilsbury on 2010-05-24

Load after decor plugin to prevent windows moving after plugin load

34. By Sam Spilsbury on 2010-05-13

Merge branch 'master' of git+ssh://<email address hidden>/git/compiz/plugins/crashhandler

Conflicts:
 crashhandler.xml.in

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.