rwatson
4459bf4da1
Remove S_IROTH from the make_dev() lines for iir-related devices. This
...
improves protection consistency with other storage devices (generally
root:operator,660). This driver appears not to have an active
maintainer.
Submitted by: kris
2002-12-27 16:28:31 +00:00
iedowse
c2502c00ea
Fix a bug introduced by revision 1.59 that would cause an immediate
...
NULL dereference if a bridged packet was rejected by ipfw.
2002-12-27 16:27:45 +00:00
ue
9f58b9de0e
MFbed: translation updates:
...
hardware/alpha/proc-alpha.sgml: 1.49 -> 1.51
installation/common/install.sgml: 1.16 -> 1.17
installation/common/trouble.sgml: 1.8 -> 1.10
relnotes/common/new.sgml: 1.466 -> 1.467
2002-12-27 15:00:06 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
phk
72aba11981
Use three UMA zones for FFS/UFS inodes instead of malloc space.
...
Since inodes are currently 144 bytes, this will save 112 bytes per
inode. This can amount to up to 10MByte on large systems.
2002-12-27 11:05:05 +00:00
phk
3d9be4e20a
Move the allocation of the inode contents into ffs_vfsops.c rather than
...
passing malloc types around.
2002-12-27 10:23:03 +00:00
ru
357cc16da8
POLA dictates that in the file designated with the -f option
...
argument, leading whitespace and empty lines be ignored, and
the `#' character marks the rest of the line as a comment.
PR: bin/45958
MFC after: 3 days
2002-12-27 10:09:04 +00:00
phk
afd8ad09d7
Make ffs_mountfs() static.
...
Remove the malloctype from the ufs mount structure, instead add a callback
to the storage method for freeing inodes: UFS_IFREE().
Add vfs_ifree() method function which frees an inode.
Unvariablelize the malloc type used for allocating inodes.
2002-12-27 10:06:37 +00:00
alfred
2078a4c774
Silence casting away constness warnings.
...
Make cgetmatch's locals const.
Make cdbget take a const string and copy it into a buffer.
2002-12-27 08:43:40 +00:00
alfred
8c99fb48c7
Lock filedesc while performing a range check on the file descriptor.
...
Reviewed by: alc
2002-12-27 08:39:42 +00:00
tjr
baa27ec2ab
Fix a small typo.
2002-12-27 08:28:53 +00:00
julian
997c868ce3
Slight tuning if teh KSE man page to indicate some functionality is
...
not yet inplemented and to clear up some wording.
2002-12-27 08:21:15 +00:00
phk
27cb79fe10
Remove the "ascii" attribute from the sysctls so that "sysctl -a" will
...
skip them.
2002-12-27 07:58:59 +00:00
alc
a221c3d422
Hold the page queues lock when calling vm_page_flag_clear().
2002-12-27 06:52:32 +00:00
alc
b9ffe85ed2
Increase the scope of the page queues lock in phys_pager_getpages().
2002-12-27 06:09:56 +00:00
trhodes
691282b859
mount_msdos(8) > mount_msdosfs(8) as they have different names in 4.X/5.X.
...
Correct link to the handbook (typo).
Pointed out by: chris
2002-12-27 04:06:04 +00:00
trhodes
ea00b713bc
Whitespace created in Makefile from previous commit.
2002-12-27 03:17:39 +00:00
trhodes
04bc8355a5
Add a manual page for msdosfs (msdos.5) and connect it to the build.
...
Quick review by: chris (older version)
2002-12-27 03:17:02 +00:00
jake
16cc24455b
Implement uma_small_alloc and uma_small_free. Not yet used.
2002-12-27 03:11:29 +00:00
jake
073c2d289b
- Use direct mapped addresses for the message buffer, for the crash dump
...
mappings, and for pmap_map which is used to map the vm_page structures.
- Don't allocate kva space for any of the above.
2002-12-27 01:50:29 +00:00
jake
49979268c1
Teach libkvm to deal with direct mapped addresses.
2002-12-27 01:45:05 +00:00
tjr
8c4109166a
Be more consistent with "static".
2002-12-27 01:01:03 +00:00
hsu
da4baeac50
Long chain of calls starting with bridge_on(), going through IPv6, and
...
ending up at ifa_ifwithdstaddr() could lead to a recursive lock of
the ifnet list mutex.
2002-12-27 00:24:35 +00:00
phk
516da34ba8
white-space changes
2002-12-26 21:02:50 +00:00
phk
2e1375146e
Use a mutex assert to document our locking circumstances.
2002-12-26 20:48:22 +00:00
phk
3d7762dd22
We should not need to hold Giant for sbuf operations any more.
2002-12-26 20:46:30 +00:00
phk
3e75022eb7
Add an XXX comment to explain the predicament.
2002-12-26 20:45:37 +00:00
ru
99caa6f36a
s/pseudo-device/device/
2002-12-26 19:56:29 +00:00
nyan
63904a7353
Return an error if the size of the sector is zero. This is for removable
...
devices that is not inserted any media.
This is MFC candidate.
Submitted by: ISAKA Yoji <isaka@cory.jp>
2002-12-26 15:50:45 +00:00
tjr
2b2581b1ef
Unbreak for the !__XSI_VISIBLE case when another header that defines
...
size_t has not been included first.
2002-12-26 14:44:45 +00:00
tjr
7295c6ae04
Add "restrict" qualifiers to the prototype for wordexp().
2002-12-26 14:38:27 +00:00
tjr
eeed1ed55b
Add an implementation of the POSIX wordexp() and wordfree() functions,
...
which perform shell-style word expansion on strings. This is still a
little rough around the edges.
PR: 13420
2002-12-26 14:34:18 +00:00
tjr
d6329a70b8
Add the POSIX <wordexp.h> header file.
...
PR: 13420
2002-12-26 14:30:55 +00:00
tjr
3b9687df3d
Add the "wordexp" shell built-in command which will be used to implement
...
the POSIX wordexp() function.
2002-12-26 14:28:54 +00:00
iedowse
89d815a706
When resuming after a system suspend, re-issue the UHCI_CMD_MAXP
...
command in case this setting was not saved. Since bandwidth reclamation
(-current only) often results in bus activity continuing to the end
of every frame, most transfers would fail with IOERROR if this
setting is missed.
Reviewed by: n_hibma
MFC after: 1 week
2002-12-26 13:25:57 +00:00
davidxu
3aeffc5ae1
Set %bx register instead of %di register, see vbe3.0, page 45.
2002-12-26 13:20:58 +00:00
ru
237ac131ce
MFS: Split export list.
2002-12-26 12:20:25 +00:00
simokawa
2403926428
Cosmetic change. s/Firewire/FireWire/.
2002-12-26 06:50:09 +00:00
simokawa
e90de498fd
Replace ntohl() with ntohs() because orb_hi is u_int16_t.
2002-12-26 06:41:37 +00:00
hsu
b694af1793
Disable radix node locking for sysctl until we fix the sysctl infrastructure
...
to not sleep.
2002-12-26 03:35:57 +00:00
simokawa
7020b89b47
firewire.c
...
- Fix permission of device node.
fwochi.c, fwohcireg.h
- Detect phy access failure correct way.
- Set root hold-off bit before initiating bus reset.
This should fix the problem with VIA6306.
fwohcivar.h
- Fix over-allocation of array. (fwohcivar.h)
sbp.c
- Return CAM_DEV_NOT_THERE rather than CAM_TID_INVALID to prevent retry.
2002-12-26 03:17:59 +00:00
grog
f4f1be9fbf
Clarify the distinction between the Proclamation of the Province of
...
South Australia and the date of the Proclamation Day holiday.
2002-12-25 23:15:36 +00:00
ru
49cf357a3a
Typo in function name.
2002-12-25 11:40:53 +00:00
ru
b76b929c69
I'm not sure what was the problem at the time of revision 1.37
...
when julian@ added it, but the commented out code had at least
one bug -- not freeing the allocated mbuf.
Anyway, this comment no longer applies as of revision 1.67, so
remove it.
2002-12-25 10:55:44 +00:00
hsu
909e09e1f0
Range-check the address family parameter passed in to the sysctl handler.
...
Submitted by: ru
2002-12-25 10:51:20 +00:00
ru
1a22b7a8aa
Revision 1.67 changes correspond to CSRG revision 8.3.1.1 changes.
2002-12-25 10:50:08 +00:00
ru
2719b5ea8c
If the caller of rtrequest*(RTM_DELETE, ...) asked for a copy of
...
the entry being removed (ret_nrt != NULL), increment the entry's
rt_refcnt like we do it for RTM_ADD and RTM_RESOLVE, rather than
messing around with 1->0 transitions for rtfree() all over.
2002-12-25 10:21:02 +00:00
ru
94490dce08
A month after pst@ has committed his revision 1.8, it was
...
incorporated by UCB as revision 8.5. Do a diff reduction.
2002-12-25 09:16:58 +00:00
hsu
26d0fd77c3
Ensure that the made-up inode number for a Unix domain socket is persistent.
2002-12-25 07:59:39 +00:00
hsu
449c7cf2ec
Validate inp to prevent an use after free.
2002-12-24 21:00:31 +00:00