summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-22switch to shorter ISC license. this was ok with Niels Provos.tedu1-27/+12
2014-03-19consolidate the base64 code in one place, and remove inadequate test codetedu1-86/+56
2014-03-19right or wrong, bcrypt() is declared in pwd.h, not unistd.htedu1-2/+3
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingmiod2-278/+3
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-18* Fix another instance of directly writing to the target with a utilityschwarze1-4/+6
that might fail. * Keep the build log clean. * Make sure syntax checks run again when doing: make clean; make ok espie@
2014-03-18prevent failed command from generating bogus fileespie1-2/+2
okay guenther@
2014-03-18prepare manpages for new perl.espie19-40/+48
Note that I missed two of these in the diff shown initially, thx to the atrocious Makefile rule... okay millert@, sthen@, basically
2014-03-18Sync with the way struct ether_addr is actually defined inlteo1-3/+3
netinet/if_ether.h
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalguenther2-4/+4
(namespace pollution!) or talking about its opinion on code. ok krw@
2014-03-13Unhook httpd(8) from build; man page bitsflorian1-10/+3
tweaks jmc@ OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@
2014-03-12Unbreak nc -6 -l. Don't retrieve and thus later set the routing tablejca1-3/+2
unless -V is passed (intent of the previous commit), and use SOL_SOCKET instead of IPPROTO_IP to set the rtable in local_listen(). ok sthen@
2014-02-27SECURITY fixes backported from openssl-1.0.1f. ok mikeb@jca12-26/+82
CVE-2013-4353 NULL pointer dereference with crafted Next Protocol Negotiation record in TLS handshake. Upstream: 197e0ea CVE-2013-6449 Fix crash with crafted traffic from a TLS 1.2 client. Upstream: ca98926, 0294b2b CVE-2013-6450 Fix DTLS retransmission from previous session. Upstream: 3462896
2014-02-26Once more, the default routing table id is inherited from the processclaudio1-3/+2
like for any other process as well. OK by many
2014-02-24solar's testsuite revealed insufficient validation of invalid input hashes.tedu1-8/+10
add a more complete check for the rounds parameter. ok deraadt
2014-02-23in HISTORY, say where this actually came from;schwarze1-5/+7
ok deraadt@ bentley@
2014-02-17replace spaces with tabs for indentationstsp1-2/+2
2014-02-17remove redundant testtedu1-3/+2
2014-02-17sticking strlen into a char leads to wraparound at 256. fix this andtedu1-5/+18
introduce a new 'b' hash minor. still generate 'a' minors for now. reported by solar designer. diff by some combination of solar and jca. ok deraadt
2014-02-10one of the examples needs -N to work again;jmc1-3/+3
the paper trail appears to be: reported in feebsd pr docs/185353 by rol robert-eckardt de fix suggested by peter wemm diff submitted to tech by allan jude
2014-02-07Fix inet6_opt_init() to only check extlen when extbuff is not NULLmpi1-5/+2
as per RFC 3542, from DragonFlyBSD via Eitan Adler. ok bluhm@
2014-02-05Remove unnecessary stdio.h include.stsp1-2/+1
Patch by Jean-Philippe Ouellet ; ok krw@
2014-02-05Always set errno when returning NULL. OK kettenis@ henning@millert1-7/+17
2014-01-22add explicit_bzero to NAME;jmc1-2/+3
2014-01-22add explicit_bzero to libc. implementation subject to change, but starttedu3-4/+37
the ball rolling. ok deraadt.
2014-01-21Ouch... recommend arc4random, not random.deraadt1-3/+3
spotted by tedu
2014-01-21obvious .Pa fixes; found with mandocdb(8)schwarze13-49/+49
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).