Commit 8844a1f
Fix CI: guard cloexec wrappers for linuxkm/Windows/OS2
Exclude WOLFSSL_LINUXKM from the POSIX wrapper block so kernel builds
don't try to include <fcntl.h>/<sys/socket.h>. For platforms without
POSIX close-on-exec (Windows, OS/2 Open Watcom, linuxkm, Zephyr),
define the wrappers as macros that pass through to plain syscalls,
letting call sites stay unconditional.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 7aab6e5 commit 8844a1f
2 files changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
5135 | 5136 | | |
5136 | 5137 | | |
5137 | 5138 | | |
5138 | | - | |
| 5139 | + | |
| 5140 | + | |
5139 | 5141 | | |
5140 | 5142 | | |
5141 | 5143 | | |
| |||
5202 | 5204 | | |
5203 | 5205 | | |
5204 | 5206 | | |
5205 | | - | |
| 5207 | + | |
5206 | 5208 | | |
5207 | 5209 | | |
5208 | 5210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1860 | 1860 | | |
1861 | 1861 | | |
1862 | 1862 | | |
1863 | | - | |
| 1863 | + | |
| 1864 | + | |
1864 | 1865 | | |
1865 | 1866 | | |
1866 | 1867 | | |
1867 | 1868 | | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
1868 | 1879 | | |
1869 | 1880 | | |
1870 | 1881 | | |
| |||
0 commit comments