diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/file-exec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index b1cb33c3..ec9bc424 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -195,6 +195,10 @@ diskfs_S_file_exec_paths (struct protid *cred, do { right = ports_get_send_right (newpi); + + /* Add a gratuitous send right on the protid to avoid a no-sender, and thus + interrupt the exec, just because we are precisely replacing the calling + process! */ cred_right = ports_get_send_right (cred); #ifdef HAVE_EXEC_EXEC_PATHS err = exec_exec_paths (execserver, |