summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2003-08-12Don't tell people to use FD_SETSIZE as the first argument to select().Todd C. Miller
2003-08-11Convert to queue groups and queuing-only config w/ a queue runner.Todd C. Miller
This keeps sendmail from DoSing my machine when thousands of messages come in (generally mailing list bounces).
2003-08-10link File::Basename to basename, dirname, fileparseMarc Espie
ok millert@ `as long as basename(3) still points to the C routine'
2003-08-10sprintf -> snprintf, okay millert@.Marc Espie
2003-08-09Perl hints to use -O1 on mvme88k now; ok millert@Miod Vallat
2003-08-09fix for mcount call to allow .text sizes larger than 512k; epsie@ okMichael Shalayeff
2003-08-08On some architectures, being too optimistic in preserve_subexpressions_p(),Miod Vallat
for example when -fexpensive-optimizations is used, sometimes causes incorrect code sequences to be generated. As -fexpensive-optimizations is implied by -O2, this means we are potentially affected by this in numerous places... so add a specific workaround to nullify expensizve-optimizations in preserve_subexpressions_p() on a known-to-be-affected basis. So far, only alpha, powerpc, m88k, sparc and sparc64 are affected. Problem tracked down by henning@ - analysis by etoh@ and I - ugly workaround by me - ok deraadt@
2003-08-07Disable the so-called optimized memcpy functions for small (less than a fewMiod Vallat
hundred bytes) block copies. While the functions themselves are probably optimal or not far from it, the code responsible for their invocation is not, and has a bad tendency of miscomputing the destination buffer address, especially when optimization is used. This is a temporary measure, these functions will be reenabled once a good fix is ready. ok deraadt@ espie@
2003-08-06Check for and skip variable-length arrays while bounds checking insteadAnil Madhavapeddy
of erroring out in a later sanity check. Error noticed by jolan@ This only affects the -Wbounded case
2003-08-06small cleanup;Jason McIntyre
ok millert@
2003-08-06backport a fix from current gdb to fix a crash when using set enumTed Unangst
without an argument. problem reported by adrian at coresecurity.com ok millert@
2003-08-03gnu gzip dir is now bye byeTheo de Raadt
2003-08-01A working gcc 2.95/m88k compiler, for some low standard value of working.Miod Vallat
Configuration settings mostly borrowed from the former gcc 2.8 configuration. A few typos and fixes backported from gcc 3.3, and a hell lot of fixes from my fingertips. This is enough to yield a compiler which will produce correct code at -O0. Optimization is slightly broken for some constructs, and more fixes are in the pipeline. ok deraadt@
2003-08-01Back out threads setting inadvertently added in last commit.Todd C. Miller
2003-07-31We no longer use GNU diffutils; don't tell rcs we do...Todd C. Miller
2003-07-31Bye bye GNU gzexe(1).Otto Moerbeek
ok deraadt@
2003-07-30shine a bit moreTheo de Raadt
2003-07-30hppa no longer needs -O0 to build toke.c; from miod@ and OK mickey@Todd C. Miller
2003-07-30gnu diff goes bye byeTheo de Raadt
2003-07-29Bye bye GNU zforce(1), welcome BSD zforce(1).Otto Moerbeek
2003-07-29change_arg_use_in_operand: convert "set () (incoming_args)" to "set () (plus ↵Hiroaki Etoh
(vfp const))". The incoming_args alone is derived from the address operation of the 1st function argument. This fixes to protect the 1st function argument from buffer overflow. ok pvalcehv@
2003-07-29push_frame_in_args: fix netpbm-alpha problem, changes the memory corruption ↵Hiroaki Etoh
at modifying the argument information. ok pvalchev@
2003-07-29rtl_epilogue: convert "set () (incoming_args)" to "set () (plus (vfp const))".Hiroaki Etoh
The incoming_args alone is derived from the address operation of the 1st function argument. This fixes to protect the 1st function argument from buffer overflow. ok pvalchev@
2003-07-25kill a bit of whitespace at EOL;Jason McIntyre
2003-07-25New format attribute __kprintf__, which understands the special kernelAnil Madhavapeddy
format args (%r,%z,%:,%b). A step towards reenabling -Wformat in the kernel again ... deraadt@ ok
2003-07-23perl 5.8.2 from CPANTodd C. Miller
2003-07-23Update CGI module to version 2.98; fixes a cross-site scripting bugTodd C. Miller
2003-07-22openbsd64 is a 64 BIT (not but) v9 processor; pointed out by millert.Jason Wright
2003-07-22now that gcc generates "correct" calls to the quad emulation library andJason Wright
the libc functions are in place, remove HARD_QUAD from sparc64. (If you actually want it, for some demented reason, look at -mhard-quad-float, void where prohibited).
2003-07-22the version of gcc in the tree doesn't generate the correct callingJason Wright
convention for the _Qp_* functions. Rather than fix it, rely on the fact that it does produce correct calls to the _Q_* functions and provide a shim in libc (already committed) to deal with it.
2003-07-22switch to our own diff/diff3 (sdiff goes bye bye)Theo de Raadt
2003-07-22- use :L variable modifier with ELF_TOOLCHAIN variableBrad Smith
- change 2 instances of the check from != "yes" to == "no" ok deraadt@
2003-07-20No need to link with -lasn1 or -lcom_err anymore.Todd C. Miller
2003-07-20Document -Z flag for ld, produce old style 'standard' executables'. ok deraadt@Dale Rahn
2003-07-12remove zdiff now that compress has its ownTodd C. Miller
2003-07-11don't hardcode the default linker emulation type.Brad Smith
ok drahn@
2003-07-07fix location of readline includes;Jason McIntyre
from Manuel Sabban (PR 3345);
2003-07-03We have a real setreuid(2) in OpenBSD >= 3.3Todd C. Miller
2003-06-28remove a superfulous argument to a sorry() callAnil Madhavapeddy
deraadt@ ok
2003-06-26document the new attribute __bounded__Anil Madhavapeddy
with mdoc help from jmc@, deraadt@ ok
2003-06-26Introduce a simple static checker for making sure that the boundsAnil Madhavapeddy
length passed to common functions such as strlcpy/strlcat match the real length of the buffer. It also checks to make sure that the bound length was not incorrectly derived from a sizeof(pointer) operation. Functions must be marked with the new attribute __bounded__, and warnings are turned on by -Wbounded. Specifying -Wformat also enables bounds checking for scanf(3) bounds to '%s' format variables. -Wall now turns on -Wbounded also. The checking is pretty limited right now to constant parameters, and the buffers must be statically declared, and not inside a record type. This simple checking still found hundreds of bugs around the ports tree though, and there have been no false positive warnings. 10x to niklas@, Richard Sharp and David Scott {rich,dave}@recoil.org for compiler advice. deraadt@ ok, miod@ tested on his collection of hardware You need to recompile gcc now if source upgrading in -current before doing a make world.
2003-06-26Use libc getopt_long; missed when I changed diff's main MakefileTodd C. Miller
a while ago.
2003-06-24Pull in change 17805 by hv@hv-crypt.org on 2002/08/29 13:49:04Todd C. Miller
Fix based on: Subject: [perl #16799] Perl 5.8.0 breaks POSIX::isprint() (and other POSIX::xxx) From: "esm@pobox.com (via RT)" <perlbug@perl.org> Date: 27 Aug 2002 22:10:16 -0000 Message-Id: <rt-16799-35846.14.4842888832041@bugs6.perl.org>
2003-06-23this zmore no longer usedTheo de Raadt
2003-06-22bye bye grep (gzip remains for a few scripts)Theo de Raadt
2003-06-22use in-tree grep. it also does z*grepTheo de Raadt
2003-06-22bye bye gnu gzip. The only parts we keep using are the scripts ofTheo de Raadt
questionable license. These will be rewritten soon I hope. Our compress, linked against libz, now does everything gzip does.
2003-06-20To keep the frame pointer addressing for stack_protection,Hiroaki Etoh
skip the canonicalization; (minus A (plus B C)) to (minus (minus A B) C) where B is frame pointer and C is frame offset. ok pvalchev@
2003-06-20To keep the frame pointer addressing for stack_protection, skip the ↵Hiroaki Etoh
following RTL conversion; (plus (plus fp offset) const) to (plus (plus fp const) offset). ok pvalchev@
2003-06-15fix last O_CREAT without mode; otto@drijf.netTheo de Raadt