summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-04-02getting to the bottom of the issues. sprinkle a few casts that willTheo de Raadt
actually help us find bugs later (with lint, not cc), if they get introduced
2006-04-02be more careful checking for (off_t)-1 as the failure condition fromTheo de Raadt
lseek(), not just any old -1; ok millert
2006-04-02sprinkle a socklen_tTheo 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-31No longer need limits.hTodd C. Miller
2006-03-31nfds is not constrained by OPEN_MAX for nftw(), only ftw()Todd C. Miller
2006-03-31sprinkle a bit of ARGSUSEDTheo de Raadt
2006-03-31internal API newgetbroadcastnets() does not need a sockTheo de Raadt
2006-03-31Document NET_RT_STATS.Claudio Jeker
2006-03-31(char)to{upper,lower}()Theo de Raadt
2006-03-31ARGSUSED where neededTheo de Raadt
2006-03-31oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);Theo de Raadt
is not valid code; found by lint
2006-03-31Gently cast to make lint happy.Dale Rahn
2006-03-31Be kind to lint, and specify the correct width on these constants.Dale Rahn
2006-03-31careful cleanup following advice from lint. be very very very carefulTheo de Raadt
with sprinkling in size_t!
2006-03-31ARGSUSED for for a few thingsTheo de Raadt
2006-03-31lint happiness, mostly avoiding variable aliasingTheo de Raadt
2006-03-31kvm_openfiles() should take int flag, not unsignedTheo de Raadt
2006-03-31after we changed mode_t to be an int, the devname() man page wasTheo de Raadt
updated but the function itself never was; ok millert
2006-03-30casts that cannot cause breakage in the futureTheo de Raadt
2006-03-30change internal login_protect() API to use mode_t like it shouldTheo de Raadt
2006-03-30please lint (without making anything else worse)Theo de Raadt
2006-03-30Fix a bzero() misuse; ok otto@ deraadt@Patrick Latifi
2006-03-30introduce a way to free the base.Brad Smith
From libevent CVS
2006-03-29Xr to strtonum(3), because vice versa is already the caseAlexander von Gernler
ok jmc@ otto@
2006-03-28use clock_gettime if available.Brad Smith
From claudio@ via libevent CVS ok claudio@
2006-03-27MLINK to new man pagesTheo de Raadt
2006-03-26add remaining tcpdump.org libpcap 0.9 APIs, most notablyDamien Miller
pcap_setdirection() (which depends on the kernel-side bpf changes committed yesterday); ok canacar@
2006-03-26Add 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-26scrub can log, so it is a valid pf action to filter onCamiel Dobbelaar
ok dhartmei
2006-03-25Fix description of KERN_VNODE, okay deraadt@Pedro Martelletto
2006-03-23new sentence, new line;Jason McIntyre
2006-03-22Pass size of correct variable to memset().Ray Lai
From Alexey Dobriyan. OK otto@
2006-03-22Simplify cgetnext(3) by using strcspn(3).Ray Lai
OK jaredy@ and otto@
2006-03-21- plug memleak when handling reallocation failure in hid_start()Jared Yanovich
- avoid NULL dereference while reclaiming memory during error handling in hid_start() ok ray dhill
2006-03-20for some of internal functions use paddr_t where phys addr is intended ↵Michael Shalayeff
insteadd of u_long; miod@ ok
2006-03-19Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis.Otto Moerbeek
ok millert@
2006-03-19Remove extraneous cast to malloc call in fgetln example.Ray Lai
OK otto@
2006-03-19New amd64 exp(3).Mark Kettenis
tested by steven@, ok otto@
2006-03-18Remove amd64 code.Mark Kettenis
ok otto@
2006-03-18- limit the amount of data bufferevents are going to consume to somethingBrad Smith
reasonable; in some circumstances it could happen that libevent happily allocated 100MB in read buffers without telling the user; found by christopher maxwell - parts of these changes are from his patch. - allow setting an event base for bufferevents; from phil oleson - improved manpage from Phil Oleson From libevent CVS
2006-03-18add some more C99 functions: trunc(3) and truncf(3).Brad Smith
From FreeBSD ok deraadt@ millert@ otto@ jmc@
2006-03-18In all these cases pfp != NULL. I also sneaked in some KNF.Ray Lai
Okay jaredy, millert@, and otto@
2006-03-18Plug a memleakDavid Hill
ok ray@ "Wow, no kidding." deraaadt@
2006-03-15spelling, jon@vexed.seTheo de Raadt
2006-03-15Removes extraneous variables from getopt(3). Inspired by one ofRay Lai
David Hill's diffs. ok otto
2006-03-14make BN_is_prime() realise that 2 is, in fact, a prime number.Damien Miller
from OpenSSL CVS; ok otto@ deraadt@
2006-03-14amd64 asm code is not correct for exp(+/-Inf), so until somebodyOtto Moerbeek
comes up with a correct asm version, use the C version of exp(3). ok steven@ kettenis@
2006-03-14Prevent double-free.Mark Kettenis
ok mickey@, todd@, deraadt@
2006-03-14add italian nls; from jwk@xtf.itTheo de Raadt