aboutsummaryrefslogtreecommitdiff
path: root/execute_program.c
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>2002-03-01 19:54:23 +0100
committerJuan Cespedes <cespedes@debian.org>2002-03-01 19:54:23 +0100
commit8cc1b9d456c8f41e3a8cc0d3ec0d77eb779cb7bb (patch)
treead52599fd70a115bbe3837fc0aca4fb2ba4ba3e2 /execute_program.c
parent5916fda0d07da90cac8a78cbfa73374d81b150be (diff)
downloadltrace-8cc1b9d456c8f41e3a8cc0d3ec0d77eb779cb7bb.tar.gz
Version: 0.3.18
* Simplified arch-dependent stuff * Updated list of syscalls and signals to Linux 2.4.18 * Unified coding-style of all function declarations * Do not indent lines indicating signals, exit codes, etc * Updated description * fix off-by-one problem in checking syscall number (Tim Waugh <twaugh@redhat.com> fixed this problem in RedHat two years ago; thank you for NOT noticing me...)
Diffstat (limited to 'execute_program.c')
-rw-r--r--execute_program.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/execute_program.c b/execute_program.c
index 77e30b3..0306678 100644
--- a/execute_program.c
+++ b/execute_program.c
@@ -18,8 +18,8 @@
static void change_uid(struct process * proc);
-void execute_program(struct process * sp, char **argv)
-{
+void
+execute_program(struct process * sp, char **argv) {
pid_t pid;
if (opt_d) {
@@ -47,8 +47,8 @@ void execute_program(struct process * sp, char **argv)
return;
}
-static void change_uid(struct process * proc)
-{
+static void
+change_uid(struct process * proc) {
uid_t run_uid, run_euid;
gid_t run_gid, run_egid;