Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d77b388 authored by Chen Guoyin's avatar Chen Guoyin Committed by Mao Han
Browse files

Add code_coverage seccomp policy for riscv64



Signed-off-by: default avatarChen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: default avatarMao Han <han_mao@linux.alibaba.com>
Change-Id: I840cce02a087d05587bfa61824e9071732c16218
parent 46ed34b6
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -24,6 +24,14 @@ prebuilt_etc {
                },
            },
        },
        riscv64: {
            src: "empty_policy/code_coverage.riscv64.policy",
            product_variables: {
                native_coverage: {
                    src: "seccomp_policy/code_coverage.riscv64.policy",
                },
            },
        },
        x86: {
            src: "empty_policy/code_coverage.x86.policy",
            product_variables: {
@@ -67,6 +75,14 @@ prebuilt_etc {
                },
            },
        },
        riscv64: {
            src: "empty_policy/code_coverage.riscv64.policy",
            product_variables: {
                native_coverage: {
                    src: "seccomp_policy/code_coverage.riscv64.policy",
                },
            },
        },
        x86: {
            src: "empty_policy/code_coverage.x86_64.policy",
            product_variables: {
+2 −0
Original line number Diff line number Diff line
# empty unless code_coverage is enabled.
# code_coverage.riscv64.policy
+15 −0
Original line number Diff line number Diff line
close: 1
fchmod: 1
mkdirat: 1
msync: 1
munmap: 1
openat: 1
write: 1
fcntl: 1
fstat: 1
ftruncate: 1
geteuid: 1
lseek: 1
mmap: 1
rt_sigreturn: 1
prctl: 1