diff options
Diffstat (limited to 'exec/exec.h')
| -rw-r--r-- | exec/exec.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/exec/exec.h b/exec/exec.h index 3ce06c35311..59963587573 100644 --- a/exec/exec.h +++ b/exec/exec.h | |||
| @@ -152,6 +152,16 @@ struct exec_tracee | |||
| 152 | completion. */ | 152 | completion. */ |
| 153 | USER_WORD sp; | 153 | USER_WORD sp; |
| 154 | 154 | ||
| 155 | /* Name of the executable being run. */ | ||
| 156 | char *exec_file; | ||
| 157 | |||
| 158 | /* Pointer to a storage area holding instructions for loading an | ||
| 159 | executable if an `exec' system call is outstanding, or NULL. */ | ||
| 160 | char *exec_data; | ||
| 161 | |||
| 162 | /* Number of bytes in exec_data. */ | ||
| 163 | size_t data_size; | ||
| 164 | |||
| 155 | /* The thread ID of this process. */ | 165 | /* The thread ID of this process. */ |
| 156 | pid_t pid; | 166 | pid_t pid; |
| 157 | 167 | ||
| @@ -162,11 +172,6 @@ struct exec_tracee | |||
| 162 | /* Whether or not the tracee has been created but is not yet | 172 | /* Whether or not the tracee has been created but is not yet |
| 163 | processed by `handle_clone'. */ | 173 | processed by `handle_clone'. */ |
| 164 | bool new_child : 1; | 174 | bool new_child : 1; |
| 165 | |||
| 166 | #ifndef REENTRANT | ||
| 167 | /* Name of the executable being run. */ | ||
| 168 | char *exec_file; | ||
| 169 | #endif /* !REENTRANT */ | ||
| 170 | }; | 175 | }; |
| 171 | 176 | ||
| 172 | 177 | ||