summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-08-26 17:55:46 +0200
committerChristian Brauner <brauner@kernel.org>2026-08-31 10:06:34 +0200
commit55beb606b5a10ce8c7c5e488eec712f090372b0b (patch)
treed34642bab44b0d80901615088fe9e31f96e00800 /tools/lib/python/kdoc/python_version.py
parent66498c75b4f8017f62d720d9b59675bdf3abce91 (diff)
downloadlinux-next-55beb606b5a10ce8c7c5e488eec712f090372b0b.tar.gz
linux-next-55beb606b5a10ce8c7c5e488eec712f090372b0b.zip
binfmt_misc: only let punctuation delimit a register string
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. Link: https://patch.msgid.link/20260826-work-binfmt_misc-delim-v1-1-43618adf8599@kernel.org Reviewed-by: Farid Zakaria <farid.m.zakaria@gmail.com> Suggested-by: Farid Zakaria <farid.m.zakaria@gmail.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions