Skip to content

Commit

Permalink
hardening: drop obsolete DRM_LEGACY from config fragment
Browse files Browse the repository at this point in the history
Commit 94f8f31 ("drm: Remove Kconfig option for legacy support
(CONFIG_DRM_LEGACY)") removes the config DRM_LEGACY, but one reference to
that config is left in the hardening.config fragment.

As there is no drm legacy driver left, we do not need to recommend this
attack surface reduction anymore.

Drop this reference in hardening.config fragment.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20240208091045.9219-3-lukas.bulwahn@gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
  • Loading branch information
bulwahn authored and kees committed Feb 21, 2024
1 parent 006eac3 commit 7b3133a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/configs/hardening.config
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,3 @@ CONFIG_SYN_COOKIES=y

# Attack surface reduction: Use the modern PTY interface (devpts) only.
# CONFIG_LEGACY_PTYS is not set

# Attack surface reduction: Use only modesetting video drivers.
# CONFIG_DRM_LEGACY is not set

0 comments on commit 7b3133a

Please sign in to comment.