Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-17 | Fix comment typos; ok ray@, jmc@ | Bret Lambert | |
2007-09-17 | Prevent out-of-bounds memory access in tempnam(3), if the environment | Moritz Jodeit | |
variable TMPDIR or the argument `dir' is an empty string. With and ok millert@ ray@ | |||
2007-09-17 | Check snprintf(3) return value for error or truncation. | Moritz Jodeit | |
Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@ | |||
2007-09-16 | for get the flags arg must be 0; from Tamas TEVESZ; ok millert@ | Otto Moerbeek | |
2007-09-12 | Remove wrong snprintf(3) truncation checks, which can't be | Moritz Jodeit | |
triggered and are off-by-one anyways. Instead replace them with correct checks and add all the missing cases. ok deraadt@ | |||
2007-09-10 | Proper use of fseek/fseeko macros. | Tobias Stoeckmann | |
OK joris@, otto@ | |||
2007-09-09 | Add lint stubs for the longjmp family of functions which are defined in | Otto Moerbeek | |
assembly on all platforms. ok deraadt@ | |||
2007-09-09 | Silence erroneous "environ used, but not defined" lint warning by | Otto Moerbeek | |
providing a stub. ok deraadt@ | |||
2007-09-08 | typo; ok deraadt@ | Otto Moerbeek | |
2007-09-08 | it's MAXNAMLEN, not MAXNAMELEN; spotted by Igor Zinovi. | Otto Moerbeek | |
2007-09-07 | IPv6 is not an ARPA protocol; | Jason McIntyre | |
from Robert Elz, netbsd-bugs pr#36933 ok otto deraadt | |||
2007-09-07 | Say NUL when referring to \0 | Chad Loder | |
2007-09-06 | _xpg4_setrunelocale() returns an errno(2) value in the failure | Moritz Jodeit | |
case and 0 if the locale was found. So checking against -1 makes no sense. ok millert@ | |||
2007-09-05 | Add missing header to avoid warning | Charles Longeau | |
ok millert@ ray@ | |||
2007-09-05 | Fix debugging code, which tried to print the netgroup name | Moritz Jodeit | |
using the return value of _ng_print(), which returns void. ok millert@ | |||
2007-09-05 | no need to talk about bits; ok millert jmc | Theo de Raadt | |
2007-09-03 | Update free(3) section--we use mmap()/munmap(), not brk(). | Todd C. Miller | |
Based on a diff from Mike Belopuhov. OK jmc@ | |||
2007-09-03 | remove trailing whitespace; | Jason McIntyre | |
2007-09-03 | crank libc and libstdc++ majors | Todd C. Miller | |
2007-09-03 | Add __cxa_atexit() support for gcc3. This provides support for shared ↵ | Todd C. Miller | |
object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD. | |||
2007-09-03 | Add ENOMSG and EIDRM; from jsg@ | Todd C. Miller | |
2007-09-03 | add recaloc(3) | Todd C. Miller | |
2007-09-03 | add memrchr(3) | Todd C. Miller | |
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-08-22 | Update to tzcode2007f grom elsie.nci.nih.gov; no actual code changes | Todd C. Miller | |
2007-08-14 | 'shall be' was changed to 'is' in sysctl.3#rev1.164, now let's change it to ↵ | Constantine A. Murenin | |
'are'; ok jmc@; approved deraadt@ | |||
2007-08-08 | Let realloc handle NULL. Initial diff from Charles Longeau. | Ray Lai | |
OK millert and jaredy. | |||
2007-08-08 | Clarify the example about avoiding overflow. OK ray@ deraadt@ | Todd C. Miller | |
2007-08-08 | Show how to use strcspn(3) to trim newlines. | Ray Lai | |
OK jmc and millert. | |||
2007-08-08 | realloc can handle NULL values. From Charles Longeau. | Ray Lai | |
OK jaredy. | |||
2007-08-07 | Let realloc handle NULL pointers, plus a spacing fix. | Ray Lai | |
OK millert and moritz. | |||
2007-08-05 | /*FALLTHRU*/ -> /* FALLTHROUGH */ | Ray Lai | |
2007-07-21 | - this page describes getpgid.2 too | Jason McIntyre | |
- describe when "pid" is zero; from Kristaps Dzonsons ok millert | |||
2007-07-19 | kern.timecounter.timestepwarnings may be altered; from Kristaps Dzonsons | Jason McIntyre | |
2007-07-17 | document "pid"; based on a diff from Kristaps Dzonsons | Jason McIntyre | |
ok otto | |||
2007-07-16 | HW_SENSORS was never really a 'struct', and nowadays it is definitely a 'node' | Constantine A. Murenin | |
2007-07-16 | under HW_SENSORS, mention <sys/sensors.h>, similarly to KERN_SYSVIPC.*; ok jmc | Constantine A. Murenin | |
2007-07-15 | fix typo: s/sensorsdev/sensordev/ | Constantine A. Murenin | |
2007-07-11 | add a STANDARDS section, as requested by itojun; | Jason McIntyre | |
ok otto | |||
2007-07-06 | Reference limits.h, not sys/param.h since we document using PATH_MAX | Todd C. Miller | |
OK otto@ | |||
2007-07-03 | from Nicholas Marriott: | Jason McIntyre | |
ttyname_r returns an error number, rather than setting errno. ok millert | |||
2007-07-03 | from ginsbach@netbsd, -r1.18: | Jason McIntyre | |
Document that getopt_long(3) can and will accept unique abbreviated long option names. This feature has been present since getopt_long(3) was first released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior. ok millert | |||
2007-06-30 | Update to tzcode2007f from elsie.nci.nih.gov | Todd C. Miller | |
2007-06-29 | Document behavior when no conversion could be performed. Adapted | Todd C. Miller | |
from FreeBSD. With help from jmc@. | |||
2007-06-26 | It seems st_size is not always a good estimator for the number of | Ray Lai | |
directory entries. ZFS, for instance, sets st_size to the number of entries. Use the same algorithm for the initial estimate but keep a minimum to prevent a divide by zero. When the buffer is filled, instead of re-using the same flawed algorithm, double the buffer size. Also add check for integer overflow. Bug reported by Ed Ravin, ZFS testing environment provided by Bryan Allen. OK millert | |||
2007-06-21 | The `len' argument is guaranteed to be > 0 upon successful completion. | Moritz Jodeit | |
ok jmc@ ray@ millert@ | |||
2007-06-12 | ``dot'' notation | Jason McIntyre | |
is more readable than `.' notation zap some silly .Tn whilst here; | |||
2007-06-11 | Document the Bluetooth network protocols and mention that there is AF_BLUETOOTH | Uwe Stuehler | |
2007-06-07 | convert some displays to lists, since the format is more suitable; | Jason McIntyre | |
plus a little cleanup; | |||
2007-06-05 | _FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, so | Kurt Miller | |
isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@ |