mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Allow sigaltstack
`absl::GetStackTrace` on Aarch64 since
bb7bbb12c7
will call sigaltstack.
PiperOrigin-RevId: 581914257
Change-Id: I316bdd64d1cef8a6327838681bda0067a0dc50fc
This commit is contained in:
parent
bc3c0ec17a
commit
15fb5b9608
|
@ -50,6 +50,7 @@ std::unique_ptr<sandbox2::Policy> GetPolicy(absl::string_view sandboxee_path) {
|
|||
.AllowSyscall(__NR_lseek)
|
||||
.AllowSyscall(__NR_munmap)
|
||||
.AllowSyscall(__NR_getpid)
|
||||
.AllowSyscall(__NR_sigaltstack)
|
||||
.AllowTcMalloc()
|
||||
.AddLibrariesForBinary(sandboxee_path);
|
||||
if (absl::GetFlag(FLAGS_connect_with_handler)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user