commit | 30eef21fa041635fb8327ef9001d78cb187c359f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed May 16 09:42:22 2018 -0600 |
committer | Alexander Graf <agraf@suse.de> | Sun Jun 03 15:27:21 2018 +0200 |
tree | 0945455a7afbc64b4636329b50ac62d58db979cb | |
parent | 0864c565a274ddbc23dda667d71524e7efbbef8f [diff] |
sandbox: Add a setjmp() implementation Add an implementation of setjmp() and longjmp() which rely on the underlying host C library. Since we cannot know how large the jump buffer needs to be, pick something that should be suitable and check it at runtime. At present we need access to the underlying struct as well. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>