lp:~compiz-team/compiz-crashhandler-plugin/oneiric
- Get this branch:
- bzr branch lp:~compiz-team/compiz-crashhandler-plugin/oneiric
Branch merges
Branch information
Recent revisions
- 37. By Sam Spilsbury
-
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/SecurityTea m/Roadmap/ KernelHardening #ptrace Protection - 36. By Sam Spilsbury
-
We need to catch crashes in composite, opengl and decor, so the usecase for loading after them is quite small
- 34. By Sam Spilsbury
-
Merge branch 'master' of git+ssh://<email address hidden>
/git/compiz/ plugins/ crashhandler Conflicts:
crashhandler.xml.in - 33. By Sam Spilsbury
-
Load after composite and opengl to prevent crash in newer versions of libdri
Also, it looks ugly if we don't since there is mass redirection/
unredirection
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)