summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-20Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).schwarze1-3/+3
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .Tnschwarze1-5/+3
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
2014-01-19Punctuation after macro arguments needs to be in a separate argument.schwarze1-3/+4
Found while testing mandocdb(8).
2013-12-31don't try writing past the end unless we have totedu1-8/+16
ok gilles millert
2013-12-29- Verify that the FPU exception flags weren't clobbered as required by C99.martynas6-10/+48
- Additionally, test _setjmp and sigsetjmp as implementations are different.
2013-12-29Add a regression test to verify that the FPU control word state ismartynas3-1/+44
preserved by setjmp. Currently under REGRESS_FULL as this fails on certain archs.
2013-12-28Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass thekettenis1-10/+1
right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@
2013-12-23Install a bunch more of OpenSSL manpages. ok deraadt@jca1-1/+49
2013-12-21Fix a commentguenther1-3/+2
2013-12-19Reliability fix for SHA384 SSL/TLS ciphers on strict alignmentjca2-2/+16
architectures. ok miod@ djm@ Upstream patch: commit cdd1acd788020d2c525331da1712ada778f1373c Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:27:35 2013 +0100
2013-12-19fix double word error;jmc1-2/+2
2013-12-19Split out strncpy and strncat from strcpy and strcat manuals.millert5-168/+308
Requested by deraadt@
2013-12-19pseudo-code corrections from Solar Designer <solar@openwall.com>deraadt1-4/+4
2013-12-17inet_nsap_ntoa() and inet_nsap_addr() go away. Unused APIs from darkerderaadt2-100/+4
days.
2013-12-05no more regexp(3), so point to regex(3);jmc1-3/+3
as advised by deraadt
2013-11-25unsigned char changes for ctypederaadt1-10/+11
re-re-reviewed by krw
2013-11-25use an unsigned char instead, to avoid lots of castsderaadt1-2/+2
2013-11-24most obvious unsigned char casts for ctypederaadt4-20/+27
ok jca krw ingo
2013-11-12remove dead fileseric11-7785/+0
ok deraadt@
2013-11-12permute15() should be static. Not cranking libc now, because it isderaadt1-2/+2
not urgent.
2013-11-12avoid arithetic on void *deraadt1-4/+4
ok guenther otto
2013-11-03Add a second test, shortseek(), to make sure that seekdir() also worksschwarze6-56/+189
correctly when moving the directory pointer by small distances. This is currently failing, i will send an updated libc/gen patch to fix this right afterwards. Move the functions createfiles() and delfiles() to utils.{h,c} for reuse. Minor cleanup in telldir.c.
2013-11-01Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directlyguenther2-7/+4
ok deraadt@
2013-10-26Only use setsockopt(..SO_RTABLE..) if the -V flag is given to nc/telnet,sthen1-7/+7
same style as traceroute6 (change to int and use -1 as a flag, so rtable 0 can still be used as an explicit parameter).
2013-10-22tweak previous;jmc1-4/+2
2013-10-22delete extra words; Henri Kemppainenderaadt1-3/+2
2013-10-21update documentation for these functions. They now state the case regardingderaadt1-63/+45
pthreads and chroot, and safe initialization without /dev/random and such junk. If you are in control of an arc4random in another library, please look at these pages and get caught up. ok various
2013-10-21Remove arc4random_stir() and arc4random_addrandom(), which none shouldderaadt2-28/+2
be using directly. Well, a few rare people cloned it upstream and it will take a bit of time for them to learn. ok various
2013-10-21Oups, a little bit overzealous. If we "route -T4 exec telnet foo", thenphessler1-1/+2
make sure telnet runs in rdomain 4 as expected. Same for nc.
2013-10-21Set the requested rdomain on the socket instead of only on the IPv4 part.phessler1-11/+7
Also, switching to rdomain zero is a legit option so we should allow that.
2013-10-14Missed the file renames for the string functions when committing theguenther1-1/+25
DIST_LIB/DIST_OBJ/*.do changes
2013-10-04a couple of warning fixes and an RCS marker; ok markus@djm1-2/+4
2013-10-01replace rc4 with ChaCha20; inspired by Nick Mathewson's work on libottery;markus2-98/+326
feedback and ok djm@
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2-12/+12
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
2013-09-25Add examples to show why this is a terrible API. OK jmc@ henning@millert1-1/+60
2013-09-25According to POSIX, if the src and dst strings overlap, the behaviormillert6-12/+48
is undefined. Add a warning to that effect. OK deraadt@ jmc@
2013-08-20escape not-full-stop-dot at eol;jmc1-2/+2
2013-08-20add -F to usage() and help();jmc1-2/+3
ok djm
2013-08-20add -F flag to enabled fd-pass mode: establish connection and passdjm2-6/+89
connected socket to stdout. This is useful in proxy mode to establish a connection for use by ssh in conjunction with its new ProxyUseFDPass option; ok markus@
2013-08-20Include more details in failure messagesguenther1-7/+7
2013-08-14use Bsx;jmc1-3/+4
from jan stary
2013-08-14no longer any need to quote macro lines with >9 args;jmc3-9/+9
From: Jan Stary
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther3-3/+3
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-08-06Remove support for COMPILER_VERSION == gcc2.miod1-6/+1
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-08-06Switch vax to gcc 3.3.6.miod1-1/+5
2013-08-01Some tests are currently failing. Only run those if the REGRESS_FULLkettenis2-3/+9
variable is set.
2013-08-01Add linker warnings for rand() and random() and various related functions.kettenis2-1/+31
ok deraadt@
2013-07-30strptime(3) correctly fills in tm_yday; adjust expected outputkettenis1-3/+3
ok guenther@
2013-07-22we now have IDEA and MDC2 in libcrypto, so don't disable them in openssl(1)naddy1-3/+2
ok djm@
2013-07-18HISTORY; tweaks and ok sobrado@ jmc@schwarze3-9/+38