fn rust_required_rules() -> Vec<(i64, Vec<seccomp::SeccompRule>)> {
    vec![
        (
            libc::SYS_sigaltstack,
            vec![seccomp::SeccompRule::new(
                vec![],
                seccomp::SeccompAction::Allow,
            )],
        ),
        (
            libc::SYS_munmap,
            vec![seccomp::SeccompRule::new(
                vec![],
                seccomp::SeccompAction::Allow,
            )],
        ),
        (
            libc::SYS_exit_group,
            vec![seccomp::SeccompRule::new(
                vec![],
                seccomp::SeccompAction::Allow,
            )],
        ),
    ]
}
/// Returns a list of rules that allow syscalls required for running a rust program.
Returns a list of rules that allow syscalls required for running a rust program.
Returns a list of rules that allow syscalls required for running a rust program .
fn rust_required_rules() -> Vec<(i64, Vec<seccomp::SeccompRule>)> {
    vec![
        (
            libc::SYS_sigaltstack,
            vec![seccomp::SeccompRule::new(
                vec![],
                seccomp::SeccompAction::Allow,
            )],
        ),
        (
            libc::SYS_munmap,
            vec![seccomp::SeccompRule::new(
                vec![],
                seccomp::SeccompAction::Allow,
            )],
        ),
        (
            libc::SYS_exit_group,
            vec![seccomp::SeccompRule::new(
                vec![],
                seccomp::SeccompAction::Allow,
            )],
        ),
    ]
}
fn rust_required_rules ( ) -> Vec < ( i64 , Vec < seccomp :: SeccompRule > ) > { vec ! [ ( libc SYS_sigaltstack vec [ seccomp SeccompRule new ( vec [ ] seccomp SeccompAction Allow ) ] ) ( libc SYS_munmap vec [ seccomp SeccompRule new ( vec [ ] seccomp SeccompAction Allow ) ] ) ( libc SYS_exit_group vec [ seccomp SeccompRule new ( vec [ ] seccomp SeccompAction Allow ) ] ) ] }
Returns a list of rules that allow syscalls required for running a rust program.
Returns a list of rules that allow syscalls required for running a rust program .