L4Re/departure

Changeset

526:0e0c902368d1
2023-03-19 Paul Boddie raw files shortlog changelog graph Close the principal file structure after having constructed the program payload.
libexec/lib/src/process_creating.cc (file)
     1.1 --- a/libexec/lib/src/process_creating.cc	Sun Mar 19 01:18:23 2023 +0100
     1.2 +++ b/libexec/lib/src/process_creating.cc	Sun Mar 19 17:58:10 2023 +0100
     1.3 @@ -407,6 +407,11 @@
     1.4    delete _program_payload;
     1.5    delete _program_stack;
     1.6  
     1.7 +  /* Close the file given that it was used to construct the payload and
     1.8 +     separate file references are now used by the created process. */
     1.9 +
    1.10 +  client_close(file);
    1.11 +
    1.12    return L4_EOK;
    1.13  }
    1.14