]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/posix-process: Update semantics of vfork()'s return type
authorMichalis Pappas <michalis@unikraft.io>
Sun, 30 Mar 2025 13:43:29 +0000 (15:43 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 30 Apr 2025 09:42:51 +0000 (09:42 +0000)
commit08c6ac9b0ffd8d313dcd2a38e94665974d8481c8
tree6ab10704b8b6ea62c5e8c6957dde7eb30b3e9d08
parentdd41d1c7595337dd770165f7896e7206e6347e85
lib/posix-process: Update semantics of vfork()'s return type

Although with the current implementation the returned value is identical,
vfork() returns the child's pid rather than tid. Updadte the naming of
identifiers to reflect that correctly.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1627
lib/posix-process/clone.c
lib/posix-process/vfork.c