Home | History | Annotate | Download | only in tools

Lines Matching full:syscalls

32   return set([x["name"] for x in parser.syscalls if x.get(architecture)])
54 # In SYSCALLS.TXT, there are two arm-specific syscalls whose names start
67 syscalls = []
79 syscalls.append((name, value))
81 return syscalls
84 def convert_NRs_to_ranges(syscalls):
86 syscalls = sorted(syscalls, lambda x, y: cmp(x[1], y[1]))
90 for name, value in syscalls:
103 # Converts the sorted ranges of allowed syscalls to a binary tree bpf
140 # continue. This allows the user to choose to match further syscalls, and
144 # Add check that we aren't off the bottom of the syscalls
175 syscalls = convert_names_to_NRs(names, header_dir, extra_switches)
176 ranges = convert_NRs_to_ranges(syscalls)
181 # final syscalls = base - blacklists + whitelists
183 "base": "SYSCALLS.TXT",
191 "base": "SYSCALLS.TXT",
201 "base": "SYSCALLS.TXT",