summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port
AgeCommit message (Collapse)AuthorFilesLines
2022-12-0715206 setcontext(2) should not restore %fsbaseAndy Fiddaman1-1/+11
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-11-2515181 Add errc, verrc, warnc, vwarnc to libcAndy Fiddaman2-41/+95
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-10-2415054 libc: using the result of an assignment as a condition without parenthesesToomas Soome18-140/+136
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1815053 libc: unused parameterToomas Soome34-310/+224
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1415046 libc: unused variableToomas Soome6-55/+47
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-0715052 libc: unused labelToomas Soome2-13/+6
Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2022-09-1114821 Add additional AVX512 capabilitiesRobert Mustacchi1-2/+11
14822 Need new word of hardware capabilities 14823 aux vector feature mapping should use x86_featureset Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-0614933 asprintf(3c) is confused by NULRobert Mustacchi1-2/+8
Reviewed by: Dan McDonald <danmcd@mnx.io> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Garrett D'Amore <garrett@damore.org>
2022-08-3014079 remove TNFToomas Soome1-10/+0
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Garrett D'Amore <garrett@damore.org>
2022-04-2014418 mman.h symbol visibility is a messRobert Mustacchi4-22/+16
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2022-03-1614521 bhyve should use error checking mutexes and check resultsAndy Fiddaman2-8/+12
14522 Provide PTHREAD_{ERRORCHECK,RECURSIVE}_MUTEX_INITIALIZER_NP Portions contributed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2022-03-1014443 resection manual pages per IPD4Richard Lowe9-16/+14
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2022-01-2514386 libc: build errors with gcc 11Toomas Soome3-16/+14
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-1514005 eventfd_read/write() don't return failureAndy Fiddaman1-2/+9
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-08-2013997 Want memrchr in libcRobert Mustacchi2-0/+43
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-1513487 want mapfile-based assertions about symbol properties (fix SPARC)Toomas Soome1-3/+49
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Klaus Ziegler <klausz@haus-gisela.de> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-04-0913487 want mapfile-based assertions about symbol propertiesRichard Lowe1-395/+938
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-03-1613586 getcwd() should accept a 0 length argumentAndy Fiddaman1-2/+48
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Rich Lowe <richlowe@richlowe.net>
2021-01-2113356 syslog(3c) should not open syslog_door without LOG_CONSDavid Hanisch1-5/+7
Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-12-087024 Add getgrouplist() to illumosJason King2-4/+132
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-2113312 _thrp_create() should not set the thread name if passed an empty stringRobert Mustacchi1-1/+1
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-175788 Want support for GCC's stack protector in libcRobert Mustacchi3-0/+80
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-11-1713273 want upanic(2)Robert Mustacchi3-23/+37
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-11-1413302 pthread_attr_get_np.3c erroneously refers to pthread_getattr_npPeter Tribble2-7/+7
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2020-09-2513173 loader: add strtoul, strtoull, memmem and abortToomas Soome2-108/+0
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-233763 Implement qsort_r(3C)Robert Mustacchi1-0/+5
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-2213127 libc: for statement not indentedToomas Soome1-3/+3
Reviewed by: Marco van Wieringen <mvw@planets.elm.net> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-09-2213131 libc: _fgetwc_unlocked_l() warn: was '== &fp->_state' instead of '='Toomas Soome1-1/+2
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-2113125 libc: unchecked function return 'nvfree'Toomas Soome1-1/+1
Reviewed by: Marco van Wieringen <mvw@planets.elm.net> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-2113126 libc: variable dereferenced before check 'found'Toomas Soome1-11/+11
Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-1713111 Want futimes(), lutimes() and timespec/timeval conversion macrosAndy Fiddaman2-3/+31
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Marco van Wieringen <mvw@planets.elm.net> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-1713136 libc: memset_s() error: unchecked function returnToomas Soome1-1/+1
Reviewed by: Marco van Wieringen <mvw@planets.elm.net> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2020-09-0913115 libc: variable 'readers' set but not usedToomas Soome1-1/+4
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-0812974 libc: left shift of negative valueToomas Soome1-4/+2
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Dan McDonald <danmcd@joyent.com>
2020-09-047709 hrt2ts and friends are too clever for their own goodPatrick Mooney1-4/+8
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2020-08-2313021 Invalid state if bindtextdomain() fails during re-bindingRichard Hansen1-6/+6
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-07-0812881 sparcv9: add __multi3Toomas Soome1-0/+4
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
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-0712689 Want c11 uchar.hRobert Mustacchi15-36/+417
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-03-267092 Want support for stdio memory streamsRobert Mustacchi24-222/+1537
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 Mustacchi13-50/+115
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 Mustacchi4-27/+25
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-0412263 libc: NULL pointer errors (sparc)Toomas Soome1-5/+5
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>
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>