njoly
6d6fb02ffd
Regen for getpgid.
2008-11-24 00:26:34 +00:00
njoly
010c8bc9c7
Add getpgid, needed for Tru64 4.0g ksh.
2008-11-24 00:25:30 +00:00
jmcneill
42c69bb1ce
Add poll support for drvctl notification events
2008-11-23 23:59:41 +00:00
njoly
6709281d18
Move si_code definitions from MD to MI linux_siginfo.h, all archs
...
(except mips for 3 values) are identical.
While here, remove unused/unneeded LINUX__SI_CODE macro. Only the
lower 16-bits are used for userland si_code.
2008-11-23 23:48:48 +00:00
rmind
f2828c5040
ip_input: fix an IPQ "lock" leak. (hi <matt>!)
2008-11-23 19:52:38 +00:00
chris
57a007d98b
Stop attempts to boot a kernel that is bigger than the first DRAM block.
...
At the moment too much stuff assumes that the kernel is contiguous in
physical memory.
While this doesn't make an INSTALL kernel work for me it at least now
indicates what the fault is, and I can swap the memory sticks round.
2008-11-23 17:33:45 +00:00
martin
c0355a8c33
Move the exec_elf32 module into MD files.
2008-11-23 15:47:42 +00:00
martin
840e410768
exec_elf32 makes no sense on alpha
2008-11-23 15:29:42 +00:00
chris
e7516cd3f1
Fix EB7500ATX kernel to build again, mainly catching up on 6+ months of
...
changes elsewhere in the kernel:
* kernel_l1pt is now a global in pmap
* wdc no longer has dma/udma caps without the relevant options, however,
rside doesn't support dma/udma so don't set the options.
* also fix a device_t/softc split issue.
Perhaps I should add the kernel to the default build list for acorn32, to
avoid any other breakage. Although as the only person probably even
running NetBSD on an EB7500ATX system I'm not sure it's worthwhile.
2008-11-23 11:55:27 +00:00
dsl
19426b3536
Do a string compare if the rh argument doesn't completely convert to a number
...
(instead of silently ignoring the chars that failed to convert).
Use strtoul() instead of homebrew copy.
Only use strtod() if strtoul() fails because the value is too large or
contains '.', 'e' or 'E'.
Do a compare for strings that start '-' or '+' as well as digits.
2008-11-23 10:52:58 +00:00
mrg
ef028d2043
add support for 32 bit uid/gid fields in ext2, but only do so for
...
when the revision is > REV0.
2008-11-23 10:09:25 +00:00
dholland
afde5a17cd
Don't pass strings from argv[] to free(). Fixes PR 39992.
2008-11-23 10:08:50 +00:00
dholland
23ba00db99
"compatibility", not "compatability".
2008-11-23 09:51:10 +00:00
dholland
1b3d4050d6
Two robustness fixes:
...
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
2008-11-23 09:13:20 +00:00
mrg
d7d9597105
avoid noisy nfs_timer/nfs_reply DEBUG output that occurs when the
...
NFS server goes away. use ratelimit(9) and only print the console
error once every 10 seconds. PR#31562.
2008-11-23 08:22:07 +00:00
nakayama
5eb6089010
Wrap #include "opt_*.h" with #ifdef _KERNEL_OPT.
2008-11-23 01:10:00 +00:00
mrg
56585a9fd3
initialise a variable to avoid a GCC warning.
2008-11-23 00:15:13 +00:00
dsl
83146d79d6
Fix conversion of hex numerics in comparisons.
...
Broken by a fix from christos 14 years ago.
2008-11-22 23:42:16 +00:00
mrg
3b1d48844e
regenerate
2008-11-22 23:14:01 +00:00
mrg
672c98ee5a
implement netbsd32__sched_setparam(), netbsd32__sched_getparam(),
...
netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().
2008-11-22 23:13:38 +00:00
reed
501cda2f78
Mention the rc.d script.
...
Some users may thing that this config is used directly by a binary.
2008-11-22 23:08:31 +00:00
tsutsui
3381903ec0
Add "bootconf" to REQUIRE: lines which had beforenetlkm
...
since removed beforenetlkm required bootconf.
2008-11-22 20:23:33 +00:00
pgoyette
986177f217
Ouch - too many bits to fit in a byte.
2008-11-22 19:25:38 +00:00
dsl
1d48e86ec4
Move two great chunks of code out of a switch statement and into
...
separate functions.
No functional change.
2008-11-22 18:47:47 +00:00
dsl
8ea16b81f0
If there is a syntax error in a .if expression then ignore the entire
...
conditional block (ie down to the matching .endif) instead of passing
the input line back to the normal parsing code.
Do the same if the maximum .if nesting (64 levels) is breached.
2008-11-22 18:05:13 +00:00
dsl
feafbbe6e5
Convert ADDWORD() to do { ... } while (0)
2008-11-22 17:34:56 +00:00
dsl
66da2b26ce
Convert Buf_AddByte(0 to a more normal do { ... } while (0) form.
2008-11-22 17:33:57 +00:00
he
20bdc3eb41
If COMPAT_13 is defined, be sure to include compat signal
...
headers to get the native_sigset_to_sigset13() prototype and
related types in scope.
2008-11-22 15:34:18 +00:00
he
33a18bdcf6
Wrap opt* include in #ifdef _KERNEL_OPT.
2008-11-22 15:32:59 +00:00
pgoyette
b016fe8ba2
JEDEC has published the DDR3 SPD standard; update driver to match.
...
Verified on my single DDR3 machine to still produce correct data.
2008-11-22 13:21:21 +00:00
spz
beee1d989f
pmap_is_referenced_locked() is relevant for non-MULTIPROCESSOR systems too,
...
says martin@
2008-11-22 13:01:08 +00:00
uwe
67e730e6a0
Sort
2008-11-22 02:12:45 +00:00
uwe
1b438796de
Move COMPAT_16 signal stuff to the new compat_16_machdep.c file, so
...
that it can be built as part of a module.
2008-11-22 01:53:41 +00:00
uwe
c2b0ccbf39
Provide COMPAT_16 sigcode for MODULAR kernels too (to avoid the
...
trouble of adding compat_16_locore.S just for these 20 bytes - at
least for now).
2008-11-22 01:51:22 +00:00
cube
f57978ed6d
Unbreak expat by providing a proper configuration include for it. Problem
...
noticed by Jared McNeill.
2008-11-22 00:57:23 +00:00
uwe
da6162349a
G/c all reloc types except R_SH_DIR32 - which is the only one we
...
expect from a kmod that only have unresolved external symbols.
2008-11-21 23:18:11 +00:00
cegger
53d5928d58
make this compile
2008-11-21 20:53:28 +00:00
he
593aa4da31
The sendsig_sigcontext() here should most probably be sendsig_siginfo().
...
Based on hints from other developers.
2008-11-21 20:22:30 +00:00
he
c1aefc5a53
Wrap includes of opt* headers in _KERNEL_OPT.
2008-11-21 20:21:47 +00:00
he
005320c975
Wrap includes of opt* headers with _KERNEL_OPT.
...
Adapt sendsig_sigcontext() to the new prototype, and compute sig
and code patterned after the sparc code.
2008-11-21 20:21:12 +00:00
he
93a4c91cdf
Wrap include of opt* header with _KERNEL_OPT.
2008-11-21 20:17:51 +00:00
christos
f63c93ecac
PR/38735: Jonathan A. Kollasch: add the ability for cgd to be used on top of wedges
2008-11-21 20:14:20 +00:00
he
2df25715bb
Need to include <sys/module.h> when using the MODULE() macro.
2008-11-21 19:55:38 +00:00
he
8c94f52d9b
Wrap includes of opt* header files with _KERNEL_OPT. It is not entirely
...
clear to me that this will end up doing the right thing, because there
surely is a reason for the opt* headers.
Also, replace one "ksyms.h" with <sys/ksyms.h>.
Fixes build problems when this is built as part of a module.
2008-11-21 19:48:56 +00:00
pooka
dbeec14d9d
Make sure we write a positive length of data.
2008-11-21 18:02:17 +00:00
matt
3157816ae9
Switch to CFATTACH_DECL_NEW. Use device_* accessors. etc.
2008-11-21 17:13:07 +00:00
joerg
ba1c83c8cc
Fix indentation.
2008-11-21 16:08:57 +00:00
ad
44ea47f214
Remove the following from i386 GENERIC since they are also provided by
...
modules. Shrinks the kernel by 1278kB. XXX Need to further investigate
situation with vcoda and nsmb.
- all file systems
- all exec formats
- all compat code
- POSIX AIO
- the NFS server
- accept filters
2008-11-21 15:55:59 +00:00
ad
5b8ba55f76
Switch the i386 installation CDs away from RAM disks and instead use the
...
CD-ROM as the root file system. It contains a limited subset of $DESTDIR
along with sysinst. This will help to massively reduce the amount of memory
needed to install from CD or netboot, and allow us to continue using the
generic kernel on the CDs.
2008-11-21 15:49:51 +00:00
ad
ab165b17f6
Create a dynamically linked sysinst as part of the build process, but don't
...
install it.
2008-11-21 15:39:29 +00:00