Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Whoops, add missing #ifdef REPLACE_GETOPT | millert | 2002-12-03 | 1 | -2/+4 | |
| | ||||||
* | fix typo | millert | 2002-12-03 | 1 | -1/+1 | |
| | ||||||
* | GNU-like getopt_long() from NetBSD with changes by me to support | millert | 2002-12-03 | 3 | -8/+845 | |
| | | | | | | | | getopt_long_only(). At some point this should replace the BSD getopt(3) but we are not there yet. While I am here add protection from the multiple getopt() definitions due to conflicting standards. | |||||
* | Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code. | millert | 2002-12-02 | 5 | -9/+396 | |
| | ||||||
* | Honour malloc_junk ('J') with realloc(3), and fix page_dir shrink update. | tdeval | 2002-11-27 | 1 | -6/+11 | |
| | ||||||
* | Warn if atexit(3) fails. Change some tabs to spaces. Use | cloder | 2002-11-25 | 1 | -5/+5 | |
| | | | | | | STDERR_FILENO instead of 2. OK millert@ | |||||
* | .Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page. | millert | 2002-11-21 | 4 | -9/+26 | |
| | ||||||
* | Take advantage of the libc minor bump and add atoll(3) | millert | 2002-11-21 | 3 | -7/+125 | |
| | ||||||
* | thread safe libc -- 2nd try. OK miod@, millert@ | marc | 2002-11-05 | 2 | -53/+14 | |
| | | | | Thanks to miod@ for m68k and vax fixes | |||||
* | back out previous patch.. there are still some vax/m68k issues | marc | 2002-11-03 | 2 | -14/+53 | |
| | ||||||
* | libc changes for thread safety. Tested on: | marc | 2002-11-03 | 2 | -53/+14 | |
| | | | | | | | alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way. | |||||
* | Move __cleanup into mprotect'ed page to prevent unintentional modifications | dhartmei | 2002-09-14 | 3 | -17/+70 | |
| | | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@ | |||||
* | missing include, ok theo | henning | 2002-09-06 | 1 | -1/+2 | |
| | ||||||
* | re-enable function pointer table protection, this time make sure that | dhartmei | 2002-08-30 | 3 | -71/+92 | |
| | | | | | malloc.c gets the first mmap() call (since it depends on that, for its sbrk(0) use). ok deraadt@ | |||||
* | Suggest better types in examples; from NetBSD | miod | 2002-08-19 | 1 | -2/+2 | |
| | ||||||
* | Back it out, it breaks something in perl (seen with spamassassin), debug | dhartmei | 2002-07-31 | 3 | -87/+71 | |
| | | | | first. | |||||
* | permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing; ↵ | deraadt | 2002-07-31 | 1 | -2/+2 | |
| | | | | markus miod ok | |||||
* | return failure if integer overflow happens. sigh; too people had to | deraadt | 2002-07-30 | 1 | -1/+7 | |
| | | | | help get this right. | |||||
* | Replace atexit handler. mprotect() the pages so an attempt to modify the | dhartmei | 2002-07-29 | 3 | -71/+87 | |
| | | | | | function pointers from the outside will segfault. Idea, hints and feedback from deraadt. ok deraadt. | |||||
* | Replace strtou?q() with the more standard strtou?ll(), using weak | millert | 2002-06-29 | 5 | -42/+108 | |
| | | | | aliases to fake up strtou?q(). espie@ OK. | |||||
* | unsigned vs unsigned int | deraadt | 2002-05-27 | 1 | -3/+3 | |
| | ||||||
* | pid_t cleanup | deraadt | 2002-05-26 | 1 | -3/+3 | |
| | ||||||
* | try to use strlcpy and snprintf more; ok various | deraadt | 2002-05-24 | 1 | -3/+3 | |
| | ||||||
* | Initial cleanup: | mpech | 2002-04-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok | |||||
* | deraadt@ objects to the caveat remark, so remove it. | miod | 2002-02-23 | 1 | -11/+1 | |
| | ||||||
* | Slightly improve wording and punctuation. | miod | 2002-02-23 | 1 | -4/+4 | |
| | ||||||
* | Add a caveat section pointing out that people affecting the return value | miod | 2002-02-23 | 1 | -5/+13 | |
| | | | | | | | | of getopt() to char variables instead of int lose on arches where char is unsigned by default. Clean the example by not pasting parts of <unistd.h> into it, and by not using atoi(3). | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | millert | 2002-02-19 | 2 | -10/+3 | |
| | ||||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | millert | 2002-02-17 | 3 | -8/+8 | |
| | | | | outside the tree) | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 9 | -22/+22 | |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||||
* | THREAD_UNLOCK() on error before returning; millert@ ok. | fgsch | 2002-01-23 | 1 | -1/+3 | |
| | ||||||
* | If the user passes in "" as the string to resolve the lstat() will | millert | 2002-01-12 | 1 | -2/+6 | |
| | | | | | | fail anyway so check for that. Also convert "." to "" since that way we avoid the lstat() (which we don't need) and the subsequent chdir() and some dir checks. | |||||
* | Two functions can return errors here, not just one. | miod | 2001-12-29 | 1 | -2/+4 | |
| | ||||||
* | alloca cannot check if the allocation is valid. mention the consequences; ↵ | deraadt | 2001-12-06 | 1 | -1/+13 | |
| | | | | millert ok | |||||
* | correct an alignment mis-conception for malloc(0) returned regions. | tdeval | 2001-12-05 | 1 | -14/+25 | |
| | | | | OK deraadt@ | |||||
* | document how malloc(0) blobbies are stored, and their character | deraadt | 2001-12-05 | 1 | -1/+6 | |
| | ||||||
* | Comment out info on U (utrace) malloc option since we don't support it | millert | 2001-11-05 | 1 | -8/+8 | |
| | | | | on OpenBSD. | |||||
* | remove dangling spaces and tabs | mickey | 2001-11-01 | 1 | -16/+16 | |
| | ||||||
* | Grammar. Thanks markus@ | tdeval | 2001-10-30 | 1 | -2/+2 | |
| | ||||||
* | mprotect allocations sized at 0 bytes. This will cause a fault for access | tdeval | 2001-10-30 | 2 | -37/+50 | |
| | | | | | to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, written by tdeval. | |||||
* | fix docs; tedu@heorot.stanford.edu | deraadt | 2001-10-29 | 1 | -7/+3 | |
| | ||||||
* | Initial idea from aaron@: Last char of .Xr group in SEE ALSO section should | mpech | 2001-09-06 | 1 | -2/+2 | |
| | | | | | | be a single digit. Powered by mantoya@. millert@ ok. | |||||
* | Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵ | millert | 2001-09-04 | 1 | -6/+8 | |
| | | | | POSIX counterparts. | |||||
* | #(endif|else) foo is incorrect, make it #endif /* foo */ | heko | 2001-08-12 | 1 | -5/+5 | |
| | | | | deraadt@ ok | |||||
* | o) We always close .Bl and .Bd tags; | mpech | 2001-08-06 | 2 | -4/+3 | |
| | | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok | |||||
* | clean up. | mpech | 2001-07-27 | 1 | -2/+2 | |
| | | | | millert@ ok | |||||
* | a first pass at -Wall | deraadt | 2001-07-09 | 2 | -9/+10 | |
| | ||||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | 2001-06-27 | 1 | -3/+2 | |
| | ||||||
* | remove confusing comparison with srand (it does not return the old seed) | assar | 2001-06-09 | 1 | -11/+3 | |
| | | | | use .Sh AUTHORS and .An for author | |||||
* | unsigned -> unsigned int; grange@rt.mipt.ru | millert | 2001-05-13 | 1 | -2/+2 | |
| |