]> git.ipfire.org Git - thirdparty/grub.git/commit
loader/emu/linux: Fix determination of program name
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 17 Jun 2024 12:56:31 +0000 (15:56 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 20 Jun 2024 17:11:48 +0000 (19:11 +0200)
commitf171122f03a5e0feca9541b50ef1bfd693c5fb21
tree1c1e5cf0adbab3dd9152f892fdaa83b157e30ec2
parent828717833fd18958199d731e366ef3fe997f2444
loader/emu/linux: Fix determination of program name

Current code works only if package matches binary name transformation rules.
It's often true but is not guaranteed.

Fixes: https://savannah.gnu.org/bugs/?64410
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/emu/linux.c
include/grub/emu/misc.h