]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-fdtab: Fix exec handler target fdtab stable
authorAndrei Tatar <andrei@unikraft.io>
Thu, 24 Apr 2025 13:07:31 +0000 (15:07 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Thu, 24 Apr 2025 14:05:10 +0000 (14:05 +0000)
commiteabefb0794645a6ae73c1e1601c20dcf68b53610
tree96c9481ddcaa3f8defdb41b4e799b5dbc23b3de1
parentf1587f236275f00dbff1f34fb4523b8ff509d1aa
lib/posix-fdtab: Fix exec handler target fdtab

This change makes the exec handler cloexec the target thread's fdtab
instead of that of the calling thread's.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
GitHub-Closes: #1617
lib/posix-fdtab/fdtab.c