summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29OS-1836 passwd command truncates usernames to 8 chars by default (overflow)Keith M Wesolowski1-1/+2
2013-01-29OS-1836 passwd command truncates usernames to 8 chars by defaultKeith M Wesolowski2-21/+58
Reviewed-by: Robert Mustacchi <rm@joyent.com>
2013-01-14Illumos SyncJohn Sonnenschein1-10/+14
Merge github.com:illumos/illumos-gate Conflicts: usr/src/cmd/isainfo/isainfo.c usr/src/uts/common/Makefile.files usr/src/uts/common/fs/zfs/dmu.c usr/src/uts/common/fs/zfs/zvol.c usr/src/uts/common/io/mr_sas/fusion.h usr/src/uts/common/io/mr_sas/ld_pd_map.c usr/src/uts/common/io/mr_sas/ld_pd_map.h usr/src/uts/common/io/mr_sas/mr_sas.c usr/src/uts/common/io/mr_sas/mr_sas.h usr/src/uts/common/io/mr_sas/mr_sas_list.c usr/src/uts/common/io/mr_sas/mr_sas_list.h usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c usr/src/uts/i86pc/io/apix/apix.c usr/src/uts/i86pc/os/intr.c usr/src/uts/intel/sys/x86_archext.h
2012-12-203414 Need a new word of AT_SUN_HWCAP bitsRobert Mustacchi1-10/+14
3415 Add isainfo support for f16c and rdrand 3416 Need disassembler support for rdrand and f16c Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-11-07Illumos syncJohn Sonnenschein4-8/+48
2012-09-10illumos syncJohn Sonnenschein1-2/+2
2012-09-073006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zeroMadhav Suresh1-2/+2
Reviewed by Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by George Wilson <george.wilson@delphix.com> Approved by Eric Schrock <eric.schrock@delphix.com>
2012-07-30Illumos SyncJohn Sonnenschein7-14/+49
Merge github.com:illumos/illumos-gate Conflicts: exception_lists/check_rtime usr/src/Makefile.master usr/src/Makefile.master.64 usr/src/cmd/Makefile usr/src/cmd/lms/Makefile usr/src/cmd/lp/Makefile.lp usr/src/cmd/mdb/Makefile.mdb usr/src/cmd/mdb/common/mdb/mdb_cmds.c usr/src/cmd/mdb/common/mdb/mdb_print.c usr/src/cmd/mdb/common/mdb/mdb_print.h usr/src/cmd/mdb/common/mdb/mdb_tab.c usr/src/cmd/mdb/common/mdb/mdb_termio.c usr/src/cmd/mdb/common/mdb/mdb_whatis.c usr/src/cmd/svc/svccfg/svccfg_libscf.c usr/src/cmd/zpool/zpool_main.c usr/src/lib/Makefile usr/src/lib/libc/inc/thr_inlines.h usr/src/lib/libc/port/mapfile-vers usr/src/lib/libc/sparc/Makefile.com usr/src/lib/libc/sparc/crt/_rtld.c usr/src/lib/libc/sparcv9/Makefile.com usr/src/lib/libdtrace/common/dt_open.c usr/src/lib/libdtrace/common/dt_options.c usr/src/lib/libumem/common/envvar.c usr/src/lib/libumem/common/vmem_base.c usr/src/lib/libzfs/common/libzfs_impl.h usr/src/lib/libzfs/common/libzfs_iter.c usr/src/lib/libzfs/common/libzfs_util.c usr/src/lib/libzfs/common/mapfile-vers usr/src/lib/sun_fc/Makefile.com usr/src/lib/sun_fc/amd64/Makefile usr/src/lib/sun_fc/sparcv9/Makefile usr/src/man/man1m/Makefile usr/src/uts/common/Makefile.files usr/src/uts/common/dtrace/dtrace.c usr/src/uts/common/fs/zfs/arc.c usr/src/uts/common/fs/zfs/dmu.c usr/src/uts/common/fs/zfs/dsl_dataset.c usr/src/uts/common/fs/zfs/dsl_pool.c usr/src/uts/common/fs/zfs/sys/zio.h usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_eth.c usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c usr/src/uts/common/sys/dtrace.h
2012-07-16OS-1367 need ptcumemRobert Mustacchi8-0/+129
2012-08-01backout 3006: causes 3046 (panics after mounting root)Richard Lowe1-2/+2
2012-07-313006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zeroMadhav Suresh1-2/+2
Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-05-07illumos syncJohn Sonnenschein7-160/+175
2012-09-222933 compiler warning gags need better granularityRichard Lowe4-0/+48
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-06-253132 remove support for building with gcc 3Richard Lowe2-8/+0
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Approved by: Eric Schrock <eric.schrock@delphix.com>
2012-03-132077 lots of unreachable breaks in illumos gateMilan Jurik4-32/+12
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-03-131594 strxfrm may write past the specified bufferTheo Schlossnagle1-4/+6
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-06-141450 Illumos should be buildable with GCC4Richard Lowe8-159/+171
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
2012-05-212619 asynchronous destruction of ZFS file systemsChristopher Siden2-1/+25
2747 SPA versioning with zfs feature flags Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <gwilson@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2012-05-112655 illumos should be lint 12.3 freeMilan Jurik1-2/+2
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andrew Stormont <Andrew.Stormont@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-11-02richlowe GCC4 mergeJohn Sonnenschein9-159/+269
2011-11-02[OS-714] illumos mergeJohn Sonnenschein4-57/+126
Merge git://github.com/illumos/illumos-gate Conflicts: usr/src/uts/common/inet/tcp/tcp_input.c
2011-10-291678 libc lint library is missing definition for glob/globfreeYuri Pankov1-0/+7
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Albert Lee <trisk@opensolaris.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-10-20Merge branch 'master' of http://github.com/illumos/illumos-gate into gcc/upgradeRichard Lowe3-57/+119
Conflicts: usr/src/cmd/sgs/libld/common/libs.c
2011-10-03[OS-663] Post-6.5 Illumos syncJohn Sonnenschein3-11/+25
Merge https://github.com/illumos/illumos-gate Conflicts: exception_lists/packaging usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl usr/src/cmd/dtrace/test/tst/common/usdt/tst.badguess.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.guess64.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.include.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.nodtrace.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.noreap.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.noreapring.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.reap.ksh usr/src/cmd/lp/Makefile usr/src/cmd/lp/cmd/lpadmin/options.c usr/src/cmd/lp/cmd/lpfilter.c usr/src/cmd/lp/cmd/lpforms.c usr/src/cmd/lp/cmd/lpusers.c usr/src/cmd/lp/lib/lp/isterminfo.c usr/src/cmd/lp/lib/lp/tidbit.c usr/src/cmd/terminfo/att.ti usr/src/cmd/zpool/zpool_main.c usr/src/common/dis/i386/dis_tables.c usr/src/lib/libdtrace/common/dt_options.c usr/src/lib/libzfs/common/libzfs_dataset.c usr/src/man/man1m/dladm.1m usr/src/man/man1m/flowadm.1m usr/src/man/man1m/zoneadm.1m usr/src/man/man1m/zonecfg.1m usr/src/pkg/manifests/print-lp-print-client-commands.mf usr/src/pkg/manifests/print-lp.mf usr/src/uts/common/fs/zfs/sys/zio.h usr/src/uts/common/fs/zfs/zio.c usr/src/uts/i86pc/ml/mach_offsets.in usr/src/uts/intel/amd64/ml/mach_offsets.in usr/src/uts/intel/sys/tss.h
2011-08-28Merge branch 'master' of http://github.com/illumos/illumos-gate into gcc/upgradeRichard Lowe2-9/+16
Conflicts: usr/src/cmd/lp/cmd/lpadmin/options.c usr/src/cmd/man/src/man.c
2011-07-16Merge branch 'master' of http://github.com/illumos/illumos-gate into gcc/upgradeRichard Lowe1-2/+9
Conflicts: usr/src/uts/sun4u/opl/io/drmach.c usr/src/uts/sun4u/serengeti/io/sbdp_cpu.c usr/src/uts/sun4u/starfire/io/drmach.c
2011-07-02libc: Remove SPARC tls workarounds when using GCC 4Richard Lowe2-4/+6
2011-07-02libc: make install target depend on generated headersRichard Lowe1-1/+1
There a handful of generated headers in libc (assym.h), which need to exist for the build. They're removed by clobber but only created via install_h. Have 'install' depend on them as well so working in libc is less tedious.
2011-07-02libc: Implement __floatundisfRichard Lowe3-0/+49
2011-07-02libc: Implement __floatundidfRichard Lowe3-0/+49
2011-07-02libc: Mark %g7 as #scratch in _curthread, and implement directlyRichard Lowe1-5/+7
We do this because GCC 4.4 will spit out a .register declaration for %g7 which differs from those in __curthread if we do not.
2011-07-02libc: Don't let GCC optimize away __rtldRichard Lowe1-1/+10
2011-07-01Use __attribute__((__gnu_inline__)) on GCC ASMRichard Lowe2-148/+147
As a GCC extension, GCC used to define 'extern inline' to mean that a function was only ever emitted inline and no visible symbol was emitted. C99, however, made 'extern inline' mean pretty much the reverse of this, and GCC 4.3 and above in C99 or GNU99 modes follow the standard, so we have to decorate each definition to indicate we want the non-standard behaviour.
2011-06-212409 libc needs more gcc 4 support on 32-bit SPARCRichard Lowe4-0/+98
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Albert Lee <trisk@nexenta.com>
2011-05-27Merge branch 'master' of git://github.com/illumos/illumos-gate into developJohn Sonnenschein1-3/+3
2011-05-191046 wcsxfrm(3C) crashes when len arg is 0Gordon Ross1-3/+3
Reviewed by: Robert Gordon <rbg@openrbg.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2011-10-181633 implement posix_spawn_pipe_np()Matthew Ahrens3-57/+119
Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com> Reviewed by: Eric Schrock <Eric.Schrock@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-07-221232 setlocale switch to C is brokenJason King2-9/+16
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garret D'Amore <garrett@nexenta.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2012-02-182077 lots of unreachable breaks in illumos gateMilan Jurik4-32/+12
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-05-13[OS-411] Guava Illumos syncJohn Sonnenschein10-235/+50
2011-07-111030 strftime "%x" should generate something strptime can parseGordon Ross1-2/+9
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Gary Mills <mills@cc.umanitoba.ca> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-03-11OS-264 Merge from upstream (illumos)John Sonnenschein2-4/+4
2011-03-09781 overrun in fgetwsBryan Cantrill1-2/+2
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-03-08OS-295 sort(1M) croaks in _fgetws_impl()Bryan Cantrill1-1/+1
2011-01-31OS-180 need zoneid to be persistent across zone rebootJerry Jelinek1-1/+4
2011-03-29850 system(3C) and similar could just use /bin/shRichard Lowe4-30/+12
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: John Sonnenschein <johns@joyent.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-04-10878 regerror() error messages not i18n compliantGarrett D'Amore3-119/+38
Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2011-04-05842 src/lib/Makefile has libc_i18n vestigesGarrett D'Amore1-17/+0
Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
2011-04-03853 system/library is missing references to some license filesRichard Lowe2-69/+0
Reviewed by: gwr@nexenta.com Approved by: garrett@nexenta.com
2011-01-20652 libc uninitialized variableAlexander Stetsenko1-2/+2
Reviewed by: garrett@nexenta.com Approved by: garrett@nexenta.com