Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-16 | statvfs support | Otto Moerbeek | |
2008-03-15 | - len is size_t, but n uses len and is an int. Matching those types | Ray Lai | |
should be good, plus it prevents weird things from happening if len > INT_MAX. - Since n is now size_t, compare it against 0 instead of >= 0. - temp is used to store individual bytes, so use char instead (matches fp and tp). - millert noted that the comma operator may not guarantee order of execution, so replace with semicolons. Found by lint, OK millert. | |||
2008-03-15 | Convert c to unsigned char, like it says in the manual. Also add | Ray Lai | |
cast to make it explicit. Found by lint, OK millert. | |||
2008-03-15 | Repair the simple cases for msg_controllen where it should just be | Theo de Raadt | |
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer | |||
2008-03-13 | Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to | Theo de Raadt | |
an extensive discussion with otto, kettenis, millert, and hshoexer | |||
2008-02-26 | fix memory leak (in one case of unaligned buffers); from Markus Kvetter | Theo de Raadt | |
ok markus | |||
2008-02-25 | Have cfmakeraw() also reset VMIN and VTIME to their default values; | Theo de Raadt | |
ok kettenis miod | |||
2008-02-23 | if the first call to allocset() fails, the second might deref a NULL | Otto Moerbeek | |
pointer, so add a safety-net. From Gianluigi Tiesi via Torok Edwin. ok chl@ millert@ | |||
2008-02-22 | fix rwlocks to work with the "initialized" form, from Philip Guenther | Ted Unangst | |
2008-02-20 | use pgfree pool like other code does to reserve free list slots. | Otto Moerbeek | |
prevents a few "cannot free mem because i need mem to free mem" scenarios (one found by weingart@). ok weingart@ millert@ miod@ | |||
2008-02-13 | The digest in the example seems to have been generated | Artur Grabowski | |
by code that does not do zero padding. The example code does. Fix. millert@ ok | |||
2008-02-11 | bump Mdocdate for pages committed in "febuary", necessary because | Jason McIntyre | |
of a typo in rcs.c; | |||
2008-02-09 | Mention new HW_PHYSMEM64 and HW_USERMEM64 variables. Mark HW_PHYSMEM and | Mark Kettenis | |
HW_USERMEM as deprecated and point people towards HW_PHYSMEM64/HW_USERMEM64. | |||
2008-02-05 | Move carp load balancing (ARP/IP) to a simpler configuration scheme. | Marco Pfatschbacher | |
Instead of using the same IP on multiple interfaces, carp has to be configured with the new "carpnodes" and "balancing" options. # ifconfig carp0 carpnodes 1:0,2:100,3:100 balancing ip carpdev sis0 192.168.5.50 Please note, that this is a flag day for anyone using carp balancing. You'll need to adjust your configuration accordingly. Addititionally this diff adds IPv6 NDP balancing support. Tested and OK mcbride@, reyk@. Manpage help by jmc@. | |||
2008-02-02 | Relocate internal pipe file descriptor if newfd collides with it. Fixes | Kurt Miller | |
bsd_auth(2) issue when compiled with threads. Reported by Joachim Wieland <joachim.wieland at credativ.de>. okay otto@ marc@ | |||
2008-01-29 | More read/write result checking fixes to avoid unsigned comparisons vs | Kenneth R Westerback | |
-1. ok henning@ beck@ ray@ | |||
2008-01-28 | Properly align stack such that code that uses SSE2 instructions doesn't crash. | Mark Kettenis | |
ok espie@, beck@ | |||
2008-01-23 | - add missing libc locking functions for _thread_atexit_lock() and | Kurt Miller | |
_thread_atexit_unlock(). okay tedu@ | |||
2008-01-17 | Use TCSAFLUSH instead of TCSANOW when turning echo back on so that | Todd C. Miller | |
there is no chance of output that was written but still pending to be displayed. This is what the original getpass(3) did. | |||
2008-01-07 | update to tzcode2007k from elsie.nci.nih.gov | Todd C. Miller | |
2008-01-05 | no more need for vadvise.o | Theo de Raadt | |
2008-01-05 | crank libc and libpthread, because libc cannot build lint libraries anymore ↵ | Theo de Raadt | |
if a syscall is OBSOL.. | |||
2008-01-01 | - make arc4random*() functions thread safe. Use a custom spinlock function | Kurt Miller | |
instead of the generic pthread macros since free(3) uses __arc4_getbyte() when freeing small sized allocations and the generic pthread macros call malloc(3). - eliminate passing pointers to a static variable with global scope (rs) for additional code clarity and reduction. - shlib minor bumps for libc and libpthread due to new functions. From andreas@ with some bits from me. okay tedu@ marc@ w/some spot checking from millert@ | |||
2007-12-29 | update to tzcode2007j from elsie.nci.nih.gov; mostly ANSIfication | Todd C. Miller | |
2007-12-13 | implement sysctls to report IP, TCP, UDP, and ICMP statistics and | Reyk Floeter | |
change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@ | |||
2007-12-09 | correct the STANDARDS section to mention clock_getres() instead of | Brad Smith | |
clock_setres(). ok jmc@ dlg@ | |||
2007-11-28 | %hhd was being printed as if %hd was specified | Theo de Raadt | |
ok millert tedu | |||
2007-11-28 | remove unused function | Charles Longeau | |
ok otto@ | |||
2007-11-27 | typos; ok jmc@ | Martynas Venckus | |
sys/dev/pci/pciide.c from naddy@ | |||
2007-11-26 | make popen/pclose thread safe. closes library/5634. from and okay andreas@ | Kurt Miller | |
2007-11-26 | typos; ok jmc@ | Martynas Venckus | |
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@ | |||
2007-11-24 | fix yacc/lex parallel file generation | Marc Espie | |
2007-11-20 | make pthread vfork() not call fork(), but actually call vfork(). our | Theo de Raadt | |
vfork() has only one semantic: "parent stalls until child does execve or exit" and no other semantic. it is unfair to act as if pthread vfork() suddenly lacks that semantic. ok kurt millert kettenis beck | |||
2007-11-19 | copy in FILES from pw_lock.3 to vipw.8: as nick points out, it should at | Jason McIntyre | |
least document /etc/ptmp; while i'm at it, might as well tidy it up and make it consistent across these pages; | |||
2007-11-19 | remove unused zero length file. | Kurt Miller | |
2007-11-19 | fix misleading comment; the _MUTEX_LOCK/_MUTEX_UNLOCK macros work with | Kurt Miller | |
both static and non-static mutexs. | |||
2007-11-17 | "arm" is not a valid .Dt arch; remove it, as this page is for both | Jason McIntyre | |
armish and zaurus quote >9 args to .Nd | |||
2007-11-13 | Put limits.h in front of stdlib.h as style(9) recommends. | Tobias Stoeckmann | |
OK millert@ | |||
2007-11-12 | this is the recording source. rename 'source' to 'recsource' and be | Jacob Meuser | |
sure to only use 'record.source' instead of possibly 'inputs.source'. | |||
2007-11-12 | implement SNDCTL_DSP_GETODELAY | Jacob Meuser | |
bump minor version ok deanna@ | |||
2007-11-11 | strtod may return HUGE_VAL on overflow, which is defined in math.h. | Tobias Stoeckmann | |
Therefore added math.h to SYNPOSIS. OK millert@ | |||
2007-11-09 | Stash value of log_tag before calling closelog_r() and restore it after. | Todd C. Miller | |
When closelog() was modified to clear log_tag it inadvertantly made syslog_r() (which calls closelog_r at the end) clear log_tag as well. OK miod@ dhartmei@ | |||
2007-11-06 | fix format string | Charles Longeau | |
ok ray@ gilles@ | |||
2007-11-06 | malloc/memset -> calloc | Charles Longeau | |
ok ray@ | |||
2007-11-06 | - when we need to do both AUDIO_SETINFO and AUDIO_GETINFO to emulate | Jacob Meuser | |
a single OSS ioctl, return the return value and errno from from AUDIO_SETINFO if there was an error, since it's more informative than the return value and errno from AUDIO_GETINFO. also, don't bail if AUDIO_SETINFO fails, because OSS ioctls should return the current value of the parameter they are setting, even if there was an error. - avoid a possible (though highly unlikely) divide by zero in SNDCTL_DSP_GET[IO]SPACE. ok ratchov@ | |||
2007-11-05 | sync the comments for struct stat w/ <sys/stat.h>; | Jason McIntyre | |
2007-11-05 | - sync the error descriptions w/ those in errlist | Jason McIntyre | |
- escape "No" incase groff thinks it's a macro call | |||
2007-11-02 | Simplify some of the logic in fts_close(). Initially based on a | Todd C. Miller | |
diff from chl@. OK otto@ and chl@. | |||
2007-11-01 | Fix waitpid() idiom. Noticed by deraadt@ | Todd C. Miller | |
2007-10-31 | Add parentheses to avoid warning: | Charles Longeau | |
"suggest parentheses around && within ||" ok millert@ |