History log of /src/usr.sbin/ndbootd |
Revision | Date | Author | Comments |
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.3 | 13-Jun-2001 |
fredette | Import of Matt Fredette's ndbootd-0.5 boot program for Sun2 machines.
|
1.1.1.2 | 23-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.9 | 03-Jun-2023 |
lukem | bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
1.8 | 06-Sep-2020 |
mrg | add support for new GCC 9 warnings that may be too much to fix right now. new address-of-packed-member and format-overflow warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.
apply to a bunch of the tree. mostly, these are real bugs that should be fixed, but in many cases, only by removing the 'packed' attribute from some structure that doesn't really need it. (i looked at many different ones, and while perhaps 60-80% were already properly aligned, it wasn't clear to me that the uses were always coming from sane data vs network alignment, so it doesn't seem safe to remove packed without careful research for each affect struct.) clang already warned (and was not erroring) for many of these cases, but gcc picked up dozens more.
|
1.7 | 26-May-2011 |
joerg | Default to -Wno-sign-compare -Wno-pointer-sign for clang. Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
|
1.6 | 22-Apr-2009 |
lukem | Enable WARNS=4 by default, except for: cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
|
1.5 | 27-Apr-2008 |
tsutsui | branches: 1.5.8; Enable gcc optimization on m68000 (sun2) again with minimum hacks. gcc -O0 generates a bit fat binaries.
|
1.4 | 09-Feb-2008 |
mrg | branches: 1.4.4; make all sun2 use -O0 and move most of the hacks out into just 3 files.
|
1.3 | 28-May-2007 |
tls | branches: 1.3.4; Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
1.2 | 24-Jun-2006 |
mrg | work around some GCC4 internal problems on m68000 platform. document the hack, and update another GCC4 list.
|
1.1 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.3.4.1 | 23-Mar-2008 |
matt | sync with HEAD
|
1.4.4.1 | 18-May-2008 |
yamt | sync with head.
|
1.5.8.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.3 | 13-Jun-2001 |
fredette | Merge in ndbootd-0.5.
|
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.2 | 13-Jun-2001 |
fredette | Import of Matt Fredette's ndbootd-0.5 boot program for Sun2 machines.
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.4 | 13-Jun-2001 |
fredette | Merge in ndbootd-0.5.
|
1.3 | 23-May-2001 |
fredette | Merge in ndbootd-0.4.
|
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.3 | 13-Jun-2001 |
fredette | Import of Matt Fredette's ndbootd-0.5 boot program for Sun2 machines.
|
1.1.1.2 | 23-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.4 | 02-Feb-2002 |
wiz | Drop a superfluous .Pp.
|
1.3 | 19-Jan-2002 |
wiz | Whitespace nits.
|
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.13 | 30-Oct-2021 |
nia | ndbootd(8): Rework allocation macros to add integer overflow checking.
|
1.12 | 08-Apr-2007 |
scw | Undo a workaround for an old SH5 toolchain bug. No functional change.
|
1.11 | 25-May-2006 |
christos | branches: 1.11.4; 1.11.6; Coverity CID 754: Fix erroneous check. How could this ever work?
|
1.10 | 02-Jun-2005 |
lukem | appease gcc -Wuninitialized
|
1.9 | 02-Jun-2005 |
lukem | Rewrite method used to determine the ethernet address of the desired interface to not use uninitalized variables. Bug crept in in conversion to getifaddrs(). Detected with gcc -Wuninitalized.
|
1.8 | 17-Aug-2003 |
itojun | branches: 1.8.6; SIOCGIFCONF->getifaddrs conversion
|
1.7 | 19-Sep-2002 |
mycroft | select() -> poll(), nanosleep()
|
1.6 | 11-Jul-2002 |
scw | Work-around an internal compiler error on the SuperH sh5 toolchain.
|
1.5 | 09-Apr-2002 |
thorpej | Use __RCSID().
|
1.4 | 13-Jun-2001 |
fredette | Merge in ndbootd-0.5.
|
1.3 | 23-May-2001 |
fredette | Merge in ndbootd-0.4.
|
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.3 | 13-Jun-2001 |
fredette | Import of Matt Fredette's ndbootd-0.5 boot program for Sun2 machines.
|
1.1.1.2 | 23-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.8.6.1 | 15-Jun-2005 |
snj | Pull up revision 1.9 (requested by lukem in ticket #419): Rewrite method used to determine the ethernet address of the desired interface to not use uninitalized variables. Bug crept in in conversion to getifaddrs(). Detected with gcc -Wuninitalized.
|
1.11.6.1 | 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
1.11.4.1 | 19-Jul-2007 |
liamjfoy | Pull up following revision(s) (requested by soren in ticket #774): build.sh: revision 1.169 gnu/usr.bin/gcc4/backend/Makefile: revision 1.9 sys/arch/evbsh5/README: revision 1.1 distrib/notes/common/contents: revision 1.124 usr.sbin/ndbootd/ndbootd.c: revision 1.12 gnu/lib/libopcodes/arch/sh3eb/defs.mk: revision 1.4 gnu/lib/libbfd/arch/sh3eb/defs.mk: revision 1.8 libexec/ld.elf_so/Makefile: revision 1.78 gnu/dist/binutils/bfd/config.bfd: revision 1.14 doc/HACKS: revision 1.93 distrib/cdrom/current.conf: revision 1.8 gnu/lib/libgcc4/Makefile.inc: revision 1.6 share/mk/sys.mk: revision 1.90 distrib/sets/lists/base/mi: revision 1.700 libexec/ld.elf_so/rtld.c: revision 1.112 distrib/sets/lists/base/mi: revision 1.702 sys/arch/sh5/README: revision 1.1 gnu/lib/libbfd/arch/sh3el/bfd.h: revision 1.7 usr.sbin/traceroute/traceroute.c: revision 1.69 distrib/notes/common/main: revision 1.330 distrib/notes/common/list-setsizes.sh: revision 1.2 sys/arch/Makefile: revision 1.35 gnu/lib/libopcodes/arch/sh3el/defs.mk: revision 1.4 gnu/lib/libbfd/arch/sh3el/defs.mk: revision 1.8 share/mk/bsd.own.mk: revision 1.495 gnu/lib/libbfd/arch/sh3eb/bfd.h: revision 1.7 x11/lib/OSmesa/Makefile: revision 1.20 sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.13 gnu/dist/binutils/opcodes/configure.in: revision 1.2 gnu/dist/binutils/opcodes/configure: revision 1.2 gnu/usr.bin/send-pr/categories: revision 1.53 etc/mtree/NetBSD.dist: revision 1.339 sys/arch/README: revision 1.42 lib/libc/gdtoa/Makefile.inc: revision 1.6 usr.bin/crunch/crunchide/Makefile: revision 1.16 sys/lkm/net/bsdcomp/Makefile: revision 1.5 regress/sys/uvm/Makefile: revision 1.6 etc/MAKEDEV.awk: revision 1.18 x11/Xserver/GL/GLcore/Makefile.GLcore: revision 1.10 sys/contrib/dev/ath/netbsd/Makefile.ath.inc: revision 1.14 gnu/lib/libbfd/Makefile: revision 1.42 doc/RESPONSIBLE: revision 1.78 Remove evbsh5.
|
1.5 | 06-Jan-2004 |
wiz | Fix MAX macro; from Jeff Ito in PR 24008.
|
1.4 | 17-Aug-2003 |
itojun | SIOCGIFCONF->getifaddrs conversion
|
1.3 | 09-Apr-2002 |
thorpej | Use __RCSID().
|
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.8 | 01-Dec-2004 |
christos | use cloning bpf.
|
1.7 | 10-Apr-2004 |
darrenr | With recent changes to BPF, pushing the default buffer size to 1MB, running a bunch of small daemons that seem small packet flows can easily chew up significant kernel memory (each BPF device opened takes 2*buffersize of wired memory.) In each of these applications, add code to set the buffer size to 32k before setting the interface.
|
1.6 | 15-Jul-2003 |
itojun | branches: 1.6.2; use snprintf
|
1.5 | 19-Sep-2002 |
mycroft | select() -> poll(), nanosleep()
|
1.4 | 09-Apr-2002 |
thorpej | Use __RCSID().
|
1.3 | 23-May-2001 |
fredette | Merge in ndbootd-0.4.
|
1.2 | 22-May-2001 |
fredette | Finished the 3rdparty import procedure for the ndbootd package: Added RCS IDs, a Makefile, added to 3RDPARTY. Also removed sunndd from 3RDPARTY.
|
1.1 | 22-May-2001 |
fredette | branches: 1.1.1; Initial revision
|
1.1.1.2 | 23-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.1.1.1 | 22-May-2001 |
fredette | Import of Matt Fredette's ndbootd boot program for Sun2 machines.
|
1.6.2.1 | 21-Apr-2004 |
jmc | Pullup rev 1.7 (requested by darrenr in ticket #167)
Reduce bpf buffer to 32k from 1M to reduce kernel memory usage from userland binaries. Fix bpf so that select will return for a timeout. Fix the behaviour of BIOCIMMEDIATE. In bpf_mtap(), optimise the calling of bpf_filter() and catchpacket() based on whether or not the entire packet is in one mbuf. Various other bpf fixes, including PR#8674, PR#12170
|