Repository navigation
pkcl: fork・waitpid・pipe・環境変数・setjmp と pipe サービス - #179
Merged
Merged
Conversation
- sys_info sel 4/5 (自分の pid、PROCESS ハンドルの pid) - pkcl: fork/vfork/wait/waitpid/kill/getpid/getppid、pipe/pipe2、environ と execve の環境 - backend: setjmp/longjmp をインライン展開 - pipe サービス (VM のみ)、起動ブロック version 2、libfnd 1.3 - FND_MAX_PROCS/THREADS を 12/16 に拡大 - console: 死んだ読み手へ渡したキーを戻す Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqgVXKR79fR8rybAwBZ2fY
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqgVXKR79fR8rybAwBZ2fY
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqgVXKR79fR8rybAwBZ2fY
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqgVXKR79fR8rybAwBZ2fY
This was referenced Oct 25, 2026
- busybox.py: --config を重ねられるようにし、busybox_ash.config を追加 - fcntl(F_DUPFD_CLOEXEC)、times、WCOREDUMP - fnd_exec_t.flags の FND_EXEC_KEEP_ARGV0(applet の自己 exec で argv[0] を保つ) - FND_EXEC_IMAGE_MAX/FND_SPAWN_IMAGE_MAX を 1.5 MiB に - ash のテスト(スクリプト、パイプ、サブシェル、環境変数)と仕様・memory Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqgVXKR79fR8rybAwBZ2fY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
proc_fork/COW を使い、BusyBox の MMU 構成(ash/hush)に必要な POSIX 面を pkcl とカーネルに追加します。sys_infosel 4(自分の pid と parent)、sel 5(PROCESS ハンドルの pid)。FND_MAX_PROCS10、FND_MAX_THREADS16。fork/vfork/wait/waitpid/kill/getpid/getppid、pipe/pipe2、environとexecveの環境。setjmp/longjmpをインライン展開。foundation/services/pipe、API §9.5)。全バックエンドで起動。fnd_envc/fnd_env、fnd_exec_t.envp)。killされた読み手へ渡したキーが失われる不具合を修正(キーをキューへ戻す)。memory/を更新。検証
foundation/tests/pkcl(guest_posix.c: COW、waitpid、execve と環境、6 KB の pipe、EOF、EPIPE、setjmp)foundation/tests/shell(VM とFND_MM=nommu)、disk、waxtools/llvm-src32のtest_toolchain -k foundation残り
poll/O_NONBLOCK、シグナル配送、posix_spawn、in-place exec、BusyBox の MMU 構成(ash/hush)での不足シンボルの洗い出し。Closes #168
Refs #169
Generated by Claude Code