Commit Graph

153478 Commits

Author SHA1 Message Date
jnemeth daa80ec43e add another file to the VARSTACK list 2006-11-11 08:40:42 +00:00
christos e93069b387 PR/35034: Henning Petersen: Forgot to commit shlib_version 2006-11-11 07:40:45 +00:00
christos 743785267a add a hack to build a fake libssp-nonshared.a for bootstrapping. 2006-11-11 06:42:49 +00:00
christos 42b579bab8 disable SSP for standalone code. 2006-11-11 06:28:49 +00:00
christos d07f8e39ca don't run paxctl if other commands were specified for that target. 2006-11-11 06:15:55 +00:00
nakayama d3dbf0b0af Fix prop_send_ioctl.3 keyword to `.man'. 2006-11-11 05:30:50 +00:00
christos a62de02966 Add SSP support.
XXX: This is broken for me right now, because my kernel resets after fxp0
is probed, but it could be some bug in the driver/compiler.
2006-11-11 02:12:53 +00:00
reinoud dc6975451a Add missing space in comment 2006-11-10 22:31:19 +00:00
tsutsui df320777c1 Call re_reset() after re_stop() in re_init().
Without this, re(4) on my macppc sometimes falls into mangled state
and generates many errors after ifconfig(8) or tcpdump(8) etc.
2006-11-10 21:49:02 +00:00
christos f1ee5b182f fix flags assignment. 2006-11-10 21:39:57 +00:00
christos 9413d5ca54 more portability fixes. 2006-11-10 21:35:10 +00:00
christos 8d5697c533 don't include NetBSD specific files. 2006-11-10 20:55:37 +00:00
macallan f8fc7e5c07 remove some leftover #includes 2006-11-10 20:27:44 +00:00
christos d74c6175d2 add more ssp library files. 2006-11-10 19:43:02 +00:00
christos eeedf4b2c2 convert variable allocation to constant. 2006-11-10 18:15:12 +00:00
christos 499f07fbc0 use malloc instead of alloca. 2006-11-10 17:38:33 +00:00
christos 8a264b331e fix lint. 2006-11-10 17:37:39 +00:00
christos 98e199228a Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-) 2006-11-10 17:36:08 +00:00
christos e81129f492 add the non tool version of paxctl 2006-11-10 17:22:19 +00:00
christos 352234e55b paxctl changes. 2006-11-10 17:16:30 +00:00
christos fef715f487 if ${PROG_PAX} is defined, run paxctl on the binary after linking with
the value of the variable. This way, if you set:

    PROG_PAX=+M

in /etc/mk.conf, you get what you deserve.
2006-11-10 17:13:15 +00:00
christos 2354d57484 Add paxctl as a tool. 2006-11-10 16:50:10 +00:00
christos 4dec970d46 turn paxctl into a tool. pass lint. 2006-11-10 16:31:58 +00:00
christos 5a595b5295 PR/35027: Nicolas Joly: getconf argument parsing broken.
While there:
	- don't print numbern, print number\n
	- don't leak memory
	- consistently return EXIT_FAILURE
	- fix error checking
	- pass lint
2006-11-10 15:36:04 +00:00
martin 43ae9165b5 size_t is not always == int 2006-11-10 14:31:14 +00:00
yamt d4d55c3dc9 tcp_ctloutput: when called for a socket which is not AF_INET or AF_INET6,
panic rather than returning possibly leaking an mbuf.
2006-11-10 13:19:16 +00:00
yamt 22ffb8ee31 udp_ctloutput: plug a memory leak. 2006-11-10 13:02:32 +00:00
yamt 850e08319b remove some __unused in function parameters. 2006-11-10 13:01:55 +00:00
yamt d547c3b722 udp_ctloutput: remove unnecessary goto and break. 2006-11-10 13:00:23 +00:00
yamt 511f1a8ff8 udp_ctloutput: ansify. 2006-11-10 12:59:59 +00:00
yamt 641f2cc444 xennet_checksum_fill: remove a debug printf. 2006-11-10 11:52:49 +00:00
mrg 338dc05e99 note that GCC 4.1.2-20061021 (prerelease) was imported 2006-11-10 08:02:08 +00:00
christos f6e9654266 add -Wno-stack-protector because of the CMSG macro lossage. 2006-11-09 21:40:20 +00:00
christos 2d8fd6a6dd Sprinkle -Wno-stack-protector 2006-11-09 21:27:58 +00:00
christos fc3c3a7a5c include stdlib.h for exit. 2006-11-09 20:59:23 +00:00
christos 1dcd74fde3 eliminate alloca use. 2006-11-09 20:50:53 +00:00
christos 10891a6668 compile alloca using code -Wno-stack-protector 2006-11-09 20:45:01 +00:00
christos 30ae5bcf37 libgcc needs __stack_chk_fail_local(); make it public 2006-11-09 20:44:16 +00:00
christos bbfbbde1e9 eliminate the only alloca use and simplify the code. 2006-11-09 20:42:45 +00:00
christos 3a4d16937d compile a file with -Wno-stack-protector since it is using __cmsg_alignbytes()
for a variable on the stack.
2006-11-09 20:33:25 +00:00
christos 9f3fa7dc87 eliminate the only variable stack array allocation. 2006-11-09 20:22:18 +00:00
christos c9f5e8dae9 don't use a variable array on the stack for a stupid reason. 2006-11-09 20:12:29 +00:00
christos f1951fb14a compile some files with -Wno-stack-protector since they are heavy alloca
users.
2006-11-09 20:07:14 +00:00
christos 94eb6e9da8 fix typo 2006-11-09 19:51:06 +00:00
christos f06f014bee use malloc when ssp 2006-11-09 19:50:03 +00:00
christos 161813f9e4 eliminate alloca for ssp. 2006-11-09 19:45:57 +00:00
bouyer 4a1c74e813 Yet another broken seagate drive. 2006-11-09 19:43:05 +00:00
christos 80955a4c43 replace varstack alloc with malloc. 2006-11-09 19:41:59 +00:00
christos b6479e9fff Fix malloc/realloc/calloc issues: always check and exit, use EEXIT instead
of 8.
2006-11-09 19:36:36 +00:00
christos d7b4a29a98 mention needing gcc rebuild for ssp. 2006-11-09 18:20:59 +00:00