def METHOD_NAME(self, action, syscall):
    """
    Add a rule for a specific syscall.
    @param action: A number like SCMP_ACT_ALLOW or SCMP_ACT_ENOSYS
    @param syscall: A syscall name or number (on the native architecture)
    """
    if not isinstance(syscall, int):
        syscall = _lib.seccomp_syscall_resolve_name(syscall)
    _lib.seccomp_rule_add(self.filter, action, syscall, 0)