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

Commit 2f883314 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

riscv64 doesn't require a 32-bit crash dump policy.

Test: `mm -j` in bionic
Change-Id: I6c2e91b540f544b1ca428692ebfb25697b0cb6e4
parent 4b507bcd
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
@@ -467,28 +467,36 @@ prebuilt_etc {
    arch: {
        arm: {
            src: "seccomp_policy/crash_dump.arm.policy",
            required: [
                "crash_dump.policy_other",
            ],
        },
        arm64: {
            src: "seccomp_policy/crash_dump.arm64.policy",
            required: [
                "crash_dump.policy_other",
            ],
        },
        riscv64: {
            src: "seccomp_policy/crash_dump.riscv64.policy",
        },
        x86: {
            src: "seccomp_policy/crash_dump.x86.policy",
            required: [
                "crash_dump.policy_other",
            ],
        },
        x86_64: {
            src: "seccomp_policy/crash_dump.x86_64.policy",
        },
    },
            required: [
                "crash_dump.policy_other",
            ],
        },
    },
}


// NB -- this installs "the other" architecture. (puts 32 bit config in on 64 bit device)
// or at least that is the intention so that we get both of them populated
// This installs the "other" architecture (so 32-bit on 64-bit device).
prebuilt_etc {
    name: "crash_dump.policy_other",
    sub_dir: "seccomp_policy",