Commit 5a9f480a authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Zheng Zengkai
Browse files

efi/libstub: arm64: support strchr function for EFI stub

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5J0X7


CVE: NA

--------------------------------

Since arm64 does not use a builtin decompressor, the EFI stub is built
into the kernel proper. So instead, separate the contents of libstub
and its dependencies, by putting them into their own namespace by
prefixing all of its symbols with __efistub.This way, we have tight
control over what parts of the kernel proper are referenced by the stub.

Follow the rules and support strchr function for EFI stub, it will be
used to parse cmdline args.

Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Reviewed-by: default avatarWang Weiyang <wangweiyang2@huawei.com>
Reviewed-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 6d9aaec1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment