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
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 @@
pid = fork();
if (pid<0) {
- perror("fork");
+ perror("ltrace: fork");
exit(1);
} else if (!pid) { /* child */
change_uid(sp);
@@ -67,7 +67,7 @@
run_gid = pent->pw_gid;
if (initgroups(opt_u, run_gid) < 0) {
- perror("initgroups");
+ perror("ltrace: initgroups");
exit(1);
}
} else {
@@ -88,11 +88,11 @@
}
}
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);
}
}