mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-27 18:30:52 +00:00
!2187 FIX:修复对uid=0进行处理告警时造成的测试用例跑不通问题
Merge pull request !2187 from YinZong/start_init_fix_uid
This commit is contained in:
commit
39490f22ec
@ -308,11 +308,13 @@ class SeccompPolicyParam:
|
||||
self.final_priority |= self.priority
|
||||
self.final_allow_list_with_args |= self.allow_list_with_args
|
||||
self.final_priority_with_args |= self.priority_with_args
|
||||
final_priority_function_name_list_with_args = set(item[:item.find(':')] for item in self.final_priority_with_args)
|
||||
final_function_name_list_with_args = set(item[:item.find(':')] for item in self.final_allow_list_with_args)
|
||||
self.final_allow_list |= self.final_allow_list - self.final_priority - \
|
||||
final_priority_function_name_list_with_args = set(item[:item.find(':')]
|
||||
for item in self.final_priority_with_args)
|
||||
final_function_name_list_with_args = set(item[:item.find(':')]
|
||||
for item in self.final_allow_list_with_args)
|
||||
self.final_allow_list = self.final_allow_list - self.final_priority - \
|
||||
final_priority_function_name_list_with_args - final_function_name_list_with_args
|
||||
self.final_priority |= self.final_priority - final_priority_function_name_list_with_args - \
|
||||
self.final_priority = self.final_priority - final_priority_function_name_list_with_args - \
|
||||
final_function_name_list_with_args
|
||||
self.clear_list()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user