Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-22 | whatever happened, i cannot explain it. rollback my stupid | Federico G. Schwindt | |
good-for-nothing commit. my apologies. | |||
2003-06-22 | fix prototype; from Pedro Bastos. | Federico G. Schwindt | |
2003-06-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-11 | ansification; checked by pval | Theo de Raadt | |
2003-06-10 | Remove an extraneous "& 0xff" (the cast to unsigned char is sufficient). | Todd C. Miller | |
Use "extern __inline" instead of "static __inline" since the extern flavor behaves more like a macro (which is what we want). OK deraadt@ and tested on all platforms by various folks. | |||
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-30 | - correct macro usage | Jason McIntyre | |
- section reorder | |||
2003-05-30 | - clean up macro abuse | Jason McIntyre | |
- section reorder - merge COMPATIBILITY | |||
2003-05-19 | Make sure our return value is withing the range 20 - -20 (aka NZERO - -NZERO). | Todd C. Miller | |
We could use an extra call to getpriority() instead but it's faster to just do the bounds check in userland. | |||
2003-05-19 | Explicitly state that priority values outside the range -20 to 20 are | Todd C. Miller | |
truncated to the appropriate limit. | |||
2003-05-14 | sync vis() behaviour when VIS_SAFE to man page: don't do anything if isgraph() | Paul Janzen | |
is true, even if the character isn't 7-bit. | |||
2003-05-12 | cpu -> CPU | Jason McIntyre | |
2003-05-11 | Document \s | Paul Janzen | |
2003-05-03 | typos; | Jason McIntyre | |
ok millert@ | |||
2003-05-02 | Add Doug Gwyn's portable alloca() for platforms w/o an assembler | Todd C. Miller | |
version. Normally, gcc provides its own alloca() (unless -fno-builtin is specified). The C version is decidedly suboptimal--we really need proper assembler versions but this will work as a stop-gap measure. | |||
2003-05-01 | add missing enumeration case to select to kill gcc warning | Anil Madhavapeddy | |
millert@ ok | |||
2003-04-30 | typos; | Jason McIntyre | |
2003-04-25 | Document hw.sensors | Alexander Yurchenko | |
2003-03-31 | Rewritten setuserpath() that is much clearer and uses strlcpy() | Todd C. Miller | |
for added paranoia. tdeval@ and mpech@ OK | |||
2003-03-17 | some small typos; | Jason McIntyre | |
2003-03-10 | duplicate words and spelling fixes in comments | David Krause | |
ok miod@ | |||
2003-03-06 | .Xr typos; | Jason McIntyre | |
2003-03-06 | .Xr's; | Jason McIntyre | |
typos in man page section ok deraadt@ | |||
2003-02-27 | missed in the math man page cleanup | Jason Wright | |
2003-02-27 | correctly check the return value of send(). fixes LOG_CONS from always | Dan Harnett | |
logging to the console. ok millert@ | |||
2003-02-24 | of of | Theo de Raadt | |
2003-02-24 | the the | Theo de Raadt | |
2003-02-24 | need stdlib.h too | Theo de Raadt | |
2003-02-17 | minor KNF | Todd C. Miller | |
2003-02-07 | Don't write log message to console unless we are unable to connect to | Todd C. Miller | |
syslogd. Noticed by marc@; OK by marc@ and deraadt@ | |||
2003-02-03 | some more functions that are (only on OpenBSD) safe in signal handlers. | Theo de Raadt | |
not having access to these makes things really painful | |||
2003-01-21 | kern.watchdog; ok mickey@ | Markus Friedl | |
2003-01-20 | Don't reconnect to logging socket if send() returns an error and errno | Todd C. Miller | |
== ENOBUFS, there is no point and it hurts chroot'ed processes. Don't return immediately from syslog_r() when the send(), we may have more work to do. deraadt@ OK | |||
2003-01-19 | programs that chroot must use LOG_NDELAY; deraadt@ OK | Todd C. Miller | |
2003-01-07 | Better have an OpenBSD static rcsid rather than a NetBSD static rcsid for | Miod Vallat | |
this file... | |||
2003-01-04 | spelling | Theo de Raadt | |
2003-01-02 | Handle things like "%%m" correctly; closes PR 3057 | Todd C. Miller | |
OK miod@ | |||
2002-12-31 | Catch EISDIR in execvp() and friends so that if a directory appears | Todd C. Miller | |
in PATH that matches the name to be executed we skip it; Andy Isaacson | |||
2002-12-17 | Make SysV-style shared memory and semaphore limits sysctl'able. | Todd C. Miller | |
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit. | |||
2002-12-15 | Casting to unsigned int in isfoo() causes problems on alpha and | Todd C. Miller | |
sparc64. Change cast back to unsigned char but do a bitwise AND with 0xff to avoid any sign extension weirdness and to make it impossible for us to overflow _C_ctype_. The bitwise AND is probably not needed and may be removed later if this does not trigger compiler bugs. | |||
2002-12-15 | more writeable -> writable by torh | Henning Brauer | |
2002-12-14 | Instead of doing "if (c == EOF) return 0;" use the hook ('?') operator | Todd C. Miller | |
instead to make these one-liners. Works around a compiler bug on vax that affects both the libc and inline versions identically. | |||
2002-12-13 | Less stupid check for 7-bit ascii in toupper/tolower | Todd C. Miller | |
Remove useless check for EOF in isascii | |||
2002-12-13 | Cast to unsigned int, not unsigned char, since what is being cast is an | Todd C. Miller | |
int, not a char. | |||
2002-12-11 | Convert ctype.h macros into inline functions. This fixes the issues we | Todd C. Miller | |
currently have with the macro versions and makes the ctype.h versions 100% identical to what is in libc. Discussed with pjanzen@ and OK'd by deraadt@. | |||
2002-11-25 | Mention the net.inet.tcp.ecn sysctl. | Wilbern Cobb | |
ok kjc@ | |||
2002-11-24 | Fix comment: s/trailing NULL/trailing NUL/, no code changes. | Chad Loder | |
2002-11-24 | Fix instance where syslog(3) after closelog(3) could access freed log | Chad Loder | |
tag name. OK millert@, deraadt@ | |||
2002-11-22 | Initialize status to zero before calling waitpid(). That way, if | Todd C. Miller | |
there is nothing to be waited for (for instance if SIGCHLD is being ignored) we don't check WIFEXITED(garbage off the stack). |