summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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
2003-06-14remove some trailing whitespace;Jason McIntyre
2003-06-13add __LP64__ and _LP64 CPP predefines for systems using LP64.Brad Smith
pvalchev@ fgsch@ millert@ ok
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-12remove cruftTodd C. Miller
2003-06-11support to arm. ok deraadt@Kevin Lo
2003-06-10Install rcs2log, not a symlink to ../share/cvs/contrib/rcs2logTodd C. Miller
Fix from SUZUKI Hitoshi; closes PR 3298
2003-06-04Clearer explanation of -fno-builtin-<function>; espie@ OKTodd C. Miller
2003-06-04document -fno-builtin-<function>, ok miod@Marc Espie
2003-06-04Recgonize -fno-builtin-<function>Marc Espie
okay tdeval, fries, tdeval, millert...
2003-06-032 termsMarc Espie
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-06-02somehow duplicate lines had gotten in thereMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02remove terms 3 and 4 of some of my licencesTheo de Raadt
2003-05-17no need for O0 on hppa anymoreMichael Shalayeff
2003-05-16syncHans Insulander
2003-05-16Don't link with -lkrb -lkafs.Hans Insulander
ok jakob@
2003-05-14correct bound length and make sure string is always nul'dTed Unangst
fixes problem found by markus@
2003-05-13buffer size is strlen + 1. ok beck@Ted Unangst
2003-05-12Disable krb4 support in preparation for krb4 removal.Magnus Holmberg
ok jakob@, hin@
2003-05-12strings in libreadline, again. this time with no abi change,Bob Beck
static builds still seem to work with this. ok deraadt@ tedu@
2003-05-10Back out libreadline changes, this breaks static build (I.E. vax).Bob Beck
changes are nontrivial to fix. Will return when static build works.
2003-05-08multiple readlink() calls that forgot the -1...Vincent Labrecque
ok millert
2003-05-08Previously, ld.so would use a single page for mapping the hints fileTodd C. Miller
and then, if that was not big enough, map the rest of it contiguously. However, there is no guarantee that the address space after the first mmap has not already been used by something else. Instead, just fstat the file and map up to st_size. Also reorganized the code a tad and added some sanity checks for st_size. Problem tracked down by dhartmei@ and mickey@; drahn@ OK.
2003-05-08Don't inline strcpy. since it's evil anyway. This makes itBob Beck
easier to find in object files without worrying about whether or not -fno-builtin was used in building. ok itojun@, tedu@, anil@, henning@, etc...
2003-05-08stringsBob Beck
ok tedu@, art@
2003-05-07fix a memleakVincent Labrecque
ok deraadt
2003-05-07Re-include a patch missed in the recent upgrade:Anil Madhavapeddy
When passive FTP fails, switch to active FTP and try again Submitted by Andrew Basterfield <bob@cemetery.homeunix.org>
2003-05-06minor string cleanings; tdeval okTheo de Raadt
2003-05-05correct incorrect off-by-one sscanf boundAnil Madhavapeddy
millert@ ok
2003-05-05Move exec base to 0x1c000000, exe/data gap to 512MB. Allows betterDale Rahn
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386.
2003-05-01Update to lynx-2.8.4-rel1, patchset d, now with IPv6 as wellAnil Madhavapeddy
Local patches we maintain to the distribution are: - replace unbounded fscanf with fgets (avsm) - spelling fixes (deraadt) - hppa -O0 workaround (mickey) - default to ftp passive (deraadt) - work with non-exec scripts (deraadt,hin,maja) - be more careful with rlogin username (art) - default to our webpage (deraadt) - install helpfiles locally (maja) - mkdtemp temp space directory (art) - install more recent config.guess (avsm) Tested by beck,millert,grange,fries,miod and others, deraadt@ ok
2003-04-28string cleaningTheo de Raadt
2003-04-28work around XOPEN declTheo de Raadt