summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
AgeCommit message (Collapse)AuthorFilesLines
2018-12-139971 Make getrandom(2) a public interfaceJason King3-6/+10
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-11-259959 pthread_mutex_init should initialize mutex appropriately for robust ↵Richard Lowe1-0/+17
mutex_init Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-198158 Want named threads APIJohn Levon5-12/+160
9857 proc manpages should have LIBRARY section Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-119884 cw(1) should use -fpic rather than -KpicRichard Lowe8-10/+10
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2018-08-255709 Add binary compatibility with Solaris 10 update 10Alexander Pyhalov1-0/+5
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Toomas Some <tsoome@me.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-08-249755 bounds checking functions and types should only be visible if ↵Yuri Pankov2-0/+4
__STDC_WANT_LIB_EXT1__ is set to 1 Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-08-168548 want memset_s(3C)Yuri Pankov9-1/+210
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-08-109711 fts(3C) needs to be largefile awareJonathan Perkin4-0/+26
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-08-079638 libc/port/fp/sigfpe.c: this statement may fall throughToomas Soome1-2/+1
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-07-309673 move internet address manipulation functions to libcYuri Pankov14-31/+994
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-05-179511 printf family isn't aware of multibyte decimal point characters (fix ↵Yuri Pankov1-1/+1
regression)
2018-05-169511 printf family isn't aware of multibyte decimal point charactersYuri Pankov1-13/+33
Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-02-068706 libc lint library missing endian.h functionsRobert Mustacchi1-0/+20
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov4-4/+4
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2018-02-059028 libc: comparison between pointer and zero character constantToomas Soome1-3/+1
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-059029 libc: duplicate 'const' declaration specifierToomas Soome1-1/+1
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2017-11-168724 libc: multiple variable set but not used errorsToomas Soome3-9/+6
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-10-028609 want a position independent CRTRichard Lowe8-19/+19
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Albert Lee <trisk@forkgnu.org> Approved by: Dan McDonald <danmcd@joyent.com>
2017-09-158655 remove more gender specific languageAlison C1-1/+1
Reviewed by: Jim Salter <github@jrs-s.net> Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-08-228578 sync fnmatch(3C) with upstreamYuri Pankov1-13/+11
Reviewed by: Toomas Soome <toomas@me.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-08-148568 fnmatch, glob: fix exponential CPU use with repeated '*' operatorsYuri Pankov2-92/+117
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-08-148575 regcomp(3C): handle invalid {} constructs consistentlyYuri Pankov1-6/+5
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-07-298546 want recallocarray(3C) and freezero(3C)Yuri Pankov9-8/+134
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-06-218297 update mdocml to 1.14.1Yuri Pankov1-1/+1
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-06-208362 libc: install_legacy() overwrites __runetype, __maplower, and ↵Yuri Pankov1-222/+233
__mapupper for _DefaultRuneLocale Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-06-208349 thrd_equal implements the wrong specificationRobert Mustacchi1-3/+3
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-06-168362 libc: install_legacy() overwrites __runetype, __maplower, and ↵Robert Mustacchi1-228/+223
__mapupper for _DefaultRuneLocale (breaks copy relocs)
2017-06-148362 libc: install_legacy() overwrites __runetype, __maplower, and ↵Yuri Pankov1-223/+228
__mapupper for _DefaultRuneLocale Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-06-128354 sync regcomp(3C) with upstream (fix make catalog)Yuri Pankov1-1/+1
Approved by: Gordon Ross <gwr@nexenta.com>
2017-06-125428 provide fts(), reallocarray(), and strtonum()Yuri Pankov9-93/+1263
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2017-06-128355 need libc regex testsYuri Pankov3-12/+44
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2017-06-128354 sync regcomp(3C) with upstreamYuri Pankov12-110/+124
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2017-06-078276 rpcbind leaks memory due to libumem per thread caching.Youzhong Yang1-1/+7
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-06-055097 psignal and psiginfo don't handle NULL arguments correctlyRobert Mustacchi2-18/+23
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2017-05-306961 64-bit octal printf may overflow internal bufferRobert Mustacchi1-3/+1
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: Dan McDonald <danmcd@kebe.com>
2017-04-034412 character handling functions should return 0 for argument range 128-255 ↵Yuri Pankov1-19/+13
in UTF-8 locales Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-286689 mbtowc(3C) fails to set errno for incomplete charactersIngo Schwarze1-2/+9
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-286907 strcoll() and strxfrm() don't seem to agreeYuri Pankov1-59/+61
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-286905 locales: Fix eucJP sortingJohn Marino1-14/+15
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-286904 collation: Fix expansion substitutionsJohn Marino2-57/+75
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-067805 want faster clock_gettime (fix clean)Yuri Pankov2-2/+2
2017-03-027860 libc: indentation errorsToomas Soome2-8/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Dale Ghent <daleg@omniti.com> Reviewed by: Juraj Lutter <juraj@lutter.sk> Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2017-02-277805 want faster clock_gettimePatrick Mooney8-17/+113
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Ryan Zezeski <rpz@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Garrett D'Amore <garrett@damore.org>
2017-02-227812 Remove gender specific languageDaniel Hoffman9-31/+40
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Steve Gonczi <steve.gonczi@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-01-253772 consider raising default descriptor soft limitRichard Lowe4-406/+82
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Juraj Lutter <juraj@lutter.sk> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-01-027714 Extracted libc licenses should be sortedMarcel Telka1-1/+1
Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-11-177506 epoll_create1 should toss EINVAL for invalid flagsPatrick Mooney2-1/+9
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-10-157029 want per-process exploit mitigation features (secflags)Richard Lowe12-15/+217
7030 want basic address space layout randomization (ASLR) 7031 noexec_user_stack should be a security-flag 7032 want a means to forbid mappings around NULL Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Patrick Mooney <pmooney@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-10-117422 dpioctl should pay attention to FKIOCTLPatrick Mooney1-4/+25
7423 epoll_ctl should throw EINVAL for loops 7424 epoll should not leave dangling polldat_t entries 7425 devpoll write feigns success in the face of EINTR 7426 epoll_ctl not allowed to emit EINTR Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Bryan Cantrill <bryan@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-09-077350 wcsncasecmp reads data from buffers when count is zeroRobert Mustacchi1-2/+3
7344 wcsncasecmp shouldn't take one for the road Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Ryan Zezeski <ryan@zinascii.com> Reviewed by: James Blachly <james.blachly@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>