Skip to content

cpproc.c: Reorganize to isolate code running in the child#45

Merged
guillerodriguez merged 1 commit into
masterfrom
refactor/process-exec-child-code
Jul 16, 2026
Merged

cpproc.c: Reorganize to isolate code running in the child#45
guillerodriguez merged 1 commit into
masterfrom
refactor/process-exec-child-code

Conversation

@guillerodriguez

Copy link
Copy Markdown
Contributor

Extract the child branch of cpproc_forkAndExec() into a static child_process() helper. Move it into a dedicated section, along with any functions that may run in the forked child, and document the async-signal-safety constraints for this code.

There are no functional changes. All helpers remain static within the file; no new exported symbols are introduced.

Extract the child branch of cpproc_forkAndExec() into a static
child_process() helper. Move it into a dedicated section, along
with any functions that may run in the forked child, and document
the async-signal-safety constraints for this code.

There are no functional changes. All helpers remain static within
the file; no new exported symbols are introduced.

Signed-off-by: Guillermo Rodríguez <grodriguez@ingelabs.com>
@guillerodriguez
guillerodriguez requested a review from phvega July 15, 2026 16:16
@guillerodriguez
guillerodriguez merged commit d227f57 into master Jul 16, 2026
3 checks passed
@guillerodriguez
guillerodriguez deleted the refactor/process-exec-child-code branch July 16, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants