ucode: add patches that make it easier to deal with non-blocking fds
authorFelix Fietkau <[email protected]>
Thu, 9 Oct 2025 07:56:10 +0000 (09:56 +0200)
committerFelix Fietkau <[email protected]>
Thu, 9 Oct 2025 07:57:30 +0000 (09:57 +0200)
commitad6df8a3c8e88c6d52a2b52cd2b39d543a890b26
treee88890830a43ead9a23eb35da5c4f162dd713bb9
parent7418c2d89b1c2bda3b14679abbcc45c716e469eb
ucode: add patches that make it easier to deal with non-blocking fds

This allows creating pipes for subprocesses to use as stdin/out/err
and polling them from a uloop process.

Signed-off-by: Felix Fietkau <[email protected]>
package/utils/ucode/patches/111-uloop-add-optional-setup-callback-to-process.patch [new file with mode: 0644]
package/utils/ucode/patches/120-fs-add-dup2-function.patch [new file with mode: 0644]
package/utils/ucode/patches/121-fs-add-read_nb-method-for-non-blocking-reads.patch [new file with mode: 0644]