cosmopolitan/libc/x
Justine Tunney e963d9c8e3 Add cpu / mem / fsz limits to build system
Thanks to all the refactorings we now have the ability to enforce
reasonable limitations on the amount of resources any individual
compile or test can consume. Those limits are currently:

- `-C 8` seconds of 3.1ghz CPU time
- `-M 256mebibytes` of virtual memory
- `-F 100megabyte` limit on file size

Only one file currently needs to exceed these limits:

    o/$(MODE)/third_party/python/Objects/unicodeobject.o: \
        QUOTA += -C16  # overrides cpu limit to 16 seconds

This change introduces a new sizetol() function to LIBC_FMT for parsing
byte or bit size strings with Si unit suffixes. Functions like atoi()
have been rewritten too.
2021-08-13 23:40:53 -07:00
..
bingblit.c Change license 2020-12-27 17:18:44 -08:00
filecmp.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
makedirs.c Normalize mkdir() error codes 2021-01-29 21:21:06 -08:00
replaceuser.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
rmrf.c Add exponential backoff to rmdir() on Windows 2021-01-29 21:48:40 -08:00
tunbing.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
unbingbuf.c Change license 2020-12-27 17:18:44 -08:00
unbingstr.c Change license 2020-12-27 17:18:44 -08:00
utf8toutf16.c Improve backwards compatibility with GNU Make 2021-05-02 07:48:59 -07:00
utf16toutf8.c Improve backwards compatibility with GNU Make 2021-05-02 07:48:59 -07:00
x.h Update curl example to support ssl / https 2021-07-06 13:39:18 -07:00
x.mk Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
xasprintf.c Change license 2020-12-27 17:18:44 -08:00
xbarf.c Change license 2020-12-27 17:18:44 -08:00
xcalloc.c Change license 2020-12-27 17:18:44 -08:00
xdie.c Change license 2020-12-27 17:18:44 -08:00
xdirname.c Change license 2020-12-27 17:18:44 -08:00
xdtoa.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
xdtoaf.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
xdtoal.c Make pow() conform to standard definition 2021-03-03 09:21:27 -08:00
xgetline.c Improve backwards compatibility with GNU Make 2021-05-02 07:48:59 -07:00
xjoinpaths.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
xmalloc.c Change license 2020-12-27 17:18:44 -08:00
xmemalign.c Change license 2020-12-27 17:18:44 -08:00
xmemalignzero.c Change license 2020-12-27 17:18:44 -08:00
xrealloc.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
xsigaction.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
xslurp.c Update curl example to support ssl / https 2021-07-06 13:39:18 -07:00
xstrcat.c Add help dialog to Blinkenlights emulator 2021-02-19 17:16:17 -08:00
xstrdup.c Change license 2020-12-27 17:18:44 -08:00
xstrmul.c Change license 2020-12-27 17:18:44 -08:00
xstrndup.c Change license 2020-12-27 17:18:44 -08:00
xvalloc.c Change license 2020-12-27 17:18:44 -08:00
xvasprintf.c Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
xwrite.c Change license 2020-12-27 17:18:44 -08:00