So does anyone have any other bright ideas for debugging as super-user?
Please? If there are any pointers in the right direction, I'm not afraid of
poking around in the source myself.
On Thu, Apr 15, 2010 at 11:00 AM, Bryce Schober bryce.scho...@gmail.comwrote:
Actually, that doesn't work
On Thursday 15 April 2010 01:56:52 ext Bryce Schober wrote:
yep. The problem is that I can't figure out how to get qt-creator to allow
any wrapper to do the interactive stuff necessary to get through sudo, or
preferrably gksu.
That's strange. Does mlockall() depend on group permissions
Still no good.
On Thu, Apr 15, 2010 at 1:28 AM, André Pönitz andre.poen...@nokia.comwrote:
echo '
#include stdio.h
#include unistd.h
#include grp.h
int main(int argc, char *argv[])
{
setreuid(geteuid(), geteuid());
setregid(getegid(), getegid());
gid_t
On Tue, Apr 13, 2010 at 09:12:07AM -0700, Bryce Schober wrote:
Is there a way to get Qt Creator to launch gdb as super-user? Obviously, I
can start Qt Creator as super-user, but that leaves all the modified source
and outputs with superuser perms, which screws up normal-user operations
like
On Tue, Apr 13, 2010 at 09:12:07AM -0700, Bryce Schober wrote:
Is there a way to get Qt Creator to launch gdb as super-user? Obviously, I
can start Qt Creator as super-user, but that leaves all the modified source
and outputs with superuser perms, which screws up normal-user operations
Neither option works for me. Our application, which is a PC-build-variant of
our embedded application, calls mlockall(), which fails with EPERM. Normal
command-line usage of sudo works great, either for running or debugging with
gdb, but I'm not sure how I would get equivalent permissions through
On Wed, Apr 14, 2010 at 02:28:27PM -0700, Bryce Schober wrote:
Neither option works for me. Our application, which is a PC-build-variant of
our embedded application, calls mlockall(), which fails with EPERM. Normal
command-line usage of sudo works great, either for running or debugging with
You could always modify /etc/sudoers to allow gdb to be run without a password.
/s/ Adam
On Wed, Apr 14, 2010 at 6:56 PM, Bryce Schober bryce.scho...@gmail.com wrote:
yep. The problem is that I can't figure out how to get qt-creator to allow
any wrapper to do the interactive stuff necessary to