Commit Graph

158273 Commits

Author SHA1 Message Date
pooka
fca427389c some routines for setting mount parameters 2007-04-16 08:28:55 +00:00
enami
780e071921 Don't expand RCS id of ancestor file. The id itself is actually copied
from null_vnops.c since the log message of rev. 1.1 implies the copy.
2007-04-16 08:10:58 +00:00
dyoung
339f95c302 Make this compile with or without 'options ATADEBUG'. 2007-04-16 05:25:36 +00:00
chs
aba740b225 define a pager flag PGO_RECLAIM, similar to FSYNC_RECLAIM, and use it
to skip unnecessary flushing when layered file system vnodes are recycled.
this also prevents a deadlock with the dodgy LFS putpages routine.
fixes the non-LFS part of PR 36150.
2007-04-16 05:14:54 +00:00
christos
7df3bf9f10 save and restore %eax, %ecx, otherwise profiling does not work properly.
From Anon Ymous. Example program that fails:

	int
	main(int argc, char *argv[])
	{
		return argc;
	}
2007-04-16 03:49:52 +00:00
dogcow
6586d2040a fix build on arches with chars that're by default unsigned.
(patch supplied by martin.)
Forgot that iptest uses these files, rather than the one in src/dist/ipf.
2007-04-16 02:40:25 +00:00
dogcow
65febf04fc fix build on arches with chars that're by default unsigned.
(patch supplied by martin.)
2007-04-16 02:36:24 +00:00
macallan
4949af4d83 actually support WSDISPLAY_COMPAT_RAWKBD
unlike akbd we're sending ADB scancodes though, and don't try to translate
them into XT scancodes
2007-04-16 02:12:11 +00:00
lukem
31835c3a13 Replace a "while" with an "if" since the code path only gets executed once. 2007-04-16 00:43:43 +00:00
macallan
d92688e114 more autoconfig cosmetics 2007-04-16 00:22:55 +00:00
macallan
b0c5f0da81 cleanup autoconfig output 2007-04-16 00:18:34 +00:00
macallan
27805ca303 on the iBook Fn-Command sends the same scancode as the power button on some
powerbooks so we'll listen to this scancode only on powerbooks
2007-04-16 00:16:43 +00:00
matt
f6c632db63 Add TURBOChannel machine-dependent include for VAX. 2007-04-15 23:27:02 +00:00
matt
8655342068 -O1 on vax isn't quite enough, add -fgcse -fstrength-reduce -fgcse-after-reload
too.  We can build again.
2007-04-15 22:53:08 +00:00
jmcneill
c1ee0b42d1 We don't support WSDISPLAYIO_[SG]VIDEO, so don't try to hide it. 2007-04-15 20:37:24 +00:00
rumble
d5731af33f s/MAC-100/MAC-110/ 2007-04-15 20:31:05 +00:00
matt
b3fb0316d2 Convert to cpufunc_* to struct initializers. 2007-04-15 20:29:21 +00:00
uwe
05302ae7c4 Descend into landisk for ALLNOTES. 2007-04-15 17:12:04 +00:00
uwe
d264cb3d55 Rudimentary documentation for NetBSD/landisk. 2007-04-15 17:09:51 +00:00
yamt
882fb29b72 yamt-idlelwp: update base 2007-04-15 17:03:46 +00:00
agc
aac1680082 Add id3fs, a virtual file system, based on librefuse, for accessing
mp3-based files according to artist, genre or year.

Three virtual directories are made available under the mount point -

	artists/
	genre/
	year/

and then virtual directory entries (see virtdir(3)) are created under
these heading directories.

The pkgsrc/audio/id3 package is needed for this file system to function
properly.

Two shell scripts, id3info.sh and id3db.sh, are included to build up
the music database for id3fs to use to build up its virtual
directories.
2007-04-15 15:22:44 +00:00
agc
777436c8cf Add routines to manipulate virtual directory entries, for use with
librefuse-based file systems.

These are especially useful for file systems which present virtual
directory hierarchies to the caller.

The routines build up and manage an array of virtual directory
entries, indexed upon full pathname within the file system.  This is
analogous to the way refuse indexes its own entries.  Routines are
available to add, delete, and find entries.  Each entry can be one of
3 types - file ('f'), directory ('d') or symbolic link ('l').  Each
entry can also be associated with a target, which is a character
string allocated upon addition.  This can be useful for virtual
directory entries of the symbolic link type.

The virtual directory entries can be traversed as an ordered list
(the entries are ordered alphabetically), or can be accessed by
directory component, using routines analogous to opendir(3), readdir(3),
and closedir(3).
2007-04-15 15:10:56 +00:00
degroote
6997fa5f35 Choose the good default policy, depending of the adress family of the
desired policy
2007-04-15 14:17:12 +00:00
gdt
664f30be9e Stop doing vref of vnodes on open (and vrele on close); this makes no
sense.

Improve coda_inactive, turning commented out DIAGNOSTIC checks into printfs.

minor style/comment fixes.
2007-04-15 14:10:28 +00:00
njoly
47ae0ac9f2 Fix envsys ranges. 2007-04-15 13:03:20 +00:00
gdt
c27898729a In coda_{get,put}pages, drop and obtain v_uobj.vmobjlock rather than
v_interlock.  They are actually the same lock, but the former protects
the uvm object associated with the vnode, and the latter vnode
reference counts.   Explained to me by chs@.
2007-04-15 12:59:04 +00:00
gdt
6be5cb158f Based on suggestion from chs@, drop coda vnode interlock before
obtaining interlock on container vnode in coda_{get,put}pages.  This
is the only functional change in this commit.

Improve many comments.  In particular, note that the relationship
between VOP_OPEN and obtaining a container file (e.g. for getpages for
executables) is messy.

Add printfs for 'internal open' cases in coda_rdwr.  These have not
been triggered in my testing.  Note an apparent vref leak.
2007-04-15 12:45:39 +00:00
tnn
368b74aabf Correct envsys ranges. From njoly@ 2007-04-15 12:38:09 +00:00
martin
da6823c65c A few tweaks (no effect on NetBSD-current) to make syncing with upstream
easier.
2007-04-15 10:42:40 +00:00
plunky
2ec4c16ef8 although this is an intentionally undocumented interface (see PR/35278),
fix up the non existent documentation to reflect the reality.
2007-04-15 10:36:51 +00:00
dyoung
d60552baa5 Cosmetic: shorten a staircase. bzero -> memset. KNF. 2007-04-15 06:15:58 +00:00
dogcow
ad1da80f39 Pretty much nothing in usr.sbin/ipf compiled with the massive filename
switcheroos in dist/ipf; make things build again.
2007-04-15 05:59:04 +00:00
yamt
2f6be2ad41 - soabort: don't leak a socket on error.
- add an assertion.
2007-04-15 05:25:48 +00:00
yamt
db7c239cd4 sys_accept: don't leak a socket on error. 2007-04-15 05:25:02 +00:00
yamt
bbf8203ac8 don't use the same number for SS_ISDISCONNECTED and SS_ISAPIPE. 2007-04-15 05:24:33 +00:00
jmcneill
69a102c0bb Disable the CRIME watchdog for now; looks like we can't keep up with it
under load. With this patch, my O2 is finally running stable.
2007-04-15 04:42:55 +00:00
macallan
be7af39b73 build wsfb on sgimips
needs testing
2007-04-15 03:56:44 +00:00
dyoung
3ce5c94b0e In gre_clone_destroy(), free the route cache after calling if_detach(),
because if_detach() may cause us to transmit a packet, which
ordinarily entails reloading the route cache.  This fixes a bug
where the kernel would panic later in rtflush().  Thanks Michael
Earnhart for reporting the bug.

In gre_output(), do not leak mbufs.
2007-04-14 22:41:42 +00:00
tnn
ff3453caa3 Forgot to mention the envctrl(4) manpage. Thanks hubertf 2007-04-14 22:16:25 +00:00
martin
1895b293c0 Note IPFilter update to 4.1.19 2007-04-14 21:05:15 +00:00
martin
16e03489b1 IPFilter has been updated to 4.1.19 2007-04-14 20:59:31 +00:00
jmcneill
ed55554c70 We don't use the RTC interrupt (yet), so mask it as well. 2007-04-14 20:57:55 +00:00
martin
6b0c4dc5ed Disable test ni23 - the expected output contains the hash bucket number,
which, at least, is endian dependend.
2007-04-14 20:50:48 +00:00
matt
d96c1bd9b7 At lower optimization levels, constants can tricle to subdi3. Deal with it. 2007-04-14 20:43:03 +00:00
martin
8ebafcc992 Update IPFilter to version 4.1.19 2007-04-14 20:34:18 +00:00
martin
993d757ec6 Import IPFilter 4.1.19 2007-04-14 20:17:19 +00:00
tnn
9e62e47cbb fix nroff warning 2007-04-14 19:59:29 +00:00
macallan
aa2949fa77 add a callback to change the colour map
so now X with wsfb on top of genfb should look right
2007-04-14 19:56:05 +00:00
jmcneill
dd9aa16186 Disable count/compare timer interrupts, as NetBSD does not use these. 2007-04-14 19:36:46 +00:00
tnn
5fd601f66a note addition of envctrl(4) 2007-04-14 19:35:44 +00:00