Commit Graph

153551 Commits

Author SHA1 Message Date
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
christos
7a23599e76 add LDADD + DPADD for libssp. Pointed out by Geoff Wing. 2006-11-09 17:08:04 +00:00
christos
3051b08454 Add ssp glue. 2006-11-09 17:06:54 +00:00
christos
6ce0a263c4 no point in using alloca here. 2006-11-09 17:02:52 +00:00
christos
72301cb079 don't use alloca with ssp. 2006-11-09 16:58:38 +00:00
jmmv
cff91bd8fc Add 2006 to the copyright notice; should have done this when touching the
files before.
2006-11-09 16:20:06 +00:00
jmmv
d1d4964327 Move the "Removal of current directory" test to t_rmdir from t_remove
because that's the operation we are issuing.  Adjust it to expect a
failure on further accesses to the removed directory.
2006-11-09 15:38:12 +00:00
jmmv
ccb670c8b8 Opening a file after it has been removed (e.g. rmdir $(pwd)) has to fail. 2006-11-09 15:36:30 +00:00
he
597433ec76 Add missing argument and correct name of __vsnprintf_chk() declaration. 2006-11-09 15:31:11 +00:00
jmmv
c484aa16e3 Note changes to vnd to make it work in file systems without bmap nor
strategy.
2006-11-09 15:28:46 +00:00
jmmv
b6714d04d8 Check if the underlying file system supports VOP_BMAP and VOP_STRATEGY and,
if not, fallback to VOP_READ and VOP_WRITE.  This makes vnd work with files
on, e.g. tmpfs and smbfs; all file systems should behave as before.
OK'ed by silence in tech-kern@.
2006-11-09 15:27:40 +00:00
jmmv
1befc83712 Add tests for vnd over tmpfs files. 2006-11-09 15:25:37 +00:00
tsutsui
36fcb0cbe4 Add rgephy at mii and rlphy at mii.
Tested on Ultra5 with RTL8139C (not plus) and RTL8169S.
2006-11-09 15:23:42 +00:00
tsutsui
2ae6e40c03 More cleanup of sparc64 clock stuff:
- split mkclock attachment from sparc64/clock.c into dev/mkclock.c
  (now clock.s only contains clock interrupt and timecounter stuff)
- rename match/attach functions of rtc at ebus to match the device name
- update some comments around clock devices in GENERIC

No objection on port-sparc64 for a month.
2006-11-09 15:08:04 +00:00
jmmv
f3e033579e Note audit of kqueue notifications in tmpfs. 2006-11-09 15:08:02 +00:00
jmmv
117b5f5104 Audit kqueue notifications. The reference behavior is taken from MFS and
is represented in the regression tests.
2006-11-09 15:06:03 +00:00
tsutsui
492fddeb4a Print device revision on attach. 2006-11-09 14:59:55 +00:00
tsutsui
8d3021b407 Add #include <sys/device.h> for struct device.
Fixes compile error on sparc64.
2006-11-09 14:43:10 +00:00
cube
3574e17e23 Regen (PR#34951 fixes). 2006-11-09 14:10:21 +00:00
cube
1277ee639e - Make better use of COMPAT_XX type in syscalls.master
- Remove useless (thanks to COMPAT_XX behaviour) #ifdefs in
  syscalls.master
- Make netbsd32_compat_43.c compiled per COMPAT_LINUX32 because the latter
  needs stuff from it.

Fixes Perry's PR#34951.
2006-11-09 14:09:37 +00:00
jmmv
e8467243ef Add several checks to see if tmpfs raises the proper kqueue events during
operation.  These all match the behavior exposed by MFS (except for a
corner case that is described in t_link).

Fixes to tmpfs itself to make these tests pass will come soon.
2006-11-09 13:51:49 +00:00
pooka
d666e1c0f4 play catchup with the rest of the world, i.e. shuffle stuff a bit 2006-11-09 13:11:52 +00:00
pooka
80ce20607e * catch up with kernel changes
* better error handling when mounting
2006-11-09 13:11:01 +00:00
pooka
098590e87e few renames to better differentiate between mount & start.. plus some
other renaming
2006-11-09 13:09:34 +00:00
rillig
9527a32b3d Added another test case and enabled it. 2006-11-09 12:17:35 +00:00
yamt
1de5b4994d vmem_xalloc: plug memory leak on error. 2006-11-09 10:08:53 +00:00
yamt
442aa98fcd remove nqnfs support.
namely,
	- make -q a synonym of -3.
	- ignore -L and -D.
2006-11-09 10:07:00 +00:00
yamt
c59a65e2fe add comments. 2006-11-09 10:04:40 +00:00