Commit Graph

175552 Commits

Author SHA1 Message Date
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
tsutsui
6c9852e4a8 alpha doesn't have modules for compat_linux and exec_elf64 (yet?). 2008-11-28 15:16:02 +00:00
reinoud
273d4a49cd Remove old comment and remove unused calculated variable 2008-11-28 14:33:36 +00:00
tsutsui
038f5e59df - use Em for HZ
- add xrefs to hz(9) and time_second(9)
2008-11-28 11:16:26 +00:00
tsutsui
244d8626e7 - reorder description per meanings
- note header files in SYNOPSIS
- remove obsolete internal description about hardclock(9)
- note that microtime(9) and microuptime(9) family functions are prefered
  for atomic operation (from FreeBSD's time(9))
- add more related Xrefs
2008-11-28 11:13:47 +00:00
pooka
989608d6b7 Tyop: v -> vp. Spotted by Tom's ARM builds. 2008-11-28 10:57:03 +00:00
tsutsui
bcd97fa439 Sync with microuptime(9):
- improve punctuation
- add explicit xref to hz(9)
- use Em for HZ
2008-11-28 10:55:41 +00:00
ad
1a8ada2ed9 exec_add, exec_remove: allow zero entries in case a module provides nothing. 2008-11-28 10:55:10 +00:00
tsutsui
f7287b16da - use Em for HZ
- also add hz(9) to SEE ALSO
2008-11-28 10:52:22 +00:00
martin
e0b01c2a5d fix include filename 2008-11-28 10:27:29 +00:00
pooka
5ade66e9b9 make the synopsis slightly less overpromising:
"attempt to recover a deleted file" => "remove whiteout"
2008-11-28 09:48:58 +00:00
he
5197a6eb44 Copy the sigdebug and sigpid declarations and associated defines
for the DEBUG define from machdep.c, so that this builds again.
2008-11-28 09:01:00 +00:00
dogcow
44b48a9ad4 We also need a 32-bit librumpvfs when building on 64-bit arches.
Fix by pooka.
2008-11-28 08:57:54 +00:00
he
ab0140fc2c We now also need globals.c from the common libsa. 2008-11-28 08:15:51 +00:00
jdc
b75399d6f2 Add wscons/vcons support for cg3. 2008-11-28 07:57:04 +00:00
pooka
0fa0158c37 Use kmem instead of malloc to avoid hassle with dynamically attaching
a malloc type.  Makes nfsserver-as-a-module work.

reported on current-users & tested by Geoff Wing
2008-11-28 07:23:22 +00:00
dholland
d5870e1cc6 Clarify that the "amaster" argument of forkpty() is only defined upon
return in the parent process, but the tty name is available to both
the parent and child. Bump date.
2008-11-28 07:17:17 +00:00
pooka
bd6148602f g/c unused malloc types 2008-11-28 06:47:08 +00:00
dholland
76eef63f94 Add missing fflush() in one of three places that print stuff repeatedly
every so often. PR 32836 from Takuro KUBOTA.
2008-11-28 05:58:22 +00:00
christos
78d77f514f better error messages, and more messages for DIAGNOSTIC. 2008-11-27 21:36:51 +00:00
christos
b3ed889133 PR/40043: Geoff C. Wing: syslogd timestamping and protocol parsing deficiencies
Syslogd does not properly handle:

1) the ADDDATE flag which is set with -T invocation and when messages
   come from the kernel.  Other cases where it is set it is ignored
   as timestamping is always done (e.g. logmsg_async())

2) the variable found_ts in check_timestamp().  It would determine
   whether or not the message had a (possibly valid) timestamp, set
   found_ts to true, then ignore that in most cases.  If we can't find
   a timestamp return.

3) messages without a parsable timestamp should get one when outputting
   the BSD syslog format so that a syslog-protocol timestamp isn't
   injected (chopped off with BSD syslog length) giving something like:
    "2008-11-27T15:0 cisco -: 1790:"
     ^ time might have been 2008-11-27T15:02:35.296497+11:00

4) syslog protocol version checking only checked for a leading numeral
   one (1) then skipped two places (presuming a space).  Messages sent
   from some sources (e.g. my cisco) may be
     "1795: Nov 27 04:12:52: %LINEPROTO-5-..."
   which would be chopped to
       "95: Nov 27 04:12:52: %LINEPROTO-5-..."
2008-11-27 20:37:21 +00:00
pooka
839034650f * hang all mountpoints from rootvnode in our virtual mount hierarchy
* set VV_ROOT for the rootvnode to make getcwd realize it has met
  its journey's end
2008-11-27 16:40:40 +00:00
pooka
0b7df1d2e2 LIBDPLIBS on librumpvfs 2008-11-27 16:14:46 +00:00