diff options
author | Leah Rowe <leah@libreboot.org> | 2025-09-05 11:46:16 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-09-05 11:46:16 +0100 |
commit | 5096e0040f3c231393fc8a2b2fa2d344de354158 (patch) | |
tree | 28ca062e802ab1f33a7f807cbe1cb6506b1bfe97 /config/coreboot/default/patches/0023-Disable-compression-on-refcode-insertion.patch | |
parent | d06d6a190569574423ff5e60d27ee7f03208dd16 (diff) |
mk: hardened PWD check (deny symlinks)
we check if the first argument is "./mk" and bail if not,
which forces you to be in the xbmk work directory.
however, this check is flawed because symlinks were still
possible.
this patch prevents a same-named symlink "mk" pointing to
the real mk from being used.
this hardening is necessary, due to several built-in
assumptions inherent within the design of xbmk.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0023-Disable-compression-on-refcode-insertion.patch')
0 files changed, 0 insertions, 0 deletions