Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-19 | fix a !foo & bar. | Thordur I. Bjornsson | |
ok miod@, tedu@, pedro@ | |||
2006-05-17 | Document recent sysctl additions. | Gordon Willem Klok | |
ok jmc@, deraadt@ | |||
2006-05-15 | Adjust now that powerpc has PT_{GET|SET}FPREGS. | Mark Kettenis | |
reminded by miod@ | |||
2006-05-15 | Handle empty terminal names more gracefully. | Hugh Graham | |
Variously OK. | |||
2006-05-14 | Fix the second malloc_ulimit regression: maintaining the free list | Otto Moerbeek | |
requires memory; try to make sure we have it. If all fails, leak instead of crash. Test case originally found by cloder@, fix tested by many. | |||
2006-05-09 | The int (32bit) argument must be sign extended on the 64 bit amd64 before | Dale Rahn | |
the add. ok miod@, toby@. olrite mickey@ | |||
2006-05-09 | Administrative changes for aviion, ok deraadt@ | Miod Vallat | |
2006-05-09 | typo from jan niemann; ok otto | Jason McIntyre | |
2006-05-05 | Convert do {} while loop -> while {} for clarity. No binary change | Todd C. Miller | |
on most architectures. From Oliver Smith. OK deraadt@ and henning@ | |||
2006-04-29 | check mmap for failure. the helper functions using it return -1, but | Ted Unangst | |
callers do not yet check since printf() for example is not documented to return an error. some formatting cleanups. mostly ok deraadt millert | |||
2006-04-27 | update descriptions for DBCTL_{CONSOLE,PANIC}: they may not be raised | Jason McIntyre | |
when securelevel >0; based on a diff from nicholas marriott | |||
2006-04-25 | strtonum does not require limits.h | Ted Unangst | |
spotted by ray some time ago | |||
2006-04-24 | Do not leave an hole in the directory list if allocation of the | Otto Moerbeek | |
region succeeds, but allocation a required page dir failed. This can happen if we're really close to ulimit after allocation the region of the size requested. See malloc_ulimit1 regress test. Tested by many; thanks. | |||
2006-04-24 | Properly terminate ENTRY with a semicolon, required for asm profiling. | Dale Rahn | |
ok miod, espie | |||
2006-04-18 | delint; original from deraadt@ with fixes from tdeval@ and me; | Otto Moerbeek | |
tested by quite a few developers. ok deraadt@ | |||
2006-04-18 | Clarify strlcpy code by explicitly naming variable `len' and | Ray Lai | |
separating out each step. Inspired during miscommunication with tedu@. OK deraadt@ | |||
2006-04-17 | fix badly broken code. okay millert@, deraadt@ | Marc Espie | |
2006-04-14 | Remove str2number(), use strtonum(3) instead. | Ray Lai | |
Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@ | |||
2006-04-12 | document ESRCH; from kristaps johnson (pr #5074) | Jason McIntyre | |
description lifted from kill(2), as pointed out by deraadt ok deraadt | |||
2006-04-11 | duplicate in the safe list | Theo de Raadt | |
2006-04-10 | telldir/seekdir optimization, avoid scanning the complete list, | Otto Moerbeek | |
while still returning the correct index for seekdir(); telldir() Tested by Fred Crowson and others; "put it in" deraadt@ | |||
2006-04-09 | a few rlim_t casts, kind of ok otto and millert | Theo de Raadt | |
2006-04-04 | POSIX says tdelete() returns the parent of the deleted node. Sadly the | Otto Moerbeek | |
root node doesn't have a parent, and POSIX does not say what should be done in that case. Warn developers that different implementations may do different things. | |||
2006-04-04 | When tdelete() is used to delete the root node, don't return a | Moritz Jodeit | |
pointer to the freed root node, but return a pointer to the new root node. POSIX does not define, what should be returned in that case. Fixes Coverity CID 2528. ok millert@ otto@ | |||
2006-04-03 | a few size_t casts are needed here; ok otto | Theo de Raadt | |
2006-04-03 | be more careful with atoi() result; ok otto | Theo de Raadt | |
2006-04-02 | malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaks | Damien Miller | |
suggested by kjell@; ok otto@ pat@ millert@ jaredy@ | |||
2006-04-02 | kill atoi(), correct signedness of internal API gettype(); ok a few people | Theo de Raadt | |
2006-04-02 | Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX and | Otto Moerbeek | |
remove redundant check on size. ok millert@ deraadt@ | |||
2006-04-02 | be more careful checking for (off_t)-1 as the failure condition from | Theo de Raadt | |
lseek(), not just any old -1; ok millert | |||
2006-04-02 | sprinkle a socklen_t | Theo de Raadt | |
2006-04-01 | - Plug huge mem leak; mostly samba was suffering. | Otto Moerbeek | |
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code that implements this will be made faster in a later commit. - We loose documented behaviour (after closedir() the telldir() positions are not valid anymore). This was never in Posix, and most other systems have nothing like it. Diff originally from Paul Thorn, rewritten by me using some FreeBSD code. "slap it in" deraadt@ | |||
2006-03-31 | No longer need limits.h | Todd C. Miller | |
2006-03-31 | nfds is not constrained by OPEN_MAX for nftw(), only ftw() | Todd C. Miller | |
2006-03-31 | sprinkle a bit of ARGSUSED | Theo de Raadt | |
2006-03-31 | internal API newgetbroadcastnets() does not need a sock | Theo de Raadt | |
2006-03-31 | Document NET_RT_STATS. | Claudio Jeker | |
2006-03-31 | (char)to{upper,lower}() | Theo de Raadt | |
2006-03-31 | ARGSUSED where needed | Theo de Raadt | |
2006-03-31 | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask); | Theo de Raadt | |
is not valid code; found by lint | |||
2006-03-31 | Gently cast to make lint happy. | Dale Rahn | |
2006-03-31 | Be kind to lint, and specify the correct width on these constants. | Dale Rahn | |
2006-03-31 | after we changed mode_t to be an int, the devname() man page was | Theo de Raadt | |
updated but the function itself never was; ok millert | |||
2006-03-29 | Xr to strtonum(3), because vice versa is already the case | Alexander von Gernler | |
ok jmc@ otto@ | |||
2006-03-26 | Add warning about malloc(num * size) and recommend calloc() instead, | Ray Lai | |
or if malloc must be used suggest check. Get rid of "one". OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s. | |||
2006-03-25 | Fix description of KERN_VNODE, okay deraadt@ | Pedro Martelletto | |
2006-03-22 | Pass size of correct variable to memset(). | Ray Lai | |
From Alexey Dobriyan. OK otto@ | |||
2006-03-22 | Simplify cgetnext(3) by using strcspn(3). | Ray Lai | |
OK jaredy@ and otto@ | |||
2006-03-19 | Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis. | Otto Moerbeek | |
ok millert@ | |||
2006-03-19 | Remove extraneous cast to malloc call in fgetln example. | Ray Lai | |
OK otto@ |