9 Star 1 Fork 82

src-openEuler / grub2

 / 详情

【24.03-LTS round5】【x86/arm】grub2安全编译选项PIE不满足

已完成
缺陷
创建于  
2024-05-20 16:32

软件信息:
1) OS版本及分支:openEuler 24.03-LTSround5
2) 内核信息:Linux

【问题复现步骤】
1、PIE:查看编译日志中是否包含FPIE编译选项
2、STRIP:(1):rpm2cpio **.rpm|cpio -id (2)file $file
3、RPATH:(1):rpm2cpio **.rpm|cpio -id (2)readelf -d $file

【预期结果】
1、包含FPIE安全编译选项
2、不包含not stripped
3、不包含rpath/runpath

【实际结果】
grub2安全编译选项PIE不满足

/grub2-pc-modules-2.12-11.oe2403.noarch.cpio_/usr/lib/grub/i386-pc/kernel.exec
/grub2-pc-modules-2.12-11.oe2403.noarch.cpio_/usr/lib/grub/i386-pc/kernel.img
/grub2-pc-modules-2.12-11.oe2403.noarch.cpio_/usr/lib/grub/i386-pc/lnxboot.image

评论 (2)

seven 创建了缺陷

Hi sevenjj, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-OS-Builder, and any of the maintainers: @t.feng , @yanan-rock , @syyhao , @hexiaowen , @Anonymous_Z , @compile_success , @zhangqiumiao , @朱春意

openeuler-ci-bot 添加了
 
sig/sig-OS-Builder
标签
seven 修改了标题

非问题,静态链接可执行文件不支持PIE编译选项

sun_hai 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/grub2.git
git@gitee.com:src-openeuler/grub2.git
src-openeuler
grub2
grub2

搜索帮助

344bd9b3 5694891 D2dac590 5694891