Commit Graph

164453 Commits

Author SHA1 Message Date
yamt
0156962757 document LWP_CACHE_CREDS. 2007-12-09 08:37:48 +00:00
yamt
a535c1a428 sort 2007-12-09 08:36:14 +00:00
yamt
478ca46add document LWP_CACHE_CREDS. 2007-12-09 08:31:58 +00:00
ober
02ade29d04 Cleaning up commented out code. Formatting according to style rules. 2007-12-09 03:33:29 +00:00
xtraeme
6797f052ff Erm fix some defines in previous... 2007-12-09 00:24:46 +00:00
jmcneill
0273402379 kern/37501: cosmetic error in acpi_tz probe messages 2007-12-08 23:01:30 +00:00
ad
1206a8cb5c Add some goo to make this work in userspace. 2007-12-08 22:53:33 +00:00
ad
96f5ce86b9 objdump -d to the rescue. I think this should work now. 2007-12-08 22:42:46 +00:00
mrg
07f0bc85c9 catch up with the adses: IPL_CLOCK -> IPL_VM in a couple of places
that are #ifdef MULTIPROCESSOR.

MP sparc kernel faults inside proc0_init() yet.
2007-12-08 21:50:07 +00:00
jnemeth
1d506ab633 PR/37155 - Marcelo Schmidt -- specifying too large of a size causes segvs 2007-12-08 21:40:23 +00:00
jnemeth
415d88d5b8 PR/37503 - De Zeurkous -- inaccurate description of -s option 2007-12-08 20:52:19 +00:00
pooka
319ddafdc5 Now that "l" is gone both as an argument to operations and from
componentname, remove all vestiges of puffs_cid.
2007-12-08 19:57:02 +00:00
christos
f8082d9a50 We should be able to operate on more than one file, like other unix tools. 2007-12-08 19:56:54 +00:00
pooka
0153ca9dc9 4.99.41: cn_lwp is dead, long live curlwp 2007-12-08 19:30:53 +00:00
pooka
e474023c09 regen 2007-12-08 19:30:19 +00:00
pooka
db06a930e6 Remove cn_lwp from struct componentname. curlwp should be used
from on.  The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
2007-12-08 19:29:36 +00:00
jnemeth
85c7ab0640 add a sample XAuthLocation for x.org users as discussed on pkgsrc-users@ 2007-12-08 19:03:28 +00:00
jdc
7cc6075b0e Keep pushed-back characters locally. Fixes problems where KEY_* symbols
are pushed back.  Should fix the arrow keys part of PR pkg/37173.

While we are here, make getch() and get_wch() check for resize immediately,
instead of reading a key, checking for resize and then having to push-back
the just read key.
2007-12-08 18:38:11 +00:00
dsl
28bae79b27 ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
2007-12-08 18:35:53 +00:00
he
c26a54ba24 Ensure that we pass -z initfirst to the linker. The mips gcc
was unhappy about the missing -Wl specification.
2007-12-08 18:34:51 +00:00
mjf
a231613bc3 Whoops, move my branches into the active section.
Thanks Dennis!
2007-12-08 18:15:29 +00:00
apb
5e14203889 Update some comments and remove an unnecessary eval. No functional change. 2007-12-08 17:52:34 +00:00
apb
3bc3600ea3 Add a linecount shell function, and use it to count the lines in the
output from MAKEDEV.local.

Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
Laight.  The while loop in the old code is executed in a subshell, so it
can't make persistent modifications to the parent shell's variables.
2007-12-08 17:31:12 +00:00
xtraeme
1e1bd31956 Add some more firmware command/status codes from the freebsd driver. 2007-12-08 16:53:19 +00:00
tsutsui
2dc9b9cb28 ufs_ls.c doesn't belong to lfs. 2007-12-08 16:00:25 +00:00
ad
6ab26a0fa8 Partially merge syncer changes from vmlocking2. 2007-12-08 15:47:32 +00:00
ad
371ba00b4a Allocate amaps from a pool_cache. 2007-12-08 15:46:31 +00:00
tsutsui
0ac5343d25 Pull several fixes from OpenBSD's fxp.c:
Rev 1.41:
> use a nop with I bit set at the end of the tx chain.  This avoids a race
> between status update and clearing the suspend bit on machines which can't
> write data smaller than 32bits at a time.
This should fix PR port-alpha/30560.

Rev 1.50:
> Fix nasty bug where driver would not correctly catch and handle an rnr
> condition when it was due to the the recieve buffers being exhausted with
> no packet transmits during that time. Symptom was that the fxp would
> simply stop interrupting for the next 15 seconds until the watchdog kicked
> in and reset the chip due to 15 seconds of inactivity, making the fxp very
> poorly behaved when hammered on hard.

Rev 1.61:
> Defer reinitialisation of the RU until after the interrupt handler has had
> a chance to process all pending packets, otherwise the chip may overwrite
> their mbuf clusters after we have freed them.
>
> Eliminates a race that can cause random pool corruption when reconfiguring
> an interface under heavy network load.

And one more change for RX sanity:
- put RU into suspend when the last RFA is processed.

These RNR/RU changes may fix pool corruption problems on fxp.

Tested on AlphaPC164 and i386 with i82559 and i82550.
2007-12-08 15:45:43 +00:00
ad
de874f619c Merge from vmlocking2 (use cdev_mmap()). 2007-12-08 15:33:09 +00:00
ober
86724c8c4c Remove pccons as it is gone forever. 2007-12-08 15:31:16 +00:00
ad
5870896633 Grab ump->um_lock in another spot. 2007-12-08 15:23:32 +00:00
ad
c27abd2a99 Add some comments. 2007-12-08 15:21:19 +00:00
oster
b99a3154c6 Add bits needed by my last changes to iscsifs.c (oops! :( ). In
particular, initialize the target name properly in g_target, and add
functions for setting the target name and retrieving a list of
available targets.

Thanks to agc for catching this.
2007-12-08 15:20:24 +00:00
ad
7c9b007bbc Destroy ovm_hashlock before freeing. 2007-12-08 15:12:15 +00:00
ad
0444cfe507 Use kmem_alloc/free. 2007-12-08 15:10:22 +00:00
ad
5e0c5eae3c Unbork 2007-12-08 15:04:29 +00:00
ad
a9eb927490 Merge from vmlocking2: don't hold semlock across copyin(). 2007-12-08 15:02:46 +00:00
ad
461cd942ea Merge changes from vmlocking2 branch. 2007-12-08 15:00:13 +00:00
ad
1bea664342 Merge ihash locking changes from the vmlocking branch. 2007-12-08 14:48:33 +00:00
ad
6a3b582fe3 Merge locking changes + fixes from the vmlocking branch. 2007-12-08 14:41:11 +00:00
ad
e1d841a734 struct lock -> kmutex_t 2007-12-08 13:54:32 +00:00
elad
51fe5bc63c Replace usage of p_cred in kauth(9) call with kauth_cred_get().
okay yamt@.
2007-12-08 13:31:03 +00:00
tsutsui
9f8e035be7 Use ${TOOL_STAT} to get file size instead of ls and awk in more places. 2007-12-08 12:30:18 +00:00
wiz
3c088505e9 Spelling. 2007-12-08 11:09:58 +00:00
wiz
64617fb7d8 New sentence, new line. Sort SEE ALSO. Use standard headers.
Replace links from iic(4) with iic(9) because the former doesn't exist.
XXX: battery(4) and smartbat(4) don't exist either.
2007-12-08 11:06:52 +00:00
wiz
397b6da020 Fix typo, remove superfluous minus and describe "fd" as file descriptor
in two places.
2007-12-08 10:56:06 +00:00
ad
9c8beda3c8 Reg... hang on, why don't we build this at compile time?!? 2007-12-07 22:42:11 +00:00
ad
bca34dfe7a Add: _lwp_setname, _lwp_getname, _lwp_ctl. 2007-12-07 22:41:05 +00:00
tsutsui
dda5f131c9 Add more useful variables for rsync to fetch binary sets:
RSYNC_HOST
  specify rsync host (default: rsync.NetBSD.org)

RSYNC_PATH_PREFIX
  specify extra prefix path of NetBSD module names for rsync mirrors
   ex. "/pub", "/netbsd" etc. (default: empty)

DAILY_DIR
  specify directory name on using NetBSD-daily snapshot for -current
   ex. "200712060002Z" etc. (no default; mandatory for -current)

RELEASE_SUFFIX
  specify suffix of directory names used for pre-releases
   ex. "_BETA2", "_RC5" etc. (default: empty)

RSYNC_PATH
  specify path used to rsync hosts (default: set from the above variables)

Examples:

make RELEASE=3.1 TARGET_CD_IMAGE=mac68kcd fetch
 -> fetch 3.1 mac68k sets from
    rsync.NetBSD.org:/NetBSD/NetBSD-3.1/

make RELEASE=4.0 TARGET_CD_IMAGE=mac68kcd RELEASE_SUFFIX=_RC5 fetch
 -> fetch 4.0_RC5 mac68k sets from
    rsync.NetBSD.org:/NetBSD/NetBSD-4.0_RC5/

make RELEASE=current TARGET_CD_IMAGE=mac68kcd DAILY_DIR=200712060002Z fetch
 -> fetch -current mac68k sets from
    rsync.NetBSD.org:/NetBSD-daily/HEAD/200712060002Z/

make RELEASE=4.0 TARGET_CD_IMAGE=mac68kcd RELEASE_SUFFIX=_RC5 \
    RSYNC_HOST=rsync3.jp.NetBSD.org RSYNC_PATH_PREFIX=/pub fetch
 -> fetch 4.0_RC5 mac68k sets from
    rsync3.jp.NetBSD.org:/pub/NetBSD/NetBSD-4.0_RC5/

make RELEASE=3.1 TARGET_CD_IMAGE=mac68kcd \
    RSYNC_PATH=/NetBSD-daily/netbsd-3/200712060002Z fetch
 -> fetch mac68k sets of netbsd-3 branch from
    rsync.NetBSD.org:/pub/NetBSD-daily/netbsd-3/200712060002Z
2007-12-07 21:08:58 +00:00
ad
37132d5d2f Back out previous now that libc/libpthread are initialized first. 2007-12-07 20:36:52 +00:00