diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-05 16:19:08 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-05 16:21:47 -0500 |
commit | 5498907383c7f1654188b6a0d02d8b03112a28c3 (patch) | |
tree | 4d207926c2d4b5c63d36f6108149f170be510bce /localdecls.h | |
parent | tests: note that testsuite.list.at is generated (diff) | |
download | sandbox-5498907383c7f1654188b6a0d02d8b03112a28c3.tar.gz sandbox-5498907383c7f1654188b6a0d02d8b03112a28c3.tar.bz2 sandbox-5498907383c7f1654188b6a0d02d8b03112a28c3.zip |
libsandbox: push down constructor init
Since every consumer of sb_open gets a copy of the sbio_open data, push
the init of this into the .data section of the respective consumers to
avoid the runtime overhead.
This just leaves sandbox_lib setup in the constructor function, but that
is only needed by the execve wrapper, so push down init of that to the
existing sb_init logic which happens before our execve wrapper gets used.
URL: http://bugs.gentoo.org/404013
Reported-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'localdecls.h')
0 files changed, 0 insertions, 0 deletions