summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modtermios.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-18 00:18:01 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-18 00:18:01 +0300
commitc9598604c6872d87b6c818c92efc4bce357d988c (patch)
tree36f9d0f2b9858594780b9901466e171055869008 /unix/modtermios.c
parent9b43a7d1be2cf79b85d36f7f51dd9edd8d39fdda (diff)
downloadmicropython-c9598604c6872d87b6c818c92efc4bce357d988c.tar.gz
micropython-c9598604c6872d87b6c818c92efc4bce357d988c.zip
unix/alloc: Add option to use uPy's alloc-exec implementation even for libffi.
When built for Linux, libffi includes very bloated and workaround exec-alloc implementation required to work around SELinux and other "sekuritee" features which real people don't use. MicroPython has own alloc-exec implementation, used to alloc memory for @micropython.native code. With this option enabled, uPy's implementation will override libffi's. This saves 11K on x86_64 (and that accounts for more than half of the libffi code size). TODO: Possibly, we want to refactor this option to allow either use uPy's implementation even for libffi, or allow to use libffi's implementation even for uPy.
Diffstat (limited to 'unix/modtermios.c')
0 files changed, 0 insertions, 0 deletions