diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-08-31 10:06:36 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-08-31 10:06:36 +0200 |
| commit | 87b76786cc04c8137133a360088d94ab2ed592ca (patch) | |
| tree | 910d782fc26434d6fd9eea934ec145d7cff7547e /tools/lib/python/kdoc | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| parent | cd9cbd151573a6170f0a8f0fc97e3834e35012c6 (diff) | |
| download | linux-next-87b76786cc04c8137133a360088d94ab2ed592ca.tar.gz linux-next-87b76786cc04c8137133a360088d94ab2ed592ca.zip | |
Merge patch series "binfmt_misc: only let punctuation delimit a register string"
Christian Brauner <brauner@kernel.org> says:
Currently we accept arbitrary delimiters which really makes no sense and
from looking around it's an unused feature. Everytime we add a flag the
number of possible delimiter shrinks and it makes extensions much more
hazardous than they need to be. Stop it and only accept punctional as
delimiters.
This extends commit 8e85d50ba111 ("binfmt_misc: reject a flag character
as the field delimiter").
Letters, digits, whitespace, control characters, bytes above 0x7f and
the backslash now get -EINVAL. Everything deployed uses ':' anyway.
* patches from https://patch.msgid.link/20260826-work-binfmt_misc-delim-v1-0-43618adf8599@kernel.org:
binfmt_misc: document the field delimiter
selftests/exec: test delimiter restrictions
binfmt_misc: only let punctuation delimit a register string
Link: https://patch.msgid.link/20260826-work-binfmt_misc-delim-v1-0-43618adf8599@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
