aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/common.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-02 11:58:29 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-04 09:50:32 +0000
commit06bf8101debe879447d0ef3a7a5b84cb11fa5acf (patch)
treed36506158005ab053b33b46559d48ba5e54b4a9e /pkg/csource/common.go
parent3f1713c975c911f9ca5d27d0292f7505b176c873 (diff)
executor: remove noshmem mode
All OSes we have now support shmem. Support for Fuchia/Starnix/Windows wasn't implemented, but generally they support shared memory. Remove all of the complexity and code associated with noshmem mode. If/when we revive these OSes, it's easier to properly implement shmem mode for them.
Diffstat (limited to 'pkg/csource/common.go')
-rw-r--r--pkg/csource/common.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/csource/common.go b/pkg/csource/common.go
index 109863418..188be26c2 100644
--- a/pkg/csource/common.go
+++ b/pkg/csource/common.go
@@ -128,7 +128,6 @@ func commonDefines(p *prog.Prog, opts Options) map[string]bool {
"SYZ_802154": opts.IEEE802154,
"SYZ_SYSCTL": opts.Sysctl,
"SYZ_SWAP": opts.Swap,
- "SYZ_EXECUTOR_USES_SHMEM": sysTarget.ExecutorUsesShmem,
"SYZ_EXECUTOR_USES_FORK_SERVER": sysTarget.ExecutorUsesForkServer,
}
}