sobomax
69aa6843ef
Boot away another stackgap (one of the lest ones in linuxlator/i386) by
...
providing special version of CDIOCREADSUBCHANNEL ioctl(), which assumes that
result has to be placed into kernel space not user space. In the long run
more generic solution has to be designed WRT emulating various ioctl()s
that operate on userspace buffers, but right now there is only one such
ioctl() is emulated, so that it makes little sense.
MFC after: 2 weeks
2005-01-30 08:12:37 +00:00
phk
357d55c30b
Add text about jail root directory as well.
...
Submitted by: "Mark W. Krentel" <krentel@dreamscape.com>
2005-01-30 08:03:20 +00:00
sobomax
68d0bd2186
Extend kern_sendit() to take another enum uio_seg argument, which specifies
...
where the buffer to send lies and use it to eliminate yet another stackgap
in linuxlator.
MFC after: 2 weeks
2005-01-30 07:20:36 +00:00
sobomax
c1d75210e2
Fix build on AMD64 (and probably other arches where size_t != int).
...
Submitted by: Tinderbox
MFC after: 2 weeks
2005-01-30 06:43:17 +00:00
rwatson
464d7f1e2a
Fix spelling of integer in a comment.
...
Beady eyes: ceri
2005-01-30 00:31:19 +00:00
sobomax
5fd43d6c79
Grrr, this committer needs to have a sleep. Remove lines from the previous
...
delta not intended for public consumption.
MFC after: 2 weeks
2005-01-29 23:51:05 +00:00
sobomax
bc473990f5
Fix small non-conformance introduced in the previous commit: execve() is
...
expected to return ENAMETOOLONG, not E2BIG if first argument doesn't
fit into {PATH_MAX} bytes.
MFC after: 2 weeks
2005-01-29 23:47:36 +00:00
sobomax
443b386117
Remove local hack which cowardly slipped into previous commit.
...
MFC after: 2 weeks
2005-01-29 23:21:00 +00:00
rwatson
39c4afac56
Style cleanup for O_DIRECT sysctl comment introduced in nfs_vnops.c:1.242.
2005-01-29 23:19:08 +00:00
rwatson
3548352d6e
Disable ethernet flow control in if_fxp by default, in order to prevent
...
unexpected surprises when a system panics or is left in the debugger.
Requested by: kris
MFC after: 3 days
2005-01-29 23:13:20 +00:00
sobomax
f489acaf0f
o Split out kernel part of execve(2) syscall into two parts: one that
...
copies arguments into the kernel space and one that operates
completely in the kernel space;
o use kernel-only version of execve(2) to kill another stackgap in
linuxlator/i386.
Obtained from: DragonFlyBSD (partially)
MFC after: 2 weeks
2005-01-29 23:12:00 +00:00
rwatson
1c7b501265
Correct a minr whitespace inconsistency introduced in revision 1.159:
...
add a tab between #define and DF_REBID instead of a space.
2005-01-29 22:04:30 +00:00
ru
50196eae92
Hopefully unbreak modules build.
2005-01-29 21:43:34 +00:00
ru
e1559d6a6e
Start sentences from a capital letter.
...
Submitted by: Joel Dahl
2005-01-29 20:05:07 +00:00
njl
96c60208a9
Fix typo.
2005-01-29 19:45:31 +00:00
bz
81c8e4ffa6
Cleanup debugging code and put it under bootverbose
...
(includes minor style polishing).
Approved by: rwatson (mentor)
2005-01-29 19:26:53 +00:00
phk
237e3ac2e9
Use MAXMINOR
2005-01-29 16:50:04 +00:00
phk
1a5ece93a1
When dumping to a unpartitioned disk, make sure to chop the
...
length of the dump area accordingly.
Run into by: scottl
2005-01-29 16:49:43 +00:00
phk
e2e185e368
Describe 'u' and 'U' in sequence mode.
2005-01-29 16:34:10 +00:00
phk
4062ca6d6f
Better locking.
...
Add 'u' and 'U' "wait for next UTC second" in sequence mode.
2005-01-29 16:33:51 +00:00
peadar
ef213df287
Unbreak a few filesystems for which vnode_create_vobject() wasn't being
...
called in "open", causing mmap() to fail.
Where possible, pass size of file to vnode_create_vobject() rather
than having it find it out the hard way via VOP_LOOKUP
Reviewed by: phk
2005-01-29 16:23:39 +00:00
phk
ba0e01d2d8
Typo.
2005-01-29 15:10:30 +00:00
phk
9072f89ba1
Add MAXMINOR #define, we should have had this long time ago.
...
Add minor2unit() in addition to dev2unit() and unit2minor().
If it wasn't such a hazzle we should redefine minor numbers in
the kernel without the gap for the major number, but it's not worth
the bother (yet).
2005-01-29 15:07:13 +00:00
peadar
1583c16e80
Tell vnode_create_vobject() how big an object to create, rather
...
than having it work it out via the more expensive VOP_GETATTR
Reviewed by: phk@
2005-01-29 14:23:09 +00:00
phk
cd117518d7
In 1.276 of kern/subr_trap.c I introduced a mechanism for delaying
...
a process return to userspace if it had pending GEOM events.
We need to have the same check in the exit pass to catch the case
where a GEOM related filedescriptor is not explicitly closed by
the process.
Bumped into by: people using dd(1) to build releases, nanobsd etc.
2005-01-29 14:03:41 +00:00
rwatson
4306a18061
Because the argument to strvalid() is a size_t, use a size_t to iterate
...
over the array.
Submitted by: stefanf
2005-01-29 13:34:22 +00:00
rwatson
a7d09649f5
Per permission from McAfee, remove clause 3 of the BSD license on
...
strvalid.c.
2005-01-29 13:04:04 +00:00
phk
56bc3e6bfc
Report jail directory if set.
...
Sanity-check fd_lastfile.
PR: 62699
Patch by: "Mark W. Krentel" <krentel@dreamscape.com>
2005-01-29 11:38:00 +00:00
imp
c73fd1a239
The Olicom OC2220 has an ID of 0x101, not 0x2220 as I previously
...
thought. I'm unsure why I thought this was the case, but it
definitely isn't for this card. If another card with the other ID
makes an appearance, then we'll add a second entry for it.
# With this change my Olicom OC2220 is now working again, since I make
# this commit with that device. :-)
2005-01-29 04:20:01 +00:00
mjacob
58125f05ac
Roll firmware to the latest version. There are a bunch of features
...
in alternate f/w versions that will be pursued at some points.
MFC after: 1 month
2005-01-29 01:12:37 +00:00
ru
1c19ffd486
Fixed whitespace at EOL and double word.
...
Uncompact enumaration to make it look better.
2005-01-28 21:18:14 +00:00
ru
de77cf0b40
Typo.
2005-01-28 21:14:16 +00:00
ru
e1ad6e61cc
Properly terminate sentence.
2005-01-28 21:13:34 +00:00
ume
306734fccb
use strdup().
...
Obtained from: KAME
MFC after: 1 week
2005-01-28 19:35:42 +00:00
jeff
da8e6b049d
- Don't drop the wref on the bufobj until after bufdone() has completed.
...
Without this, threads waiting in bufobj_wwait() may wakeup prior to
bufdone() completing.
Sponsored by: Isilon Systems, Inc.
2005-01-28 17:48:58 +00:00
ru
6173443fc5
Clean up after utilizing FILES.
2005-01-28 17:13:39 +00:00
ru
ed7698639e
Clean up makefile.
...
- Remove all:. It's redundant, and ${LIB} in it is just a bug.
- Remove .ORDER:. *.mgc files can safely be built in parallel.
- Remove PITA. The mkmagic tool is smart to put the binary file
into the current directory (${.OBJDIR}) even if the source file
lives somewhere else, which is just what we need.
2005-01-28 17:01:54 +00:00
ru
84fabcb71a
Utilize bsd.files.mk.
2005-01-28 16:22:46 +00:00
ru
e68efdc747
Let bsd.prog.mk set SRCS and MAN to their default values.
2005-01-28 16:08:11 +00:00
jeff
83cae1af10
- If mpsafevfs is off, acquire giant around all calls to bufdone().
...
Sponsored by: Isilon Systems, Inc.
2005-01-28 16:04:44 +00:00
phk
1b21636022
Make filesystems get rid of their own vnodes vnode_pager object in
...
VOP_RECLAIM().
2005-01-28 14:42:17 +00:00
phk
4f73d0b6fc
Remove unused argument to vrecycle()
2005-01-28 13:08:21 +00:00
phk
f8b1ba904f
Integrate vclean() into vgonel().
...
Various associated polishing.
2005-01-28 13:00:03 +00:00
phk
eaf84397bb
Remove register keyword
2005-01-28 12:39:10 +00:00
gnn
0e3a2894a6
Update kdump manual page with information on the dump format.
...
Add a table with the different types of operations traced.
Reviewed by: Ruslan Ermilov
Approved by: Robert Watson (mentor)
2005-01-28 12:17:33 +00:00
ru
85b6200242
Mark lists as in the rest of section 9 manpages.
2005-01-28 10:48:52 +00:00
ru
2e89798459
Mark lists as in the rest of section 9 manpages.
...
Submitted by: Joel Dahl (mostly)
2005-01-28 10:43:05 +00:00
phk
9b1a8ec7bf
Move the contents of vop_stddestroyvobject() to the new vnode_pager
...
function vnode_destroy_vobject().
Make the new function zero the vp->v_object pointer so we can tell
if a call is missing.
2005-01-28 08:56:48 +00:00
imp
f0f541eae7
Fix the worst offenders of style(9) with a small style sweep.
2005-01-28 06:50:59 +00:00
imp
d8014b5b68
Cleanup tabs vs spaces.
2005-01-28 06:45:42 +00:00