mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-08 15:33:33 +00:00
- 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
31 lines
962 B
C
31 lines
962 B
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_
|
|
|
|
#define IN_ACCESS 1
|
|
#define IN_ALL_EVENTS 0x0fff
|
|
#define IN_ATTRIB 4
|
|
#define IN_CLOEXEC 0x080000
|
|
#define IN_CLOSE 24
|
|
#define IN_CLOSE_NOWRITE 0x10
|
|
#define IN_CLOSE_WRITE 8
|
|
#define IN_CREATE 0x0100
|
|
#define IN_DELETE 0x0200
|
|
#define IN_DELETE_SELF 0x0400
|
|
#define IN_DONT_FOLLOW 0x02000000
|
|
#define IN_EXCL_UNLINK 0x04000000
|
|
#define IN_IGNORED 0x8000
|
|
#define IN_ISDIR 0x40000000
|
|
#define IN_MASK_ADD 0x20000000
|
|
#define IN_MODIFY 2
|
|
#define IN_MOVE 192
|
|
#define IN_MOVED_FROM 0x40
|
|
#define IN_MOVED_TO 0x80
|
|
#define IN_MOVE_SELF 0x0800
|
|
#define IN_NONBLOCK 0x0800
|
|
#define IN_ONESHOT 0x80000000
|
|
#define IN_ONLYDIR 0x01000000
|
|
#define IN_OPEN 0x20
|
|
#define IN_Q_OVERFLOW 0x4000
|
|
#define IN_UNMOUNT 0x2000
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_ */
|