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
yamt
89682b24fe
remove some __unused in function parameters.
2006-11-09 09:53:57 +00:00
christos
6367f77577
-Wno-stack-protector
2006-11-09 04:07:11 +00:00
christos
0dd539c2fc
Add COPTS bypass in rules.
2006-11-09 04:06:51 +00:00
christos
0b1f5855c2
no stack protector warning for execvp
2006-11-09 04:00:11 +00:00
christos
4ba9b8cfbe
undo the previous; we need alloca here, otherwise the parent will leak on
...
vfork.
2006-11-09 03:57:26 +00:00
christos
e0d6d71d76
use mmap instead of malloc because we may have vforked. pointed out by yamt.
2006-11-09 02:51:52 +00:00
pooka
644b5e87f7
puffs manual pages
2006-11-09 01:35:02 +00:00
pooka
ab2346c4b0
add libpuffs
2006-11-09 01:31:11 +00:00
pooka
b8a1eae019
initial documentation for the puffs library interface
2006-11-09 01:30:15 +00:00
pooka
095997aad1
initial documentation for the puffs message interface
2006-11-09 01:29:34 +00:00
scw
5a9e652d52
Build a gzboot image suitable for CP3100.
2006-11-09 00:35:32 +00:00