Home
last modified time | relevance | path

Searched refs:ret_str_to_bpf (Results 1 – 1 of 1) sorted by relevance

/base/startup/init/services/modules/seccomp/scripts/
Dgenerate_code_from_policy.py45 ret_str_to_bpf = { variable
270 if return_str in ret_str_to_bpf:
276 raise ValidateError('{} not in {}'.format(return_str, ret_str_to_bpf.keys()))
370 if return_value not in ret_str_to_bpf:
741 bpf_policy.append(BPF_RET_VALUE.format(ret_str_to_bpf.get(self.return_value)))
757 …olicy.append(BPF_RET_VALUE.format(self.return_value.replace('ERRNO', ret_str_to_bpf.get('ERRNO'))))
759 bpf_policy.append(BPF_RET_VALUE.format(ret_str_to_bpf.get(self.return_value)))
786 …bpf_policy.append(BPF_RET_VALUE.format(return_value.replace('ERRNO', ret_str_to_bpf.get('ERRNO'))))
788 self.bpf_policy.append(BPF_RET_VALUE.format(ret_str_to_bpf.get(return_value)))