summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
AgeCommit message (Collapse)AuthorFilesLines
2020-07-0812902 epoll should nominally support EPOLLEXCLUSIVEPatrick Mooney1-1/+7
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-07-0712912 epoll mishandles excessive timeout negativityPatrick Mooney1-3/+12
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Ryan Zezeski <ryan.zeseski@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-06-0812777 libc unwinding confused by indirect pointer encodingPatrick Mooney1-7/+34
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2020-06-0712689 Want c11 uchar.hRobert Mustacchi19-36/+433
Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-2212768 12392 regressed ftello64 behaviorRobert Mustacchi1-1/+1
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-1212691 Want means of getting the maximum user address in a processRobert Mustacchi1-1/+4
Reviewed by: Yuri Pankov <ypankov@fastmail.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-05-0412447 should install library compat symlinks from library makefiles, not ↵Richard Lowe1-13/+8
Targetdirs Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-0412454 remove lint library machineryRichard Lowe9-11/+0
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-267092 Want support for stdio memory streamsRobert Mustacchi30-232/+1624
12360 fwrite can loop forever on zero byte write 12392 ftello64 doesn't handle ungetc() correctly when unbuffered Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-2612358 Need mbrtowc variant that indicates consumed zero bytesRobert Mustacchi14-50/+123
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-2612357 getc/putc_unlocked need to set orientationRobert Mustacchi6-38/+32
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-0512306 XPG4v2 slave pty behaviour should generally be disabledAndy Fiddaman3-120/+57
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-2711275 gettimeofday should use comm pagePatrick Mooney5-122/+53
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <gdamore@racktopsystems.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-0512217 add ld assert-deflib and guidance to gate buildToomas Soome4-4/+9
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-0412263 libc: NULL pointer errors (sparc)Toomas Soome2-7/+8
Reviewed by: Matthias Scheler <mscheler@tintri.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Dan McDonald <danmcd@joyent.com>
2020-01-1412151 libc: specifies less restrictive attribute than its targetToomas Soome5-17/+20
Reviewed by: Matthias Scheler <mscheler@tintri.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-01-0612148 libc: _rtbootld.o needs to be built with -m32Toomas Soome1-2/+2
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-2211741 regexec: fix processing multibyte stringsYuri Pankov1-3/+45
Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-228908 regcomp: reduce size of bitmap for multibyte localesYuri Pankov3-13/+20
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-228993 regex: Refactor fast/slow stepping bits in the matching engineKyle Evans3-251/+304
Portions contributed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-0411760 loader: add explicit_bzero() to libstandToomas Soome1-2/+2
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-2011687 isaexec() leaks memory if realloc failsAndy Fiddaman1-3/+6
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-1911615 should handle locale charmap aliasesYuri Pankov1-1/+31
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-1611680 want reallocf(3C)Andy Fiddaman6-0/+38
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Matthias Scheler <matthias.scheler@wdc.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-09-1011661 provide C.UTF-8 localeYuri Pankov1-0/+17
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-08-1611528 Makefile.noget can get goneJohn Levon6-7/+19
11529 Use -Wno-maybe-initialized Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-06-1811091 libc: NULL pointer errorsToomas Soome18-51/+33
Reviewed by: Norm Jacobs <naj@snapcon.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-0611097 SPARC needs some instances of POST_PROCESS_O to be POST_PROCESS_S_OPeter Tribble2-2/+4
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Norm Jacobs <naj@snapcon.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-05-2410864 Remove starcat supportPeter Tribble1-1/+0
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-05-0910880 posix_memalign() should avoid clobbering return parameter on failureRichard Lowe1-13/+17
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-0310816 ctf_dwarf_convert_type() relies on un-initialized idJohn Levon2-22/+24
10817 ctfconvert -i option is mis-handled 10818 Improve ctfconvert error messages 10819 ctfconvert should handle empty dies 10820 ctfconvert -i never converts 10821 bad free in ctf_dwarf_init_die 10815 shouldn't build gcore.c as part of kmdb Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-04-2410804 Enable unused warnings outside of utsJohn Levon2-0/+4
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-1510495 libc should know how many FPU exceptions there areRichard Lowe1-0/+5
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-03-0110468 __ctype_mask[EOF] has been working by accidentBryan Cantrill1-17/+21
10469 GCC's -faggressive-loop-optimizations is too aggressive 10470 array over-read in has_saved_fp() Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman1-1862/+0
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0710322 usr/lib/libc - remove lint and lint librariesAndy Fiddaman5-216/+12
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-3110051 cw(1) shouldn't have to translate -gRichard Lowe2-2/+2
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-109814 strndup() performs pathologicallyBryan Cantrill1-2/+7
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Fiddaman <af@citrus-it.net> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-01-0510063 basic support for smatchJohn Levon3-6/+10
10153 checkpaths shouldn't check packaging exceptions Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-0410159 libc: cast between incompatible function typesToomas Soome5-21/+31
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-12-1810061 usr/src/lib/libc/port/gen/l3.c is unusedPeter Tribble1-98/+0
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
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>