diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-07 02:17:23 +0000 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-07 02:33:53 +0000 |
commit | 7f7535710b23ec984f1f0fa3dab8ea4a081a0bab (patch) | |
tree | 7236dfd38c406e5b9ad1e99ed3e6cb6c01895dff /builddeps/binutils.patch | |
parent | 4a004fd4eb1f6d7616e38b1ccb0ec0bf8346d204 (diff) |
kernel: cons: Introduce /ctl/console/attr
In a lot of existing systems, ANSI escape sequences are used to
control console attributes such as cursor position, style, etc. However,
too many sequences for too many things are implemented at once. If a
program has neglected to properly sanitize input coming in (e.g., from a
network). Stray sequences may be injected into the receiving console.
One may disable the ANSI state machine using the 'ansi_esc' bit within
/ctl/console/feat, completely eradicating such issues, while being able
to still control various console attributes through /ctl/console/attr.
This commit also keeps the builtin ANSI escape sequence parser as simple
as possible.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'builddeps/binutils.patch')
0 files changed, 0 insertions, 0 deletions