atatat
fa01c2e835
Add "dirname"- and "basename"-like functionality to stat(1) by way of
...
the "high" and "low" selectors on the filename.
2004-12-31 03:24:31 +00:00
wiz
1fce7b0949
Mention that compat32 supports running i386 binaries on amd64.
...
From Nicolas Joly in PR 28795.
While here: new sentence, new line.
2004-12-31 00:57:50 +00:00
rumble
801f527111
Prepend HPC3 macros universally with "HPC3_" to distinctly recognise
...
the corresponding revision and maintain consistency with HPC1.
No functional change intended.
2004-12-30 23:18:09 +00:00
jonathan
54528c79ad
Add rgephy driver to sys/dev/mii/files.mii. Supports integrated PHY
...
in Realtek 8169S.
2004-12-30 23:03:19 +00:00
joff
05aeaeff39
Always expose struct sigcontext instead of just #ifdef COMPAT_16.
2004-12-30 20:38:37 +00:00
bjh21
11a8c79cbb
Make exposure of MAXNAMLEN conditional on _NETBSD_SOURCE rather than on
...
_POSIX_SOURCE and _XOPEN_SOURCE.
2004-12-30 19:43:25 +00:00
christos
2819137180
change the definition of va_start for lint.
2004-12-30 18:08:20 +00:00
bjh21
e707e87c3f
Correct file reference and add PR reference in
...
"gcc 3.3.2/arm sys/kern/uipc_socket.c".
2004-12-30 16:29:48 +00:00
christos
36dcc3119d
more size_t casts
2004-12-30 16:22:45 +00:00
christos
d8e127cb21
- don't try to to lint the va_arg() macros, instead replace them.
...
- replace the va_start() macro for lint
2004-12-30 16:22:27 +00:00
reinoud
486e5e2819
Fixup of bad patch made by me; the #ifdef ought to be also including ISO
...
rather than being removed. Also fixed a small comment about the scope of
#if's.
This code is a but ugly IMHO but as long as we dont have to change it ....
2004-12-30 15:38:50 +00:00
martti
92ee66b8a1
Note also src/regress/sys/kern/ipf
2004-12-30 13:12:01 +00:00
bjh21
70c402ea14
Since I've got the datasheets in front of me, add #defines for the missing
...
registers in the supported MK48Txx chips.
2004-12-30 12:36:29 +00:00
jdolecek
f201f239e3
#ifdef DDB rdyfail label, too
2004-12-30 12:12:16 +00:00
darrenr
32b2d1458b
undo this last change, it did match fil.c - bad me.
2004-12-30 12:07:07 +00:00
jdolecek
aca74c5304
only do the temporary symbol table load #ifdef DDB and add comment for
...
the code block, so that the purpose is more clear
avoid NULL pointer dereference in lkmunreserve() called on lkm device
close when ksym_addsymtab() fails for the temporary symbol table
(sanity change only, this can never happen at the moment)
2004-12-30 11:47:02 +00:00
jdolecek
b90395b379
fix two issues regarding handling of ksyms (modload -s):
...
* only add the symbol table for the current module if the LKM_E_LOAD
hook returns success; otherwise we overwrite the LKM_E_LOAD error,
which may ultimately lead to (incorrectly) allowing the module load
* only delete the sumbol table for current module if we actually added
the symbol table; avoids deleting symbol table of previously loaded
module when the same module is loaded twice, when the second load
fails with EEXIST
fixes PR kern/28803 by Jens Kessmeier
2004-12-30 11:35:41 +00:00
martti
34a5ffc74e
Use src/sys/dist/ipf/netinet instead of src/sys/netinet
2004-12-30 10:09:32 +00:00
is
63672cded0
Hardware pointers must be volatile.
...
Patch by Pawel Chwalowski via PR 28810, from a similar patch by Michael
Hitch to ite_cl.c.
2004-12-30 10:07:51 +00:00
tsutsui
23bf17808a
Protect accesses to PTE/TLB registers with
...
_cpu_exception_suspend()/_cpu_exception_resume() pair.
Should fix spontaneous reboot problem on heavy load reported by
Christian Groessler on port-dreamcast.
2004-12-30 09:48:30 +00:00
dsainty
7e7f191f7d
Add a missing space in a comment
2004-12-30 09:32:13 +00:00
darrenr
760d20de7a
the bitmask array in this file should be the same as the one in fil.c if
...
rules with v6hdr options are going to match packets. this sorts the array
by incrementing value of the v6 option.
2004-12-30 08:29:09 +00:00
christos
1466914ff3
add size_t casts.
2004-12-30 05:11:50 +00:00
christos
bd66ab4a14
cast to size_t
...
remove unneeded casts.
2004-12-30 05:08:37 +00:00
christos
1c5c5f5ad5
cast to size_t/socklen_t
2004-12-30 05:07:43 +00:00
christos
1b235e3efc
cast to socklen_t/size_t
2004-12-30 05:06:33 +00:00
christos
3fd676b16c
cast to size_t
2004-12-30 05:01:50 +00:00
christos
1f3a2bf23d
sz should be size_t
2004-12-30 05:01:19 +00:00
christos
70c807f499
- cast to size_t
...
- sz should be size_t
2004-12-30 05:00:42 +00:00
christos
0e1ce86abc
cast 1 to size_t
2004-12-30 04:58:40 +00:00
rumble
3de38c1738
Replace the hpc0 base address with the definition from
...
hpc/hpcregs.h.
2004-12-30 02:41:03 +00:00
rumble
4aa50cac2f
Remove a few HPC1 register definitions for ones that don't exist.
...
Also, HPC1_ENET_INTDELAYVAL isn't a magic number. It turns the
interrupt delay off (by being the timer trigger bit), so name it
more appropriately.
2004-12-30 02:35:41 +00:00
rumble
57329acafa
Wrap seeq and hpc register reads and writes in macros for
...
readability. While here, engage in some KNF and 80-column policing.
No functional changes intended.
2004-12-30 02:26:20 +00:00
christos
28b908ca06
add size_t casts to silence up lint where size_t is unsigned long.
2004-12-30 02:25:51 +00:00
lukem
884b4146ae
re-add inclusion of <bsd.lib.mk> for LIBDPLIBS optimization, with an
...
empty libinstall rule so Things Work.
2004-12-30 00:11:50 +00:00
simonb
54e42386be
Remove the inclusion of <bsd.lib.mk>. There are no libraries in this
...
directory, only its subdirectories.
2004-12-29 22:35:35 +00:00
bjh21
73c7ba9d59
If clock_ymdhms_to_secs() fails, return ERANGE. This gets my ELC with
...
a broken NVRAM to boot cleanly.
2004-12-29 21:33:42 +00:00
snj
3f3ef0d7ea
"\-" makes a minus, "-" does not.
2004-12-29 21:15:02 +00:00
bjh21
0b38b82a21
Document clock_ymdhms_to_secs()' returning -1 for unrepresentable input.
2004-12-29 20:56:43 +00:00
bjh21
8f7f78f2f0
In clock_ymdhms_to_secs(), rather than returning rubbish when presented with
...
a year before 1970 or a date beyond the time_t rollover, return -1 so callers
can detect it. Callers which expect the function not to fail just get a
different kind of rubbish from before.
2004-12-29 20:55:57 +00:00
nathanw
74718675cc
Avoid passing zero-valued timespecs to timer_settime() when we want to set
...
a timer, as that will clear the timer instead. Pass in a safely in-the-past
value instead.
Addresses PR lib/28700.
(XXX passing in values between 0 and 1000 nanoseconds will still fail, but
that bug needs to be fixed in timer_settime(), not here)
2004-12-29 20:47:39 +00:00
nathanw
0e417b7b3a
Add tests for pthread_cond_timedwait() at time zero, as discussed
...
in PR lib/28700.
2004-12-29 20:34:11 +00:00
dyoung
23e8e34093
Remove the cut & pasted copyright and apply my copyright.
2004-12-29 19:43:27 +00:00
dyoung
cef7a909d1
Add my copyright.
2004-12-29 19:41:54 +00:00
dyoung
c3a19d4272
In rtw_detach, flag the rtw as "invalid" (RTW_F_INVALID). Do not
...
try to power-down the RF section of an invalid rtw.
The radiotap signal quality field is 16, not 8, bits wide. Convert
the byte order.
2004-12-29 19:41:04 +00:00
jdolecek
015f874310
fix error printf()
...
change one mask to use hexadecimal number instead of decimal, so it's easier
to verify
2004-12-29 18:14:12 +00:00
reinoud
533a9f0186
Remove conditional around label. Its allways used in the code and thus not
...
explicitly only for the protocols indicated by the #if
Allthough its unlikely a kernel will be build without NET_INET, it will
fail compilation here when NET_INET is not defined.
2004-12-29 17:57:19 +00:00
lukem
fddd5ca989
Move libpam until after everything that it depends upon.
...
Fixes build that starts with empty OBJ and DEST dirs.
2004-12-29 15:49:42 +00:00
lukem
178fb7b023
Use LIBDPLIBS to provide the list of libraries for the modules to depend
...
upon, because:
* it's MUCH quicker; no need to calculate the OBJDIRS of every library
we might require in every subdir.
(make obj drops from 21s to 3s on my system.)
* it's more robust when building to a fresh DESTDIR.
2004-12-29 15:04:06 +00:00
lukem
72352e0662
document LIBDPLIBS
2004-12-29 14:46:24 +00:00