cosmopolitan/libc/log
Justine Tunney ae5d06dc53 Unbloat build config
- 10.5% reduction of o//depend dependency graph
- 8.8% reduction in latency of make command
- Fix issue with temporary file cleanup

There's a new -w option in compile.com that turns off the recent
Landlock output path workaround for "good commands" which do not
unlink() the output file like GNU tooling does.

Our new GNU Make unveil sandboxing appears to have zero overhead
in the grand scheme of things. Full builds are pretty fast since
the only thing that's actually slowed us down is probably libcxx

    make -j16 MODE=rel
    RL: took 85,732,063µs wall time
    RL: ballooned to 323,612kb in size
    RL: needed 828,560,521µs cpu (11% kernel)
    RL: caused 39,080,670 page faults (99% memcpy)
    RL: 350,073 context switches (72% consensual)
    RL: performed 0 reads and 11,494,960 write i/o operations

pledge() and unveil() no longer consider ENOSYS to be an error.
These functions have also been added to Python's cosmo module.

This change also removes some WIN32 APIs and System Five magnums
which we're not using and it's doubtful anyone else would be too
2022-08-10 04:43:09 -07:00
..
thunks Make improvements 2022-05-12 06:45:36 -07:00
addr2linepath.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
appendresourcereport.c Make improvements 2022-04-28 09:57:07 -07:00
attachdebugger.c Do code cleanup use duff device linenoise i/o 2022-04-22 18:56:52 -07:00
backtrace.internal.h Apply even more fixups 2022-06-12 11:57:00 -07:00
backtrace2.c Make more libc improvements 2022-08-06 17:18:40 -07:00
backtrace3.c Make improvements to locking 2022-06-19 01:30:12 -07:00
bsd.h Add chibicc 2020-12-06 16:20:21 -08:00
check.h Make improvements 2022-05-12 06:45:36 -07:00
checkaligned.c Make improvements 2022-05-12 06:45:36 -07:00
checkfail.c Make some touchups 2022-07-15 18:07:34 -07:00
checkfail_ndebug.c Make improvements 2022-05-12 06:45:36 -07:00
color.internal.h Make exciting improvements 2022-03-18 03:02:00 -07:00
commandvenv.c Make improvements 2022-04-28 09:57:07 -07:00
countbranch.h Make exciting improvements 2022-03-18 03:02:00 -07:00
countbranch_data.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
countbranch_report.c Unbloat build config 2022-08-10 04:43:09 -07:00
countexpr.h Make exciting improvements 2022-03-18 03:02:00 -07:00
countexpr_data.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
countexpr_report.c Make improvements 2022-04-24 10:06:05 -07:00
cxaprintexits.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
die.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
err.c Change license 2020-12-27 17:18:44 -08:00
errx.c Change license 2020-12-27 17:18:44 -08:00
flogf.c Change license 2020-12-27 17:18:44 -08:00
gdb.h Make improvements 2022-03-16 13:40:10 -07:00
gdbexec.c WIP: Correct all typos (#498) 2022-07-20 14:01:15 -07:00
gdbpath.c Change license 2020-12-27 17:18:44 -08:00
gdbsync.c Change license 2020-12-27 17:18:44 -08:00
getcallername.c WIP: Correct all typos (#498) 2022-07-20 14:01:15 -07:00
getsicodename.c Improve pledge() usability and consistency 2022-08-07 16:18:33 -07:00
getsymbolbyaddr.c Improve memory safety 2021-10-13 17:27:13 -07:00
getttycols.c Change license 2020-12-27 17:18:44 -08:00
internal.h Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
leaks.c Bump redbean to 2.0.9 2022-07-09 05:50:05 -07:00
libfatal.internal.h Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
log.h Make more libc improvements 2022-08-06 17:18:40 -07:00
log.mk Correct more typos (#500) 2022-07-21 20:53:30 -07:00
logerrno.c Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
logfile.initabi.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
loglevel.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
malloc_stats.c Improve synchronization 2022-04-15 15:31:55 -07:00
meminfo.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
memlog.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
memsummary.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
oncrash.c Always initialize thread local storage 2022-07-19 00:21:46 -07:00
oncrashthunks.S Improve pledge() usability and consistency 2022-08-07 16:18:33 -07:00
onkill.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
perror.c Unbloat build config 2022-08-10 04:43:09 -07:00
printgarbage.c Make improvements 2022-04-24 10:06:05 -07:00
printgarbagenumeric.c Remove trailing whitespace from all files (#497) 2022-07-20 20:31:16 -07:00
rop.h Further improve JSON serialization 2022-07-11 23:06:49 -07:00
showcrashreports.c Unbloat build config 2022-08-10 04:43:09 -07:00
showcrashreportsearly.S Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
startfatal.c Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
traceme.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
traceme.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
verr.c Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
verrx.c Change license 2020-12-27 17:18:44 -08:00
vflogf.c Unbloat build config 2022-08-10 04:43:09 -07:00
vwarn.c Change license 2020-12-27 17:18:44 -08:00
vwarnx.c Change license 2020-12-27 17:18:44 -08:00
warn.c Change license 2020-12-27 17:18:44 -08:00
warnx.c Change license 2020-12-27 17:18:44 -08:00