Skip to content

Commit

Permalink
syscall funcs: keep symbols that begin with double underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed May 8, 2024
1 parent 4888939 commit a10a51d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crt/gen_syscall_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,6 @@
name = name.strip()
no = int(no.strip())

if name.startswith('__acl'):
continue

if name.startswith('__cap'):
continue

if name.startswith('__'):
name = name[2:]

if name in ['syscall', 'pipe', 'MAXSYSCALL']:
continue

Expand Down

0 comments on commit a10a51d

Please sign in to comment.