Commit Graph

2693 Commits

Author SHA1 Message Date
itojun 3e7ebe19d9 sync with sendmail 8.11.1.
added file: /usr/share/sendmail/ostype/solaris8.m4
2000-10-10 11:17:29 +00:00
itojun e72ddc0839 sendmail 8.11.1 2000-10-10 10:57:49 +00:00
itojun a6ede27799 (unexploitable) integer range check mistake in "sendmail -bt".
http://www.securityfocus.com/templates/archive.pike?threads=1&start=2000-10-08&mid=138539&fromthread=1&list=1&end=2000-10-14&
2000-10-10 09:45:50 +00:00
sommerfeld ac07e85117 Enhanced format checking, mk II:
New option -Wno-format-extra-args : suppress warning for:
	printf("foo", bar);
since that isn't interesting from the POV of this audit, and it's more
common than most in some code.

also, do format args checking for
	printf(Aflag ? "format 1: %s" : "format 2: %s", bar);
albeit in a half-hearted way for now (just check the "then" case)
2000-10-05 13:08:57 +00:00
sommerfeld ad8aa5a492 Enhanced format string checking.
If -Wformat is enabled, try harder to chase down compile-time constant
format strings.. capable of catching things like:
	const char foo[]="%s %d";
	printf(foo, 1, "2");

If the new option -Wnetbsd-format-audit (no, I don't like the name,
either) is enabled, complain about non-constant format strings we
can't verify.  In particular, for *v*printf-like functions (i.e.,
non-variadic functions which are passed a va_list), insist that the
format string come from a parameter declared as a format string
argument, so that functions which should be declared as printflike are
caught at compile time.
2000-10-04 19:21:28 +00:00
jeffs d00dba6879 Supply fetch_kcore_registers() implementation for NetBSD mips. 2000-10-03 22:48:54 +00:00
itojun 28d5cf3074 IPv6 support for pserver.
TODO: it conflicts with kerbeors support, however, it seems that it is
not possible to build with the current kerberos support.
i just put some #error in it.
2000-09-30 02:44:19 +00:00
eeh b555818569 Add _rtld_debug_state to the list of symbols where GDB may stop the
dynamic linker.
2000-09-25 17:10:28 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
mrg 4da440af9a make this work for i386-netbsdelf. most of this work is based on patches
from thorpej that includes a rewrite of the config/i386/netbsd-elf.h file.
2000-09-14 03:56:04 +00:00
msaitoh 9308d053b8 gen_call() takes only two arguments (from egcs-current) 2000-09-13 19:51:22 +00:00
soren 3c49111cd5 Add admin category. 2000-09-05 15:20:36 +00:00
enami ad17819c4c Ditto with cvsbug; don't attempt to create .depend. 2000-09-05 05:15:11 +00:00
enami 69145e7ba0 Don't attempt to create .depend really. 2000-09-05 05:04:00 +00:00
christos c1040a0bf8 Don't try to strip shell scripts. 2000-09-04 22:35:01 +00:00
christos 443e496d1c Add another automatically generated file. 2000-09-04 22:26:43 +00:00
christos 330493055a more cleanup:
remove windows/NT makefiles
	remove .cvsignore files
2000-09-04 22:25:24 +00:00
christos 5ffb3bd05d this got ignored in the import somehow. 2000-09-04 22:19:26 +00:00
christos f3626f4e19 fix the Makefiles to work with ${OBJDIR} 2000-09-04 22:14:31 +00:00
christos 82dfee0b88 Build cvs 2000-09-04 22:12:22 +00:00
christos 1aedcfb5d3 Apply patches from the cvs-current package. 2000-09-04 22:12:05 +00:00
christos 5c984f3d99 Initial import of cvs-1.10.8 from ftp.cvshome.org minus the os support. 2000-09-04 21:47:02 +00:00
christos 7803a4e4ef Add reach-over Makefiles for cvs 2000-09-04 21:46:56 +00:00
christos 16cc52a1aa Initial import of cvs-1.10.8 from ftp.cvshome.org minus the os support. 2000-09-04 21:40:07 +00:00
mrg 0dc7000eaa - define SPARC_BI_ARCH
- move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to -D__sparc64__
- copy and modify many SPARC_BI_ARCH `specs' from <sparc/sol2-sld-64.h>.
  these currently look for 32 bit things in /emul/netbsd32, but this is
  temporary


with these changes, i can succesfully build working 32 bit binaries on
a 64 bit system, as long as libgcc, *crt*.o and necessary libraries
exist under /emul/netbsd32.
2000-08-31 14:14:32 +00:00
mrg e486a9a452 - move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to "-D__sparc", preserving old CPP_PREDEFINES
  semantics.
2000-08-31 14:10:09 +00:00
mrg 1148c9223a - add missing %(asm_arch) to ASM_SPEC
- merge <netbsd.h> & <sparc/sparc.h> CPP_SPEC's.
- move CPP_PREDEFINES here from the 32bit/64bit configurations.
2000-08-31 14:08:02 +00:00
hubertf 2be9f0470d Fix the path to netbsd-proto-IPv4only.mc in the installed
netbsd-proto.mc file. Suggested by Frederick Bruckman <fb@enteract.com>
2000-08-26 04:24:58 +00:00
matt 714ca97978 fix gdb so it read core dumps file correctly on the vax. 2000-08-25 03:29:16 +00:00
hubertf 273a01201a Enable some commonly used features: genericstable, mailertable, virtusertable,
domaintable, access_db and redirect.
2000-08-25 02:54:29 +00:00
hubertf 18e5216ace add that netbsd-proto.cf now depends on netbsd-proto-IPv4only.mc 2000-08-25 02:47:37 +00:00
hubertf 72640eaccd Rewrite: include netbsd-proto-IPv4only.mc, and enable handling of IPv6. 2000-08-25 02:36:23 +00:00
enami 293609abba Allow to override CFDIR from command line. 2000-08-23 10:43:06 +00:00
tv 09c7751d41 Put vax in the "nbsd" emulation. 2000-08-22 17:41:24 +00:00
tv 35db5d3725 Re-add TARGET_SYMBOL_FIELDS until this is redone correctly using
TC_SYMFIELD_TYPE.
2000-08-22 17:39:43 +00:00
tsubai 84ecfb5e88 Call mcount for profiling. 2000-08-22 11:24:41 +00:00
msaitoh 8ca9f7f132 fix one of the two fixunsdfsi with fixunssfsi 2000-08-21 14:05:25 +00:00
itojun 97c5ff842d NetBSD has setusercontext() since Feb 2000.
detect it by "1.4Q or more recent" (are there better ways? - it is
not about kernel API...)
2000-08-20 19:37:45 +00:00
tv b3e56e61e9 Add some compatibility vectors to allow objdump'ing and objcopy'ing of
formats used by COMPAT_ emulations.
2000-08-20 18:01:51 +00:00
tv 0ed3ab1dff Add vaxnetbsd_vec. 2000-08-20 17:58:17 +00:00
tv 83b3d9e356 Add netbsdaout.lo to i386netbsd_vec. 2000-08-18 18:28:13 +00:00
tv 7869cbfce2 plt_offset->plt.offset fix 2000-08-18 18:21:29 +00:00
tv 64dfdf4c5c Add definition for mipselnetbsd_vec. 2000-08-18 18:20:42 +00:00
eeh 99150af770 Fix `call'. This can panic the kernel due to an unhandled FPU exception. 2000-08-18 18:14:09 +00:00
tv f5781c1805 Add some more targ_extra_emuls. 2000-08-18 17:40:34 +00:00
tv 9ef2ad5184 Define SET_ARCH_MACH only if not already set. 2000-08-18 16:54:23 +00:00
tv b30f55f2f3 Add other-endian mips emulations and sparc32 on sparc64 for target_extra_emuls. 2000-08-18 16:50:09 +00:00
tv 0a7caaf76f Revert changes caused by running autoconf in this directory; leave only the
NetBSD additions (makes future import merges much easier).
2000-08-18 16:18:45 +00:00
tv 4a00eaa0a3 Fix const warnings surrounding bfd_target_vector. 2000-08-18 15:58:57 +00:00
mrg 2d76e7037d in define_split, only check "reload_completed", removing the bogus 64-bit
and FPU checks that caused compile failures for no good reason.
from: <root@ihack.net>
2000-08-18 15:45:28 +00:00