Searched refs:ValidateError (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/build/ohos/packages/ |
H A D | check_seccomp_library_name.py | 25 class ValidateError(Exception): class 43 … raise ValidateError('cfg error,please use json file replace xml process name: ' + field['name']) 64 … raise ValidateError('seccomp directory has other shared library except seccomp policy library') 78 …raise ValidateError('service name {} not in cfg, please check the name used for seccomp'.format(n…
|
/ohos5.0/base/startup/init/services/modules/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 68 class ValidateError(Exception): class 178 raise ValidateError("parse syscall file failed") 266 raise ValidateError('{} is not a number or {} is already used by ohter \ 276 raise ValidateError("LOG return value is not allowed in user mode") 437 raise ValidateError('arg num out of the scope 0~5') 447 raise ValidateError('operation not in [<, <=, !=, ==, >, >=, &]') 671 raise ValidateError('{} format ERROR '.format(atom)) 739 raise ValidateError('allow list with args do not have return part') 930 raise ValidateError('return value not defined') 968 raise ValidateError("bpf_policy is empty!") [all …]
|
/ohos5.0/build/config/components/init/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 68 class ValidateError(Exception): class 178 raise ValidateError("parse syscall file failed") 266 raise ValidateError('{} is not a number or {} is already used by ohter \ 276 raise ValidateError("LOG return value is not allowed in user mode") 437 raise ValidateError('arg num out of the scope 0~5') 447 raise ValidateError('operation not in [<, <=, !=, ==, >, >=, &]') 671 raise ValidateError('{} format ERROR '.format(atom)) 739 raise ValidateError('allow list with args do not have return part') 930 raise ValidateError('return value not defined') 968 raise ValidateError("bpf_policy is empty!") [all …]
|