Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-12 | fix typo in _telldir_unlocked function prototype, to avoid warning. | Charles Longeau | |
while there, put all function prototypes in header file. ok kurt@ | |||
2007-10-11 | use RRSIG instead of SIG for DNSSEC. ok djm@ | Jakob Schlyter | |
2007-10-10 | add a proper test around allocset | Charles Longeau | |
use a simpler way to allocated memory in allocset, mostly done by replacing malloc/realloc dance, by only one realloc add comments about variables that are not used uninitialized, even if gcc told the contrary another malloc/realloc -> realloc change Work initially started by otto@, and then I joined him ok otto@ ray@ | |||
2007-10-10 | Replace use of strcpy(3) and other pointer goo in | Moritz Jodeit | |
SSL_get_shared_ciphers() with strlcat(3). ok deraadt@ markus@ | |||
2007-10-10 | Make context switching much more MI: | Artur Grabowski | |
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok | |||
2007-10-08 | add a RETURN VALUES section. | Pierre-Yves Ritschard | |
ok jmc@ | |||
2007-10-08 | attribute packed -> __packed | Gilles Chehade | |
OK millert | |||
2007-10-08 | - make SNDCTL_DSP_GETOSPACE much more efficient by using AUDIO_GETPRINO | Jacob Meuser | |
instead of AUDIO_GETINFO - make SNDCTL_DSP_GETISPACE return correct values by using AUDIO_GETRRINFO instead of AUDIO_GETINFO - remove calls to setblocksize() from SNDCTL_DSP_GET[IO]SPACE. changing the blocksize inside play or record loops, where these ioctls are most often used, can have serious negative consequences. the blocksize should be "fixed" to a power of 2 before these ioctls are called by using SNDCTL_DSP_SETFRAGMENT or SNDCTL_DSP_GETBLKSIZE. heavily tested by myself. no negative feedback from anyone else. ok ratchov | |||
2007-10-04 | update to tzcode2007h from elsie.nci.nih.gov | Todd C. Miller | |
2007-10-02 | fix a libpthread PANIC in seekdir(3) caused by a recursive mutex lock. | Kurt Miller | |
remove the recursive lock in __seekdir() and ensure all callers properly lock dd_lock prior to calling. reported and tested by bernd@ okay marc@ tedu@ | |||
2007-09-28 | implement SNDCTL_DSP_[G|S]ETTRIGGER | Jacob Meuser | |
SNDCTL_DSP_SETTRIGGER is used to pause and unpause recording and playback data transfers. SNDCTL_DSP_GETTRIGGER returns the paused states. this implementation of SNDCTL_DSP_SETTRIGGER also sets the audio(4) mode (AUMODE_[PLAY|RECORD]), depending on which direction (play, record or both) is to be triggered. this can be used allow OSS audio programs to work in full-duplex mode without changing the audio(4) layer itself. according to OSS docs, SNDCTL_DSP_SETTRIGGER is a fairly important ioctl, and should be used "when even the first read() cannot block." tested to not break any ports currently using SNDCTL_DSP_SETTRIGGER which has been a no-op for quite some time. ok ratchov | |||
2007-09-27 | Fix off-by-one buffer overflow in SSL_get_shared_ciphers(). | Moritz Jodeit | |
From OpenSSL_0_9_8-stable branch. ok djm@ | |||
2007-09-27 | strtol -> strtonum | Bret Lambert | |
assign values to struct members directly remove now-unused variable ok otto@ ok & input millert@ | |||
2007-09-25 | tweak previous; ok claudio henning | Jason McIntyre | |
2007-09-24 | updatecomment and manpage toemtion optional seventh level (rtable id) | Henning Brauer | |
From: Pierre Riteau <pierre.riteau@free.fr> | |||
2007-09-21 | Add some more truncation checks for path construction in tmpnam(3). | Moritz Jodeit | |
ok ray@ | |||
2007-09-19 | add HISTORY; shortened version of diff from Ilya A. Kovalenko | Jason McIntyre | |
ok millert | |||
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-09 | comment inside comment | Theo de Raadt | |
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-03 | malloc(n * m) -> calloc(n, m); ok espie | Theo de Raadt | |
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-08-30 | Update to expat 2.0.1. ok deraadt@ | Matthieu Herrb | |
2007-08-22 | Update to tzcode2007f grom elsie.nci.nih.gov; no actual code changes | Todd C. Miller | |
2007-08-21 | http://openssl.org/news/patch-CVE-2007-3108.txt; ok pval, deraadt | Markus Friedl | |
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. |