mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Do not expose stack_trace.h in public API
PiperOrigin-RevId: 381412175 Change-Id: I30729c5af378c358e6400e4b7366d435518ae7d7
This commit is contained in:
parent
fe08d724e4
commit
fe2ee5dfac
|
@ -281,6 +281,7 @@ cc_library(
|
|||
"policybuilder.cc",
|
||||
"sandbox2.cc",
|
||||
"stack_trace.cc",
|
||||
"stack_trace.h",
|
||||
],
|
||||
hdrs = [
|
||||
"client.h",
|
||||
|
@ -293,7 +294,6 @@ cc_library(
|
|||
"regs.h",
|
||||
"result.h",
|
||||
"sandbox2.h",
|
||||
"stack_trace.h",
|
||||
"syscall.h",
|
||||
],
|
||||
copts = sapi_platform_copts(),
|
||||
|
@ -784,11 +784,16 @@ cc_test(
|
|||
|
||||
cc_test(
|
||||
name = "stack_trace_test",
|
||||
srcs = ["stack_trace_test.cc"],
|
||||
srcs = [
|
||||
"stack_trace.h",
|
||||
"stack_trace_test.cc",
|
||||
],
|
||||
copts = sapi_platform_copts(),
|
||||
data = ["//sandboxed_api/sandbox2/testcases:symbolize"],
|
||||
deps = [
|
||||
":global_forkserver",
|
||||
":mounts",
|
||||
":regs",
|
||||
":sandbox2",
|
||||
"//sandboxed_api:testing",
|
||||
"//sandboxed_api/sandbox2/util:bpf_helper",
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "sandboxed_api/sandbox2/mounts.h"
|
||||
#include "sandboxed_api/sandbox2/policy.h"
|
||||
#include "sandboxed_api/sandbox2/regs.h"
|
||||
|
||||
namespace sandbox2 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user