diff options
Diffstat (limited to 'exec/exec.h')
| -rw-r--r-- | exec/exec.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/exec/exec.h b/exec/exec.h index 0f6a8a893b6..625ad0bb219 100644 --- a/exec/exec.h +++ b/exec/exec.h | |||
| @@ -154,6 +154,11 @@ struct exec_tracee | |||
| 154 | /* Whether or not the tracee is currently waiting for a system call | 154 | /* Whether or not the tracee is currently waiting for a system call |
| 155 | to complete. */ | 155 | to complete. */ |
| 156 | bool waiting_for_syscall; | 156 | bool waiting_for_syscall; |
| 157 | |||
| 158 | #ifndef REENTRANT | ||
| 159 | /* Name of the executable being run. */ | ||
| 160 | char *exec_file; | ||
| 161 | #endif /* !REENTRANT */ | ||
| 157 | }; | 162 | }; |
| 158 | 163 | ||
| 159 | 164 | ||
| @@ -184,7 +189,7 @@ extern pid_t exec_waitpid (pid_t, int *, int); | |||
| 184 | 189 | ||
| 185 | /* Defined in exec.c. */ | 190 | /* Defined in exec.c. */ |
| 186 | 191 | ||
| 187 | extern char *exec_0 (const char *, struct exec_tracee *, | 192 | extern char *exec_0 (char *, struct exec_tracee *, |
| 188 | size_t *, USER_REGS_STRUCT *); | 193 | size_t *, USER_REGS_STRUCT *); |
| 189 | 194 | ||
| 190 | 195 | ||