summaryrefslogtreecommitdiff
path: root/usr/src
AgeCommit message (Collapse)AuthorFilesLines
2011-07-01myri10ge: Remove use of deprecated preprocessor assertionsRichard Lowe1-6/+3
2011-07-01sd: Shift Q-Channel ADR to avoid truncationRichard Lowe1-1/+1
2011-07-01i86pc/drmach_acpi: Haul function prototypes out of function bodiesRichard Lowe1-16/+16
2011-07-01i86pc/dr: Haul function prototype out of function bodyRichard Lowe1-2/+2
2011-07-01dboot: Cast through uintptr_t on the way to native pointersRichard Lowe1-6/+6
Squelch casts from pointer to different sized int warnings
2011-07-01mp_pc: Cast through uintptr_t for protected mode jmp destinationRichard Lowe1-1/+2
2011-07-01kdi_idt: Cast GATESEG_GETOFFSET through uintptr_tRichard Lowe1-1/+2
Squelch a GCC warning about a cast from an integer to a pointer of a different size (presumed to be an implicit 32bits before).
2011-07-01Use __attribute__((__gnu_inline__)) on GCC ASMRichard Lowe18-296/+336
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-07-01libld: Return FALSE on failure, not S_ERROR which is ~0 (which is true!)Richard Lowe1-2/+2
2011-07-01elfsign: Remove address comparison that can never be falseRichard Lowe1-3/+1
GCC 4.x warn about this, and because elfsign is built as part of the tools, it is built with the cw(1) installed on the system, not the one built in the workspace, and thus doesn't know to ignore these warnings.
2011-07-01[HACK] ctf: Temporarily workaround GCC 4 stdarg changeRichard Lowe3-6/+23
CTF tools include /usr/include first by necessity since they run on the build machine, but we need a hack to bootstrap builds on systems without a fixed va_impl.h.
2011-06-30OS-462 dtest has dependencies on Sun's compilers and /usr/ccs/bin/makeBryan Cantrill24-60/+153
OS-463 dtest should fail if dependencies are missing
2011-06-301453 dtest should fail if dependencies are missingBryan Cantrill45-142/+199
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-09-151073 migrate kernel modules from ancient _depends_on to true ELF dependenciesBayard Bell135-322/+545
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-09-141393 dis does not handle sections with unassigned virtual addresses wellJason King3-40/+161
1409 dis is overly restrictive when looking for it's next symbol Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Albert Lee <trisk@nexenta.com>
2011-09-13674 find does not support regexYuri Pankov2-75/+331
1146 find should support -iname 1448 find should support -mindepth, -maxdepth 1449 Add -useracl, -groupacl primaries to find 1468 find should support -print0 Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Albert Lee <trisk@nexenta.com>
2011-06-29va_impl: Deal with GCC 4.4 removal __builtin_stdarg_start aliasRichard Lowe1-3/+5
2011-06-29Makefile.master: Prevent more GCC auto-inliningRichard Lowe1-0/+8
In the same spirit as cw(1) passing -fno-inline-functions, we also need to pass -fno-inline-small-functions and -fno-inline-functions-called-once to newer GCC to prevent functions which it deems to be "small enough", or functions only called once being automatically inlined at most optimization levels. (Un)fortunately the use of -fno-inline-small-functions bandaids a problem during boot on amd64 where kcf`rndbytes_cnt would underflow, and leave us scribbling over much of kernel memory eventually panicking most often in clock() with cpu_list being garbage.
2011-06-29Makefile.master: Allow the use of GCC 4.xRichard Lowe2-6/+22
Define new conditionals which control the GCC version to be used, and default them appropriately. __GNUC3 - GCC 3.x __GNUC4 - GCC 4.x These are in effect regardless of __GNUC, as they control settings meaningful to shadow compilation as well as primary.
2011-06-29Makefile.master: Define __SUNC as the antithesis of __GNUC and use itRichard Lowe8-24/+14
Define __SUNC to be POUND_SIGN if __GNUC is true such that we can use it for conditional make assignments, make use of it to define the -lCstd -lCrun settings to avoid the need to reset CCNEEDED in the __GNUC case, duplicating the rules
2011-06-29dwarf: Upgrade to libdwarf-20110113Richard Lowe99-14074/+25063
2011-06-29OS-449 log a warning when there are no lgrps because the ACPICA SRAT table ↵Robert Mustacchi1-2/+12
is missing
2011-06-29OS-459 update man pages for lofi in a zoneJerry Jelinek3-5/+38
2011-06-28OS-441 update acpica code to newer versionJerry Jelinek203-27548/+19732
2011-06-241072 arcmsr 1880 device id missing from packageGarrett D'Amore2-3/+7
Reviewed by: David Gwynne <dlg@openbsd.org> Reviewed by: Piotr Jasiukajtis <estseg@gmail.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-06-23534 DMA KVA cache attributes incorrectMichael Tsymbalyuk1-0/+18
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-06-221812 libbc should avoid implicitly multi-line stringsRichard Lowe1-4/+2
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Approved by: Gordon Ross <gwr@nexenta.com>
2011-06-221200 various modules declare static functions within function bodiesRichard Lowe12-96/+84
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-06-22OS-447 Race condition in build between libdtrace and libzonecfgJerry Jelinek1-2/+3
2011-06-221593 iiadm overflows volume namesRichard Lowe1-207/+182
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Albert Lee <trisk@nexenta.com>
2011-10-061153 remove krtld support for _depends_onBayard Bell1-0/+18
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Gordon Ross <gwr@nexenta.com>
2011-10-061604 smbd print_enable doesn't really workGordon Ross7-25/+56
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Stepan Zastupov <stepan.zastupov@gmail.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-10-061603 smbsrv raw mode is ill-advisedGordon Ross2-1/+16
Reviewed by: jason.brian.king@gmail.com Reviewed by: Dan Kruchinin <dkruchinin@acm.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-10-051470 strtol doesn't set errno = EINVAL if conversion failedYakov Zaytsev1-0/+5
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Gary Mills <mills@cc.umanitoba.ca> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-10-021056 ksocket doesn't support AF_UNIXStepan Zastupov2-1/+143
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-06-20OS-446 want zonename field in zone_vfs/zone_zfs kstatsBill Pijewski2-1/+11
2011-06-201107 nfs_tbind.c do_one() function can't work with loopbackDan Kruchinin1-0/+22
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-06-201108 kRPC: ticotsord doesn't support T_ADDR_REQ when datablock type is M_PCPROTODan Kruchinin1-1/+20
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-06-16OS-439 stack overflow from ip_input()Robert Mustacchi1-4/+30
2011-06-16[HVM-379] merge smartvm to develop.Josh Wilsdon34-41/+1919
2011-06-16OS-421 include pcbe moduleRobert Mustacchi4-6/+6
2011-06-16OS-421 include pcbe moduleRobert Mustacchi4-6/+6
2011-06-15967 beadm usage output lacks 'activate' commandAlexander Stetsenko1-0/+1
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: Kartik Mistry <kartik.mistry@gmail.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D`Amore <garrett@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-06-15OS-434 want way to get local zone load average from global zoneJerry Jelinek2-0/+11
2011-06-14OS-433 load average should be virtualized for zonesJerry Jelinek5-20/+102
2011-06-14923 bootadm tries to rebuild archives which it shouldn'tAlexander Eremin2-1/+64
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2011-06-131092 zfs refratio propertyMatt Ahrens5-7/+36
Reviewed by: George Wilson <George.Wilson@delphix.com> Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Reviewed by: Mark Musante <Mark.Musante@oracle.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-06-131057 should correctly integrate libdwarf sourcesRichard Lowe96-110/+25865
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com> --HG-- rename : usr/src/tools/ctf/dwarf/dwarf.h => usr/src/tools/ctf/dwarf/common/dwarf.h rename : usr/src/tools/ctf/dwarf/libdwarf.h => usr/src/tools/ctf/dwarf/common/libdwarf.h
2011-06-13323 Need fix for glob() resource exhaustionGary Mills1-8/+40
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
2011-06-13952 separate intent logs should be obvious in 'zpool iostat' outputMike Harsch1-3/+33
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>