-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpatches.yml
More file actions
243 lines (243 loc) · 9.18 KB
/
patches.yml
File metadata and controls
243 lines (243 loc) · 9.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
patches:
- path: zephyr/deprecate-config-posix-api.patch
sha256sum: 7286699dc0e93a4c3668fd3a6129e444cecae3aafe7c5158fdb7663b50fdc072
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-10-18
upstreamable: true
merge-pr: https://github.com/zephyrproject-rtos/zephyr/pull/97855
comments: |
deprecate CONFIG_POSIX_API
Note: the patch was taken on 2025-11-10.
- path: zephyr/do-not-define--POSIX-C-SOURCE-and--XOPEN-SOURCE-globally.patch
sha256sum: 663aa98f247337075ada2be888511ab8d65aab071b356f23ab404120bdd2a8ec
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-10-24
upstreamable: true
merge-pr: https://github.com/zephyrproject-rtos/zephyr/pull/97855
comments: |
Note: this was originally part of the same PR above, but split out to make review easier.
on 2025-10-23.
- path: zephyr/add-missing-ctype-functions-to-minimal-libc.patch
sha256sum: b97740bbf6a1d94b7c15a12d1a9ae04f61f8638db3e2f1e6db4131829bb18587
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-11-15
upstreamable: true
merge-pr: https://github.com/zephyrproject-rtos/zephyr/pull/99451
comments: |
Add missing ctype.h functions to minimal libc that are required for fnmatch()
- path: zephyr/libc-minimal-and-pico-support-for-strfmon.patch
sha256sum: d2b90005835ea279de4421aae0e146ebf5d8fabd5aea4f0e3b01d66ae47504a6
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-11-20
upstreamable: true
comments: |
Add missing locale.h for minimal libc, as well as a trivial implementation of setlocale() and
localeconv() that only support the "C" locale. Also patch picolibc to provide monetary.h via
Zephyr (and newlib as well).
- path: zephyr/net-sockets-eventfd-zvfs-prefixes.patch
sha256sum: 64cae514141253325c9612cf958f2907da1f01dcddcd9de1ed25f9a74e9a65c5
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-11-23
upstreamable: true
comments: |
Prefix POSIX constants with with ZVFS_ to avoid namespace collisions.
- path: zephyr/fdtable-additional-poll-constants.patch
sha256sum: 7c809719168ca7b144a606fd9e0c061b4c278fb285ab01db7f124f1f5b8cd2b7
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-11-23
upstreamable: true
comments: |
Add missing constants related to poll() to fdtable.h.
- path: zephyr/lib-os-clock-do-not-use-spinlock-in-ztest-hook.patch
sha256sum: 804ce489dcc2cd018c8caa7e3629c0bfa45be616a363adff2048b9beaa467957
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-07
upstreamable: true
comments: |
Do not use a spinlock in the ztest hook to reset the clock offset, since ztest needs to
reset all state without deadlocking.
- path: zephyr/native-libc-tc-provides-c-lib-ext.patch
sha256sum: 63411ad867cf645cc3d162bfd354c281fffbade1fb93c8cfec2d5c6ef6dc6cbd
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-09
upstreamable: true
comments: |
Enable the native C library to provide the POSIX_C_LIB_EXT Option Group.
- path: zephyr/zephyr-getopt-h.patch
sha256sum: 91fd7db5edcf15cb1fa7374df33542ea7c3c3e7536f0de1cfd6ea6a8fff8c0e2
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-12
upstreamable: true
comments: |
Add a getopt wrappers for minimal, picolibc, and newlib.
- path: zephyr/move-posix-impl-and-tests-out-of-tree.patch
sha256sum: 1a4f461f13811e3eaa71b1bfac6421671e78ecbb7a6658ad48c45b241d77984e
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-11-10
comments: |
Not immediately upstreamable. This facilitates unblocked development of Zephyr's POSIX
implementation.
- path: zephyr/libc-thrd-once-flag.patch
sha256sum: 6ef74353992d037d7fd6952eec13d0ad0c2347b394e33fc82d629248c4539b34
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-30
upstreamable: true
comments: |
adjust the libc thrd once_flag type to be the same size as Zephyr's pthread_once_t, which
is the size of atomic_c. Currently, that is the size of a long, but that's only the case
because Zephyr's sys/atomic.h API does not use C11 generics (which would allow us to use
uint8_t atomic operations, etc).
- path: zephyr/deprecate-config-getopt-shell.patch
sha256sum: 2a76993cbb5358655843a9ab3c833ba805b2f926d76a1cb9c9fc93f903388ad1
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-14
upstreamable: true
comments: |
Deprecate CONFIG_GETOPT_SHELL, remove CONFIG_GETOPT_LONG. Users should use `getopt_r()`,
`getopt_long_r()`, `getopt_long_only_r()` if they need reentrant versions of these functions.
Picolibc and newlib can theoretically provide these functions as well, but they would need to
be non-inline wrappers around their own internal reentrant implementations.
- path: zephyr/elastipool.patch
sha256sum: 815c36a015bb28685e3fba6ba39caa0ccf605aefac49e8d9ef68f4a4c5402f88
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-18
upstreamable: true
comments: |
Add the elastipool API.
- path: zephyr/zvfs-eventfd-deadlock-fix.patch
sha256sum: 0228dfe0397d9f35d650d86e4c70b805e270dd4843590cdfcb2829f524785470
module: zephyr
author: Marco Casaroli
email: marco.casaroli@gmail.com
date: 2025-11-12
upstreamable: true
merge-pr: https://github.com/zephyrproject-rtos/zephyr/pull/99241
comments: |
fixes a deadlock in zvfs_eventfd_read() / zvfs_eventfd_write()
- path: zephyr/native-tc-provides-eventfd.patch
sha256sum: 3367f33f95ca61dc1b9eea9c03ba7b25feaf03787ca4fcc8fde000200e4afefb
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2025-12-19
upstreamable: true
comments: |
allow the native libc to provide eventfd support and ensure that tests are interoperable
- path: zephyr/ring-buffer-static.patch
sha256sum: f3cfd5109ce90add629a4228079fcf699372df2e14a517f3fdbeedd4be0987e7
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2024-08-10
upstreamable: true
comments: |
Allow ring-buffers to be declared statically via a macro.
- path: zephyr/k-signal.patch
sha256sum: 493d5733af283153125f409c1baed7106f2c357920097e46d6db6e9ddc67cedf
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2024-06-18
upstreamable: true
comments: |
Add the k_signal API for inter-thread signaling.
- path: zephyr/k-thread-result.patch
sha256sum: 60ffdb69849ad99ae500e02c1cd76da63be12fd3f15f062109cbae5ad16dc265
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-01-16
upstreamable: true
comments: |
Support thread results. Thread results are necessary to support standard
threading APIs such as pthread_join() and thrd_join().
- path: zephyr/k-thread-cancel.patch
sha256sum: 1a4cdd0a8c107c2a4b761624a236b20d8a19daa12fc45b3f7140ca7c4f3ef1c1
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-01-15
upstreamable: true
comments: |
Support thread cancellation. Thread cancellation is necessary to support
standard threading APIs such as pthread_cancel() and thrd_cancel().
- path: zephyr/user-signals-riscv.patch
sha256sum: 936e0f00994bd06e9fe0b0e8381d5c39786564b56642391054b253cf6cd1aa3a
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-02-08
upstreamable: true
comments: |
RISC-V arch-level support for userspace signals in syscall handling.
- path: zephyr/user-signals-arm.patch
sha256sum: c4f63b5b4e905f3fd6e8d98ccedf2697d18319035375c29e98bf224f327c2863
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-02-10
upstreamable: true
comments: |
ARM and Aarch64 arch-level support for userspace signals in syscall handling.
- path: zephyr/user-signals-x86.patch
sha256sum: 8878fa58a9f97968bd2b331ac9051fb6f61d1188efa4885bc5a8898279104927
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-02-15
upstreamable: true
comments: |
x86 arch-level support for userspace signals in syscall handling.
- path: zephyr/k-thread-cleanup.patch
sha256sum: 32da2e8e45f93126b5d6eed1e45af6b0b242c0d32523a3b12c6ba1e6dde6623e
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-03-07
upstreamable: true
comments: |
add general thread cleanup support
- path: zephyr/k-tss.patch
sha256sum: 20e609595792cbf3d403f4c76fa8f659e2a0dc94d1efd4672be621636e111689
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-03-07
upstreamable: true
comments: |
add thread-specific storage support
- path: zephyr/k-thread-detach.patch
sha256sum: e34b3a3d3eb22afa1b05f74a8280edd94cb76860a53200f2ee257590d1156b67
module: zephyr
author: Chris Friedt
email: chris@fr4.co
date: 2026-03-08
upstreamable: true
comments: |
add support for detached threads.