summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2014-02-17Having CpuSMAP and Cpu64 overlap isn't a terribly good idea.Mark Kettenis
Makes it possible to build an i386 kernel with binutils-2.17 again. ok miod@
2014-02-15install man perlinterp so you can learn all about the interpreterTed Unangst
2014-02-09Add support for i386 XSAVE family of instructions: xgetbv, xsetbv, xsave,Philip Guenther
xrstor, and xsaveopt. based on kettenis's original that did xgetbv and xsetbv ok kettenis@
2014-02-07Update to sendmail 8.14.8. This touches a lot of files due to theTodd C. Miller
Sendmail, Inc -> Proofpoint name change. See RELEASE_NOTES for actual changes.
2014-01-24Catch SIGPIPE to clean up temp filesPhilip Guenther
ok deraadt@
2014-01-20Add strong stack protector mode for the original propolice in GCC3.Martynas Venckus
This includes additional functions to be protected --- those that have local array definitions, or have references to local frame addresses. Miod verified that this works on real hardware, and not just on the cross-compiled monster I tested this on.
2014-01-18Fix the NAME section:Ingo Schwarze
One .Nm macro per name, and pass punctuation a as seperate argument. Found with mandocdb(8). OK jmc@.
2014-01-14Add wcstring attribute support for Wbounded. To be used for wchar.hMartynas Venckus
which operates on element counts rather than buffer sizes. I'll start annotating headers in a few weeks, after the hackathon. OK millert@.
2014-01-14Add a new option "-fstack-protector-strong" for GCC4. This includesMartynas Venckus
additional functions to be protected --- those that have local array definitions, or have references to local frame addresses. Note 1: Han explicitly licensed this under GPLv2 for us. Note 2: Do *not* use this anywhere in "src" Makefiles, as the other GCC doesn't have this option yet (but I'm working on it).
2014-01-13Enable Wbounded by default. Passing bound bigger than the bufferMartynas Venckus
size almost always has security implications. I think this quote from Theo summarizes the situation best: Which is why it is important to have at least one unforgiving platform in the ecosystem which properly labels shit shit. That's OpenBSD. If anyone can't handle that, they can go to platforms which hide the reality.
2013-12-30Recognize PT_OPENBSD_RANDOMIZE in linker scripts.Mark Kettenis
ok miod@, matthew@
2013-12-28Prevent GCC from inlining these unsafe builtins: sprintf, vsprintf,Martynas Venckus
stpcpy, strcat, strcpy. Also don't simplify some safe builtins into unsafe ones, otherwise we'll hit the linker with the bogus warning. OK miod@, millert@.
2013-12-17Backport the code from binutils 2.16 that makes weak undefined referencesMark Kettenis
work on alpha. tested by naddy@, deraadt@
2013-12-14When writing a history entry, don't downcast time() return value toJeremie Courreges-Anglas
(long). Use (long long) and print it with %ll08x instead. ok zhuk@
2013-12-11Revert the previous commit; this is not the right approach.Mark Kettenis
2013-12-11Stop the madness! Prevent GCC from inlining these unsafe functions:Martynas Venckus
sprintf, vsprintf, stpcpy, strcat, strcpy. We're hitting the linker again, therefore the warning will show up now.
2013-12-03Backport from gcc4 (mostly): make collect2 preserve ld's stdout andPhilip Guenther
stderr separately so that redirections of gcc's stdout/stderr act as expected. ok and testing miod@
2013-12-03Kill usage of timeb.h for upcoming removal of libcompat. OK deraadt@Todd C. Miller
1997-06-28Latest version from Cyclic SoftwareThorsten Lockert
1996-10-18New release from Cyclic SoftwareThorsten Lockert
1996-01-30Missed files from 1.7.1 importThorsten Lockert
1995-12-19raw import of cvs-1.6Theo de Raadt
2013-12-02Do not add -lcompat in configure.Christian Weisgerber
libcompat isn't needed; configure checks for the presence of cuserid() and ftime() and the build copes well with the absence of either. ftime() would only ever be used if gettimeofday() wasn't available, and cuserid() is replaced by getlogin() but that code branch is not reached anyway. ok sthen@ jca@ deraadt@
2013-11-11disable kerberos support (only used for pserver, which we stronglyTheo de Raadt
discourage anyone from using anyways) ok various
2013-10-29Make gcc call collect2 on powerpc (instead of directly calling ld).Jeremie Courreges-Anglas
Kernel, base and ports seem happy with this change, and there's no reason for collect2 to be less useful on these machines. Offending lines in gcc/config found by Miod, thanks. Let's commit the right file this time. ok kettenis@ miod@ mpi@
2013-10-29Revert previous, wrong M ...Jeremie Courreges-Anglas
2013-10-29Make gcc call collect2 on powerpc (instead of directly calling ld).Jeremie Courreges-Anglas
Kernel, base and ports seem happy with this change, and there's no reason for collect2 to be less useful on these machines. Offending lines in gcc/config found by Miod, thanks! ok kettenis@ miod@ mpi@
2013-10-24f_bavail has been 64bits for some time now so revert 1.12.Federico G. Schwindt
Makes sendmail happy on fs with large enough f_bavail values. millert@ ok
2013-10-24Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval.Philip Guenther
Use useconds_t in the ualarm() declaration. Bump libstdc++ major to be sure there isn't ABI issues. ok deraadt@ jca@ jmc@ millert@ ports testing by landry@
2013-10-19fix a few obvious .Ar markup errors (unfortunately, there are many more)Ingo Schwarze
found while working on mandoc apropos
2013-10-19Depending on wether the kernel has been compiled with or withoutAlexander Bluhm
debug information, gdb will either see calltrap or alltraps in the stack trace of a kernel core file. To make the gdb backtrace command work without debug information in the amd64 kernel, add the same special case for alltraps as for calltrap. OK miod@
2013-10-09Merge binutils 2.15 einfo() buffering change to binutils-2.17.Todd C. Miller
OK deraadt@ miod@
2013-09-30Make stderr buffered in einfo(). Speeds up display of error messagesTodd C. Miller
on slower platforms. Idea from espie@, OK espie@ deraadt@ guenther@
2013-09-05gcc4 has phased out -W in favor of -Wextra. Teach gcc3 to recognize -WextraMiod Vallat
as an ersatz for -W. Now that more and more third-party software assumes the compiler supports -Wextra, this is definitely worth doing.
2013-09-05Explicitely define USE_GAS for OpenBSD targets; the configure machinery inMiod Vallat
gcc 3 no longer defines this for us.
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-08-11A few fixes from Tim Mcintosh:Miod Vallat
- provide 88110 syntactic sugar for the control register names - correctly handle -m options - and a minor fix to allow the register prefix to correctly be recognized in front of the condition codes (only needed for SVR4)
2013-08-08Remove an optimizer workaround for alpha/gcc2 although it was beingBrad Smith
applied for all archs. ok deraadt@ miod@
2013-08-08ino_t will never be smaller than 32 bits again; prep for when it's 64 bits.Philip Guenther
simplification and ok kettenis@
2013-08-08Prep for big ino_t: cast to unsigned long long and format with %ll or %qPhilip Guenther
httpd correction and ok kettenis@
1998-03-12Latest version from CyclicThorsten Lockert
2013-08-07don't warn on missing newline at eofJonathan Gray
matches the behaviour of gcc >= 4.3 and clang ok miod@
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2013-08-06Remove gcc 2.95 from the tree. One of the least bogus compiler we had (althoughMiod Vallat
it had required some generous bandaid), but unfortunately not able to compile most of the Real World (tm) software.
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-08-06Switch vax to gcc 3.3.6.Miod Vallat
2013-08-06One major difference between gcc 2.95 and gcc 3, is that the latter comesMiod Vallat
with an optimization pass which attemps to identify and remove dead stores. Unfortunately, this logic assumes that a given rtl MEM reference can only refer to register contents and values, but not further dereference memory. This is not true of all addressing modes on vax, and this causes gcc 3 to consider as dead stores everything which can be expressed as *offset(register) in vax assembly. The canonical example of this is linked list insertion or removal, with instructions such as "item->prev->next = item->next" being wrongly optimized out, and cause double frees or other funny linking problems later on. Add a knob to disable the troublesome part of that optimization pass, and only enable this knob on vax. This gives a native vax gcc 3 compiler able to rebuild the world.
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2000-01-19Update to 2.95.2Marc Espie