riz
0bfc315592
Add sk(4) now that it works.
2006-08-22 06:49:55 +00:00
riz
2314dce488
Add byteswapping where appropriate, to allow things to work on
...
(at least some) bigendian systems - I tested on macppc.
From brad@openbsd .
2006-08-22 06:24:10 +00:00
uwe
b320dcd170
Fix a pasto: save CONFIG_HOOK_PMEVENT_AC hook in the correct variable.
...
From Adam Wysocki on port-hpcsh@.
2006-08-22 01:55:00 +00:00
reinoud
5223c4995c
Make a better guess on VAT locations so discs that are semi-standard
...
formatted can be recognised. This also fixes the bug that prevented UDF to
mount an empty CD-R/DVD*R disc.
2006-08-21 23:52:19 +00:00
christos
a6fdd24769
- detect buffer overflow.
...
- if we have a trailing slash, don't add another one.
2006-08-21 23:09:50 +00:00
reinoud
445a215f26
Fix spurious panic when twice remounting a bad filingsystem. It then gets
...
the same memory block allocated as before and it bombs out on its
descriptor pool allready being initialised. It turns out that the pool was
not allways destroyed. This fix ought to clean it up whatever the cause of
the mishap that results in a reject.
2006-08-21 22:23:09 +00:00
dsl
413b7762c2
Rework the code changes from revisions 1.69, 1.70 and 1.74 so that the code
...
behaves correctly.
As far as I can tell, "x$@y" now expands correctly, as does IFS=:; set -$IFS.
Fixes PR/33472 (again) and PR/33956
2006-08-21 21:30:14 +00:00
ghen
42821065a9
Add configuration files for the 3.1 release ISO's.
2006-08-21 21:14:24 +00:00
tnozaki
4e2e31b9fe
merge recent DragonFlyBSD's change, original commit message is:
...
Remove all occurences of double semicolons at the end if a line by single ones.
Submitted-by: Bill Marquette <bill DOT marquette AT gmail DOT com>
2006-08-21 20:30:52 +00:00
dsl
1f9b387f1d
Trailing non-whitespace IFS doesn't generate an empty parameter (any more).
2006-08-21 19:49:09 +00:00
christos
eae5877e02
from zafer: you can have either -k or -h but not both since it does not make
...
sense.
2006-08-21 19:08:47 +00:00
christos
b65b7f50b1
-h and -[mgk] are mutually exclusive. Only use the last specified. [from zafer]
...
Use one variable instead of 3 flags to hold the scale, so that we don't have
to reset each flag.
2006-08-21 19:05:14 +00:00
christos
ed6a70d32a
Fix another && || confusion, from Kurt Schreiner, thanks!
2006-08-21 18:31:24 +00:00
he
325cec31d4
Add a workaround for GCC -Wuninitialized, similar to the prop_array.c
...
workaround, and properly marked with XXXGCC -Wuninitialized.
2006-08-21 17:35:15 +00:00
thorpej
b4bbe79968
Use __GNUC_PREREQ__() for the GCC 4 test, too.
2006-08-21 16:58:29 +00:00
he
1a119b51b3
Add a workaround for a GCC -Wuninitialized mis-warning (seen for mips).
2006-08-21 15:39:02 +00:00
christos
93e48bdb1e
__offsetof__ is a builtin, so we need __GNU_PREREQ
2006-08-21 15:31:18 +00:00
christos
a162f659c6
gcc-3.3 does not have __offsetof__, but gcc-3.4 eems to require it:
...
From the redhat web page:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gcc/offsetof.html
__offsetof__ (expression)
is equivalent to the parenthesized expression, except that the
expression is considered an integral constant expression even if
it contains certain operators that are not normally permitted in
an integral constant expression. Users should never use __offsetof__
directly; the only valid use of __offsetof__ is to implement the
offsetof macro in <stddef.h>.
2006-08-21 15:26:49 +00:00
christos
a4f92031c6
g++-4 does not like &0->member, so we have to use the built-in offsetof().
...
g++-3 does not have a built-in offsetof(), but we cannot use the c version,
otherwise we break with -Wold-style-cast.
Inspired by the DF version, but a bit different.
2006-08-21 15:02:23 +00:00
hamajima
7d30668340
fix unterminated #ifdef. PR34240.
2006-08-21 15:01:54 +00:00
skd
21f8ec95d5
Use gcc's builtin function. This permits c++ compiliation of const
...
expressions using offsetof. Boost-python relies on this, for example.
2006-08-21 14:09:43 +00:00
christos
f1fff5b02e
Change to a 3 clause copyright after permission of the holders.
2006-08-21 12:45:30 +00:00
jnemeth
3b961daf6c
move 'PCI cryptographic devices' out of the middle of the Disk section
2006-08-21 10:50:00 +00:00
martin
5581630d1f
Add <sys/lock.h> include for <sys/callback.h>
2006-08-21 09:06:06 +00:00
martin
b87950a9f6
Use %zu for size_t
2006-08-21 09:05:22 +00:00
ross
05fabc196c
urk, wrong place, obviously
2006-08-21 07:08:45 +00:00
thorpej
d21620b264
Several changes to proplib:
...
- Arrays can now be externalized and internalized in the same way
dictionaries can.
- Add new "externalize to file" and "internalize from file" functions
to make reading a property list from a file and writing a property
list to a file more convenient.
- Many assertions in the object implementations are gone. Instead,
calling an accessor for one object type with a different object type
as an argument will return a suitable "invalid" value.
- prop_object_type() now returns a new PROP_TYPE_UNKNOWN value if called
with a NULL object.
- Externalized property lists now contain a reference to the Apple XML
plist DTD.
- Add a new prop_ingest(3) facility, which provides a convenient way to
translate a dictionary into an arbitrary binary representation.
2006-08-21 04:13:28 +00:00
christos
e6c35f2090
2 fixes from Elad:
...
1. fix the symlink issue mentioned in:
http://marc.theaimsgroup.com/?l=openbsd-tech&m=115513754417683&w=2
2. handle socket(2) versioning.
2006-08-21 01:35:11 +00:00
thorpej
5da5f197c5
Use "unsigned int" rather than "u_int" to be consistent with the rest
...
of file(1).
2006-08-20 19:49:31 +00:00
bjh21
72e11b654e
Clean out some of the junk from this file, sepcifically definitions for
...
an Amiga DMA controller, and #if 0'ed WD33C93 definitions that are duplicated
in sbicreg.h. uPD71071 definitions can stay for now, since they're not
actually useless even though they're unused.
2006-08-20 19:26:52 +00:00
thorpej
c1f7db8026
Also check for DIR.__dd_fd. tools/compat now builds on the WWDC developer
...
preview version of Mac OS X "Leopard".
2006-08-20 18:52:05 +00:00
riz
a06f7205fb
Some cleanup in skc_attach():
...
- does not need splnet()
- disestablish the interrupt and unmap bus space on failures.
2006-08-20 18:04:53 +00:00
riz
c250a823e7
Make this driver compile when SK_USEIOSPACE is defined - I have no
...
evidence that this is actually needed except for the existence of the
code itself, but if it's going to be here, it should compile. Tested
briefly on my ASUS motherboard with built-in sk interface.
2006-08-20 16:03:30 +00:00
christos
9d18036adc
PR/34241: Dave Sainty: Bound a memcpy to the sizeof the buffer where we
...
are trying to save the contents, instead of trying to copy what the lenght
of the acpi resource tells us.
2006-08-20 15:10:59 +00:00
christos
cba8e50f44
From Elad:
...
Attached diff short-circuits kauth_authorize_action() if the request
comes from the kernel (NOCRED or FSCRED).
okay matt@
2006-08-20 15:05:14 +00:00
yamt
f3d146fd88
vmf_to_prf: tweak code to avoid a "may be used uninitialized" warning.
...
pointed by Kurt Schreiner.
2006-08-20 13:14:03 +00:00
yamt
4e59653466
move kmem_kva_reclaim_callback out of #ifdef DEBUG.
...
fixes compilation problem in the case of !DEBUG.
pointed by Kurt Schreiner.
2006-08-20 13:08:11 +00:00
bjh21
f2d8dc9311
Add vidcvideo(4).
2006-08-20 12:48:47 +00:00
bjh21
8c1bc5670c
Add some documentation of the vidcvideo driver, mostly covering screen-mode
...
selection.
2006-08-20 12:45:18 +00:00
blymn
50abf3c730
Add functions to the fileassoc interface to allow a "hint" to be provided
...
instead of performing an implicit VOP_GETATTR() when adding/looking up
fileassoc entries.
2006-08-20 10:38:23 +00:00
yamt
0406a06106
implement kva reclamation for kmem_alloc quantum cache.
2006-08-20 09:45:59 +00:00
yamt
fc12b34a0a
kmem_init: use vmem quantum cache. XXX needs tune.
2006-08-20 09:44:06 +00:00
yamt
c8cdcde4de
implement vmem quantum cache.
2006-08-20 09:43:08 +00:00
wiz
9bbf7e195e
Adapt SYNOPSIS and bump date for previous.
2006-08-20 09:40:26 +00:00
yamt
3c433fc395
implement PR_NOALIGN. (allow unaligned pages)
...
to be used by vmem quantum cache.
2006-08-20 09:35:25 +00:00
skrll
b33c02bc86
Remove the _UCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_UCONTEXT() macros
...
as nothing uses them and they wouldn't work as _MCONTEXT_TO_SIGCONTEXT()
and _SIGCONTEXT_TO_MCONTEXT() got deleted a while ago.
2006-08-20 08:02:21 +00:00
plunky
066074b94f
Make btdev default count explicit
2006-08-20 07:06:57 +00:00
wiz
09a207d68f
New sentence, new line. Punctuation capitalization.
2006-08-20 00:30:02 +00:00
bjh21
6f40b05195
Datestamp the previous entry.
2006-08-19 23:08:02 +00:00
bjh21
2d622fdc89
acorn32: Correctly detect the display refresh rate being used under
...
RISC OS and look for a matching mode in a list of standard
video modes. This removes the requirement for compiling
RISC OS monitor definitions into the kernel. [bjh21 20060820]
2006-08-19 23:06:11 +00:00