9 Star 6 Fork 11

src-openEuler / startdde

 / 详情

【22.03_LTS_SP1_RC2】【x86/arm】startdde不存在安全的编译选项PIE、STRIP

已完成
缺陷
创建于  
2022-12-08 10:51

软件信息:
1) OS版本及分支:openEuler 22.03 lts sp1 round2
2) 内核信息:Linux openEuler 5.10.0-132.0.0.73.oe2203sp1
3) 发现问题的组件版本信息:
repo:OS,everything,EPOL

【问题复现步骤】
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
【实际结果】
startdde不存在安全的编译选项PIE、STRIP

评论 (3)

wangxiaoya 创建了缺陷

Hi ryuo, 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-DDE, and any of the maintainers: @weidongkl , @叶青龙 , @panchenbo

openeuler-ci-bot 添加了
 
sig/sig-DDE
标签
wangxiaoya 负责人设置为叶青龙
wangxiaoya 优先级设置为主要
wangxiaoya 计划开始日期设置为2022-12-08
wangxiaoya 计划截止日期设置为2022-12-08
wangxiaoya 修改了标题
wangxiaoya 修改了描述

社区有专门用于安全编译选项批量定制的插件包(gcc_secure),建议在gcc_secure中统一增加-s选项以达到批量修复的效果,单包修改重复性工作太多,修改质量也无法保证,请知悉

r5轮次未修复
x86:
./usr/bin/startdde:stripped failed
./usr/lib/deepin-daemon/greeter-display-daemon:stripped failed
./usr/sbin/deepin-fix-xauthority-perm:stripped failed
arm:
./usr/bin/startdde:stripped failed
./usr/lib/deepin-daemon/greeter-display-daemon:stripped failed
./usr/sbin/deepin-fix-xauthority-perm:stripped failed

wangxiaoya 任务状态已完成 修改为待办的
wangxiaoya 修改了标题
wangxiaoya 修改了描述
Venland 通过src-openeuler/startdde Pull Request !24任务状态待办的 修改为已完成

登录 后才可以发表评论

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

搜索帮助