Mageia Bugzilla – Attachment 4037 Details for
Bug 10235
tupi crashing, why sudo?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Disable sudo
without_sudo.patch (text/plain), 669 bytes, created by
Alex Loginov
on 2013-05-23 13:25:13 CEST
(
hide
)
Description:
Disable sudo
Filename:
MIME Type:
Creator:
Alex Loginov
Created:
2013-05-23 13:25:13 CEST
Size:
669 bytes
patch
obsolete
>--- ./src/shell/tupcrashhandler.cpp.orig 2013-04-06 18:24:44.000000000 +0000 >+++ ./src/shell/tupcrashhandler.cpp 2013-05-23 15:12:08.000000000 +0000 >@@ -307,9 +307,9 @@ > ::dup2(fileno(stdout), fileno(stderr)); > > #ifdef K_DEBUG >- if (QFile::exists("/usr/bin/sudo") && QFile::exists("/usr/bin/gdb")) { >+ if (QFile::exists("/usr/bin/gdb")) { > QString gdb; >- gdb = "/usr/bin/sudo /usr/bin/gdb -n -nw -batch -ex where " + BIN_DIR + "tupi.bin --pid="; >+ gdb = "/usr/bin/gdb -n -nw -batch -ex where " + BIN_DIR + "tupi.bin --pid="; > gdb += QString::number(::getppid()); > bt = runCommand(gdb); >
--- ./src/shell/tupcrashhandler.cpp.orig 2013-04-06 18:24:44.000000000 +0000 +++ ./src/shell/tupcrashhandler.cpp 2013-05-23 15:12:08.000000000 +0000 @@ -307,9 +307,9 @@ ::dup2(fileno(stdout), fileno(stderr)); #ifdef K_DEBUG - if (QFile::exists("/usr/bin/sudo") && QFile::exists("/usr/bin/gdb")) { + if (QFile::exists("/usr/bin/gdb")) { QString gdb; - gdb = "/usr/bin/sudo /usr/bin/gdb -n -nw -batch -ex where " + BIN_DIR + "tupi.bin --pid="; + gdb = "/usr/bin/gdb -n -nw -batch -ex where " + BIN_DIR + "tupi.bin --pid="; gdb += QString::number(::getppid()); bt = runCommand(gdb);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10235
: 4037 |
4038
|
4084