phk
8969090670
Don't call VOP_BMAP on VCHR vnodes when the logical and physical block
...
numbers are identical: it cannot even hope to accomplish anything.
2003-01-04 09:37:42 +00:00
nyan
864080610e
Rename the dos_partition structure for pc98 to pc98_partition.
2003-01-04 08:50:48 +00:00
jake
d409ed88f5
Use a separate macro to generate the name of the sysctl_oid_list that holds
...
the children of a sysctl node, so that the arguments to the SYSCTL_NODE
macro can themselves be macros. It would be nice to use __CONCAT throughout
this file, but the macros are so large that it quickly becomes unweildly,
(4 nested __CONCATs).
2003-01-04 08:50:43 +00:00
phk
157437ec08
Since Jeffr made the std* functions the default in rev 1.63 of
...
kern/vfs_defaults.c it is wrong for the individual filesystems to use
the std* functions as that prevents override of the default.
Found by: src/tools/tools/vop_table
2003-01-04 08:47:19 +00:00
jake
709e95a097
Use __CONCAT and __XSTRING when concatenating or stringifying arguments to
...
the EXEC_SET macro, so that the arguments themselves can be macros.
(Actually __STRING would suffice, instead of __XSTRING, but oh well).
2003-01-04 08:17:27 +00:00
tjr
b51b1e81ea
Fix three warnings:
...
o #include <stdio.h> to make sprintf()'s prototype visible.
o Remove unused variable: sbuf.
o Don't use assignment as truth value.
2003-01-04 08:10:55 +00:00
jake
94ee5f0ac5
Add a sysctl to get the vm protections for the stack of the current process.
...
On architectures with a non-executable stack, eg sparc64, this is used by
libgcc to determine at runtime if its necessary to enable execute permissions
on a region of the stack which will be used to execute code, allowing the
call to mprotect to be avoided if the kernel is configured to map the stack
executable.
2003-01-04 07:54:23 +00:00
tjr
30246458a2
style(9): return type on separate line from function name.
2003-01-04 07:34:41 +00:00
alc
e3e519cb43
Hold the page queues lock around pmap_remove_pte() in pmap_enter().
...
Submitted by: Arun Sharma <adsharma@unix-os.sc.intel.com>
2003-01-04 06:49:52 +00:00
simokawa
5914915190
- Propagate suspend/resume to child devices.
...
- Restore pci config registers after resume.
- Reinitialize and start rx buffers after resume.
- Don't reallocate memory in fwohci_db_init() if the dbch is
already initialized.
- Fix typo.
- Some clean up.
2003-01-04 06:40:57 +00:00
tjr
ac985d2b0a
Fix a number of bugs noticed by more extensive testing:
...
o Call waitpid() if an error occurs after forking the child process
to avoid leaving zombies around.
o Handle the WRDE_DOOFS|WRDE_APPEND combination correctly
o Do not confuse $( substitution with $(( shell arithmetic
(noticed by wollman)
o Handle backslash escaping properly
o Allow $( and ${ to be quoted
2003-01-04 06:07:44 +00:00
davidxu
bfa8b027c5
Set kse mailbox pointer to NULL when P_KSES is turned off.
2003-01-04 05:59:25 +00:00
tjr
3ef27dc5c5
Add a regression test for wordexp() and wordfree().
2003-01-04 05:50:35 +00:00
ume
f0d455bbd6
gifconfig(8) was depricated.
...
Reported by: rwatson
2003-01-04 05:32:48 +00:00
tjr
550b215d09
Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are
...
the names required by 1003.1-2001. The old names are retained for
source compatibility with FreeBSD 5.0 and will be removed before 6.0.
2003-01-04 01:11:49 +00:00
tjr
81ba2af45b
Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLS
...
so that it can be called from C++.
2003-01-04 00:32:18 +00:00
tjr
5b93b0c98e
Remove unused variable: sz.
2003-01-04 00:24:35 +00:00
tjr
21a950ba8e
Remove unused variable: size.
2003-01-04 00:20:54 +00:00
tjr
423d60ce9d
#include <string.h> for strcmp()'s prototype.
2003-01-04 00:18:50 +00:00
tjr
6634305555
Remove unused variable: omask.
2003-01-04 00:15:15 +00:00
tjr
e66ec2707a
#include <sys/linker.h> for kldload()'s prototype.
2003-01-04 00:13:00 +00:00
tjr
037ba0f24b
#include <string.h> for strlen()'s prototype.
2003-01-04 00:11:11 +00:00
tjr
5b887fd56d
#include <ctype.h> for isspace()'s prototype (or a macro version).
2003-01-03 23:55:58 +00:00
tjr
2eb0772712
Add missing #include "namespace.h".
2003-01-03 23:38:21 +00:00
tjr
f027795617
Remove unused variable: ntmp.
2003-01-03 23:34:26 +00:00
tjr
c3c81fd441
#include <string.h> for strcmp()'s prototype.
2003-01-03 23:31:50 +00:00
tjr
d0b52ce8cc
#include "local.h" to make __svfscanf()'s prototype visible.
2003-01-03 23:27:27 +00:00
tjr
d7c9b91a26
Remove an unused variable: `sb' in fts_read().
2003-01-03 23:25:25 +00:00
tjr
5ba4caf3bc
Remove an unused variable, `sverrno', which has not been used since 1.11.
2003-01-03 23:16:55 +00:00
marcel
9a4b1f6baa
Make this build and sync-up:
...
o Add COMPAT_FREEBSD4
o Remove NO_GEOM
o Remove commented out options.
2003-01-03 23:10:47 +00:00
trhodes
3d5980933a
mdoc(4) police: Markup. Fix 1 hard sentence break.
2003-01-03 23:06:10 +00:00
trhodes
96f6c756ae
mdoc(7) police: Remove hard sentence breaks.
2003-01-03 22:39:39 +00:00
trhodes
0c2fa737a7
mdoc(7) police: markup nits.
2003-01-03 22:37:10 +00:00
julian
8deb66c7d1
White space fixes
2003-01-03 20:55:52 +00:00
julian
5958be4924
Make an explicit flag to indicate that a KSE has a reason to upcall,
...
and use that flag when there is a kse_wakeup() call. It will probably
be used with signal delivery as well eventually.
Submitted by: davidxu@
2003-01-03 20:41:49 +00:00
julian
7bb9b76555
Don't need to set retvals to 0 in the non error case. They
...
are set to a good default anyhow.
Submitted by: davidxu@
2003-01-03 19:38:54 +00:00
alc
bb9d453ab0
Refine the assertion in vm_object_clear_flag() to allow operation on the
...
kmem_object without Giant. In that case, assert that the kmem_object's
mutex is held.
2003-01-03 19:19:08 +00:00
phk
997c254192
Revert use of dmmax_mask, I had overlooked a '~'.
...
Spotted by: bde
2003-01-03 19:16:48 +00:00
jhb
43a19416ed
Document bit 31 of the cpuid features word as PBE (Pending Break Enable).
2003-01-03 18:54:59 +00:00
tmm
677cec52f4
Reenable building in share/mklocale for sparc64. It seems to work fine
...
now, and probably did for quite some time already. 5.0 candidate.
Spotted by: roam
2003-01-03 18:06:21 +00:00
phk
8873479540
Add various command line options, most notably sort order.
...
Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca>
Sat on for far too long: phk
2003-01-03 17:21:39 +00:00
mike
d6f399392e
Optimize errstr() by reducing the number of times it walks a string.
...
As a side effect, it makes the code easier to read and requires less
pointer arithmetic.
Test by: strerror regression test
Submitted by: Tim Kientzle <kientzle@acm.org>
2003-01-03 16:44:42 +00:00
phk
b884c995db
Make struct swblock kernel only, to make vm/swap_pager.h userland includable.
...
Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h.
Adjust #include use in libkvm and pstat(8) to match.
2003-01-03 16:23:12 +00:00
phk
88bd74d184
Avoid extern decls in .c files by putting them in the vm/swap_pager.h
...
include file where they belong.
Share the dmmax_mask variable.
2003-01-03 14:30:46 +00:00
phk
2f7baffed6
Use correct _VM_SWAP_PAGER_H_ to check for multiple inclusion.
2003-01-03 14:22:52 +00:00
tjr
c1a0e9934f
Reset the stream orientation to 0 (unoriented) in freopen(), as required
...
by the C standard.
2003-01-03 12:27:19 +00:00
tjr
89dea00d7b
It is no longer necessary to include sys/types.h before wordexp.h.
2003-01-03 12:04:36 +00:00
tjr
f7bdf56d57
Describe WRDE_NOCMD in the same way that we describe the rest of the flags.
2003-01-03 12:03:38 +00:00
phk
83581fdc02
Retire sys/dmap.h by including the two lines of it which matters
...
directly in vm/vm_swap.c.
2003-01-03 09:55:05 +00:00
alc
2db78e226f
Lock the vm object when performing vm_object_clear_flag().
2003-01-03 09:15:43 +00:00