403 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

certs: Fix blacklist flag type confusion

已完成
任务
创建于  
2022-12-13 14:59

问题背景:

KEY_FLAG_KEEP这个flag本来不是给keyring_alloc这个函数用的,而是配置到keyring里面的flag。而且其值跟KEY_ALLOC_BYPASS_RESTRICTION一样。虽然现在KEY_ALLOC_BYPASS_RESTRICTION并没有真正发挥作用,所以没有实际影响。但是这样混用会有风险。

解决方案:

新增一个KEY_ALLOC_SET_KEEP,用于传入key_alloc函数。

评论 (1)

GUO Zihua 创建了任务

Hi redtailbullet, 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: Kernel, and any of the maintainers: @YangYingliang , @成坚 (CHENG Jian) , @jiaoff , @zhengzengkai , @刘勇强 , @wangxiongfeng , @朱科潜 , @WangShaoBo , @lujialin , @wuxu_buque , @Xu Kuohai , @冷嘲啊 , @Lingmingqiang , @yuzenghui , @juntian , @OSSIM , @陈结松 , @whoisxxx , @koulihong , @刘恺 , @hanjun-guo , @woqidaideshi , @Chiqijun , @Kefeng , @ThunderTown , @AlexGuo , @kylin-mayukun , @Zheng Zucheng , @柳歆 , @Jackie Liu , @zhujianwei001 , @郑振鹏 , @SuperSix173 , @colyli , @Zhang Yi , @htforge , @Qiuuuuu , @Yuehaibing , @xiehaocheng , @guzitao , @CTC-Xibo.Wang , @zhanghongchen , @chen wei , @Jason Zeng , @苟浩 , @DuanqiangWen , @georgeguo , @毛泓博 , @AllenShi , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签
GUO Zihua 修改了描述
GUO Zihua 修改了描述
zhengzengkai 通过src-openeuler/kernel Pull Request !898任务状态待办的 修改为已完成

登录 后才可以发表评论

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

搜索帮助

344bd9b3 5694891 D2dac590 5694891