Commit Graph

175624 Commits

Author SHA1 Message Date
ad
fedda485e0 Resurrect miniroot.kmod for bespoke installs. 2008-12-01 10:11:26 +00:00
wiz
2c1752b597 Really comment out uucp(1) crossref. 2008-12-01 06:52:59 +00:00
martin
b23c5d4038 Fix "target" calculation (for the sake of matching OF path names) for
atapi cdrom drives - we need to add an offset if the whole atabus is
the second ata bus on the controller since firmware adds 2 to the
target in this case. Avoids a bogus match of cd0 if booting from wd0 on
a U5/U10 (both connected to the same internal ide controller).
Problem reported by Urban Boquist and Greg Oster.
2008-12-01 00:09:47 +00:00
dholland
ce6785d91d Bump date for mjf's Dec 4 2007 commit that corrected the description of
magiclinks and added @ruid.
2008-11-30 23:39:20 +00:00
dholland
1f595bc8ca Update SEE ALSO per PR 40071: compress -> gzip, add missing tar, comment
out uucp because uucp was removed from base. (Though maybe it should be
left in anyway - it belongs as a crossreference for historical reasons.)

It doesn't seem to me that every tool used in an example must
necessarily appear in SEE ALSO, but it doesn't particularly hurt.
2008-11-30 23:22:46 +00:00
dsl
1e7b0ea1a2 Simplify somewhat the code that parses .for lines.
Use malloc to allocate space for teh strings (instead of a buf structure)
to make it mossible to not leak the associated memory (leak not fixed!).
No functional change intended.
2008-11-30 22:37:55 +00:00
hubertf
740e3df3fd Work around a bug in Solaris' shs (both /bin and /usr/xpg4/bin)
where "for d in ; ..." results in a syntax error.

Suggested by apb@
2008-11-30 22:05:56 +00:00
tjam
1588416646 Added myself. 2008-11-30 21:13:03 +00:00
martin
719a906ef5 As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
2008-11-30 18:21:31 +00:00
joerg
dfd7714b8f Split ffs_blkalloc into a frontend that does inode based consistency
checks and a backend that just asserts them. Use the backend in
ffs_wapbl_abort_sync_metadata instead of faking an inode.
2008-11-30 16:20:44 +00:00
tsutsui
587f6b4f8e Add RCS Id. 2008-11-30 08:49:25 +00:00
tsutsui
323d1f8f3d Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols. 2008-11-30 04:18:14 +00:00
haad
e51aea320a Fix two race conditions in proplib library. In prop_dictionary and prop_number
there was small window in which was entry left in rb tree with reference
count 0 which lead to rb tree coruption when another thread picked this up
before it was released.
Add 2 new members to the prop_object_t which are used for locking/unlocking
rb tree guard mutex.

Ok by joerg@, core@, thorpej@
2008-11-30 00:17:07 +00:00
christos
82b58f55f0 regen 2008-11-29 23:48:58 +00:00
christos
78b9002948 Add support for the Intel G45 AGP. From Arnaud Lacombe 2008-11-29 23:48:12 +00:00
cube
ff6575a088 Bump to 5.99.4, ppp compressor interface changed. 2008-11-29 23:16:26 +00:00
cube
9f95a5d658 Fix handling of ppp compressor modules, from Andrew Doran's input.
- ref count each compressor
 - allow {un,}registration of several modules at once
 - une RUN_ONCE to make sure the mutex is initialised, because
   unfortunately built-in (and bootloader-loaded) modules init functions
   are run before pseudo-devices attach (reported by Nick Hudson).
2008-11-29 23:15:20 +00:00
dholland
6a8d114c5f Modernize and expand example. Bump date. 2008-11-29 22:42:53 +00:00
dholland
2ef1dd5f7a Sync usage message with man page. PR 40063. 2008-11-29 22:36:57 +00:00
dholland
75cd00a06a Clarify man page with respect to input and output files, and sync usage
message. Prompted by PR 40063 about the usage message.
2008-11-29 22:36:13 +00:00
tsutsui
7828361bcf - don't build compat_linux on alpha until sys/modules/compat_linux/Makefile
handles required MD files under sys/compat/linux/arch/alpha
- build exec_elf64 for all 64 bit arch
- use MACHINE_ARCH!="alpha" instead of MACHINE!="alpha" for exec_elf32 check

XXX we have many histrical inconsistent use of amd64 vs x86_64.
2008-11-29 18:41:06 +00:00
cegger
83776b8eea check error case for kvm_getlwps or SIGSEGV occurs due to dereferecing a NULL pointer.
return NULL if there are no threads or proceed further through all loops.
Fixes PR 40004. Ok rmind@
2008-11-29 18:24:58 +00:00
tsutsui
36e401605d Reorganize lists for MD modules:
- move MD module files from md.* into separate module.* lists
- make those module lists per MACHINE_CPU or MACHINE_ARCH,
  rather than per MACHINE

Tested on several ports.

XXX maybe we should also move usr/tests/modules/k_helper/k_helper.kmod
XXX from lists/tests/mi to lists/tests/module.mi and disable it on evbppc.
2008-11-29 17:57:33 +00:00
dsl
6cb9ef7eef Split For_Eval() into two functions.
For_Eval() is now only called for the first line of a .for.
For_Accum() is called for the subsequent lines.
Stops any problems with forLevel being left invalid after an error.
Use a return value of -1 from For_Eval() to mean 'skip input line' to stop
a .for line with a syntax error being reparsed by make.
2008-11-29 17:50:11 +00:00
tsutsui
094b7fe7c7 Add an entry for workaround in src/sbin/ifconfig/Makefile
for gcc -O1 loop optimize bug.
2008-11-29 15:31:18 +00:00
tsutsui
09275f2b8b Specify -fno-loop-optimize on m68000 as workaround for gcc -O1 codegen bug
mentioned in PR bin/40036 and PR toolchain/40066.
2008-11-29 15:28:49 +00:00
tsutsui
da5d5a9f1c Add RCS Id. XXX why separate Makefile.inc? 2008-11-29 15:23:32 +00:00
dsl
34a8d95d66 Before deciding to use the default function in a .if, check whether the
token that follows the argument might be '==' or '!='.
If so then treat as a string comparison instead.
Fixes bin/15233 and bin/30967 provided some whitespace is present.
".if A==A" remains a check for defined(A==A) since make places no
restrictions on the names of variables!
2008-11-29 14:42:21 +00:00
dsl
b8ee15c2f2 Common up parsing .if defined() make() exists() target() commands() and empty()
Add a check for the '(' following the function name, if absent then treat
as if the function name is unknown - usually leading to a syntax error.
No other functional changes intended.
2008-11-29 14:12:48 +00:00
hubertf
445a0ac38f Hand over copyright to TNF 2008-11-29 10:27:03 +00:00
isaki
74a27b3322 Rename variables to avoid confusing. forgotten in previous commit. 2008-11-29 06:16:49 +00:00
isaki
03f059cb18 Split device_t/softc. Use aprint*() and device_xname().
Not tested. I cannot test now...
2008-11-29 06:02:52 +00:00
jnemeth
b9c73aff7d PR/40060 - Bug Hunting -- grammar fix 2008-11-29 06:00:45 +00:00
isaki
b823d19d77 Split device_t/softc. Use aprint*() and device_xname().
Not tested. I don't have its hardware and no response in port-x68k.
2008-11-29 05:59:40 +00:00
jnemeth
10655c3e2a PR/40059 - Bug Hunting -- add Xref to wscons.conf(5) 2008-11-29 05:52:32 +00:00
snj
a77a42969d Note that re(4), ath(4), and puc(4) are known to work on sparc64. 2008-11-28 23:38:04 +00:00
jmcneill
61d5be8fc7 Don't select an endpoint with a larger packet size than the maximum for
the current video stream.
2008-11-28 23:31:11 +00:00
wiz
659c30f2ba Remove empty line. Fix typo. New sentence, new line. 2008-11-28 22:37:44 +00:00
wiz
0481201a86 Sort errors. 2008-11-28 22:33:02 +00:00
wiz
031e00d766 Fix typo, remove .Pp before .Sh (unneeded). 2008-11-28 22:31:01 +00:00
mrg
762b4ef51e add -Wl,-rpath,${X11USRLIBDIR}/modules to LDADD, so that scanpci can
find libscanpci.so.0.  fixes PR#40050.
2008-11-28 21:36:28 +00:00
he
f4b2fe2c8d Build compat_linux and exec_elf64 for alpha. 2008-11-28 21:17:08 +00:00
reed
b9585ffded May have multiple files on command line.
Fixed PR #40058.
2008-11-28 20:30:05 +00:00
sborrill
8e03e5a4c8 Add cut-down getpwent_r() to join existing getpwent() and friends. This
fixes PR 40003
2008-11-28 19:39:00 +00:00
elad
67fb7f0d5c PR/40002: Daniel Horecki: sockstat doesn't work for user with sysctl
security.curtain=1

If the kauth call failed, we'd silently continue the loop, but the error
code would remain and eventually "leak" to userspace. Reset the error to
zero when continuing.

Tested by snj@ and myself. Okay snj@.
2008-11-28 18:58:59 +00:00
dsl
e89d05e775 #undef ACTIVE (not ENTER) since that is the variable we defined just above.
Noted on port-i386 by Gao Ya'nan.
2008-11-28 18:18:16 +00:00
jmorse
4f7247f185 Modified uvideo_stream_init_desc to correctly calculate max packet size for high speed endpoints. 2008-11-28 17:20:02 +00:00
jmorse
3ce0341c47 Fixed high-speed isoc USB transfers, 64 bit capable host controllers have a different transfer descriptor to non-capable controllers.
Added dma-sync of data buffer before scheduling transfers
2008-11-28 17:18:21 +00:00
joerg
d235df969a Change the formula for tmpfs size. The per-inode memory usage is
higher than old estimate on 64bit platforms and the resulting tmpfs
wouldn't be able to hold the required number of devices.
2008-11-28 16:04:31 +00:00
reinoud
df11d3f1f5 Allow for the exclusive selection of `direct' for rdonly mounts; its disabled
for now since its a lot slower than `rmw' access.

For archs that have trouble with `rmw' for whatever reason can so use it as a
scapegoat to allways mount savely rdonly though slower.
2008-11-28 15:29:47 +00:00