diff options
author | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-15 07:42:24 +0000 |
---|---|---|
committer | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-15 07:42:24 +0000 |
commit | c4fc5f3b0f783b7662bfe8c128e3cde7c6352fda (patch) | |
tree | f58979add793d46f6aaf3e72709d1d0c2019f944 /chrome_frame/stream_impl.cc | |
parent | 400d3153e3d7a5d7ba120863de0ce3662a886962 (diff) | |
download | chromium_src-c4fc5f3b0f783b7662bfe8c128e3cde7c6352fda.zip chromium_src-c4fc5f3b0f783b7662bfe8c128e3cde7c6352fda.tar.gz chromium_src-c4fc5f3b0f783b7662bfe8c128e3cde7c6352fda.tar.bz2 |
Added support for SECCOMP_RET_TRAP handlers.
When setting a sandbox policy, the user has to write a system call evaluator
function. This function is passed a system call number and returns a suitable
ErrorCode (e.g. an "errno" value).
This change list extends ErrorCode, so that in addition to static "errno" values,
the system call evaluator can also request that a callback gets called. This allows
the sandbox to handle system calls in user space.
BUG=130662
TEST=make && ./demo32 && ./demo64
Review URL: https://chromiumcodereview.appspot.com/10533076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/stream_impl.cc')
0 files changed, 0 insertions, 0 deletions