mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 12:18:31 +00:00
Fix bugs and add security features to redbean
- Fix a regression with the previous change that broke redbean - Add chroot(), resource limit, seccomp, and other stuff to redbean - Write lots and lots of documentation - Iron out more system call issues
This commit is contained in:
parent
f1dfa4bdfa
commit
7166679620
182 changed files with 1855 additions and 918 deletions
15
third_party/infozip/zip/unix/unix.c
vendored
15
third_party/infozip/zip/unix/unix.c
vendored
|
@ -45,21 +45,6 @@ local time_t label_utim = 0;
|
|||
/* Local functions */
|
||||
local char *readd OF((DIR *));
|
||||
|
||||
|
||||
#ifdef NO_DIR /* for AT&T 3B1 */
|
||||
#ifndef dirent
|
||||
# define dirent direct
|
||||
#endif
|
||||
typedef FILE DIR;
|
||||
/*
|
||||
** Apparently originally by Rich Salz.
|
||||
** Cleaned up and modified by James W. Birdsall.
|
||||
*/
|
||||
|
||||
#define closedir(dirp) fclose(dirp)
|
||||
#endif /* NO_DIR */
|
||||
|
||||
|
||||
local char *readd(d)
|
||||
DIR *d; /* directory stream to read from */
|
||||
/* Return a pointer to the next name in the directory stream d, or NULL if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue