[Bug 80157] Buffer Overflow in xf86-video-intel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 18 12:20:07 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80157

--- Comment #12 from Chris Wilson <chris at chris-wilson.co.uk> ---
Hmm, I tend to remove setuid and then sudo valgrind /path/to/Xorg and then
connect. Replacing /usr/bin/Xorg with your script should be enough to have the
login managers and/or xinit to launch X under valgrind with no adjustments.

If you really need the setuid bit, then you will need something like

echo -e '#include<stdlib.h>\nint main(void) { return system("valgrind
/usr/bin/Xorg.real"); }' > vgX.c

gcc -o vgX vgX.c -Wall
sudo chown root:root vgX
sudo chmod +s vgX
sudo cp vgX /usr/bin/Xorg

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140618/14e24ab3/attachment.html>


More information about the intel-gfx-bugs mailing list