diff options
author | Juan Cespedes <cespedes@debian.org> | 1999-04-03 03:21:52 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 1999-04-03 03:21:52 +0200 |
commit | e3eb9aa37086f16c0c8c2778dcd8020a39a92564 (patch) | |
tree | 7fa35424afa6429b758586ff07f4d8d48359dc72 /execute_program.c | |
parent | d44c6b8b090b8b7aa9d971d9e0bfd848732a3071 (diff) | |
download | ltrace-e3eb9aa37086f16c0c8c2778dcd8020a39a92564.tar.gz |
Version: 0.3.7
* Minor fixes
* Added minor patch from Alex Buell <alex.buell@tahallah.demon.co.uk>
to be able to compile under glibc 2.1
* Additions to config file from David Dyck <dcd@tc.fluke.com>
* Clean-up Makefile a bit
* Changed `LT_PT_*' with `ARGTYPE_*'
* Display '\\' instead of '\'
* Updated list of syscalls and signals to linux-2.2.5
* Compiled against glibc-2.1
Diffstat (limited to 'execute_program.c')
-rw-r--r-- | execute_program.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/execute_program.c b/execute_program.c index 6f68bb3..77e30b3 100644 --- a/execute_program.c +++ b/execute_program.c @@ -28,7 +28,7 @@ void execute_program(struct process * sp, char **argv) pid = fork(); if (pid<0) { - perror("fork"); + perror("ltrace: fork"); exit(1); } else if (!pid) { /* child */ change_uid(sp); @@ -67,7 +67,7 @@ static void change_uid(struct process * proc) run_gid = pent->pw_gid; if (initgroups(opt_u, run_gid) < 0) { - perror("initgroups"); + perror("ltrace: initgroups"); exit(1); } } else { @@ -88,11 +88,11 @@ static void change_uid(struct process * proc) } } if (setregid(run_gid, run_egid) < 0) { - perror("setregid"); + perror("ltrace: setregid"); exit(1); } if (setreuid(run_uid, run_euid) < 0) { - perror("setreuid"); + perror("ltrace: setreuid"); exit(1); } } |