Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nshlib/cmd_cat: Retry if nsh_read was interrupted by a signal #16

Conversation

JianyuWang0623
Copy link
Member

Summary

nshlib/cmd_cat: Retry if nsh_read() was interrupted by a signal.
When read from stdio of child process through pipe, SIGCHLD received if child exits.

Impact

nshlib/cmd_cat.

Testing

  1. Selftest
ls | cat | cat | cat | cat
  1. Github CI

@JianyuWang0623 JianyuWang0623 force-pushed the br_wjy_cmd_cat_read_EINTR_241108_openvela branch from b4eb21c to 5372ca5 Compare December 26, 2024 15:09
When read from stdio of child process through pipe, SIGCHLD received if child exits.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
@JianyuWang0623 JianyuWang0623 force-pushed the br_wjy_cmd_cat_read_EINTR_241108_openvela branch from 5372ca5 to df00344 Compare December 26, 2024 15:32
@xiaoxiang781216 xiaoxiang781216 merged commit e1651d6 into open-vela:dev Dec 28, 2024
3 checks passed
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