Commit Graph

109548 Commits

Author SHA1 Message Date
matt
df4902d922 NetBSD doesn't support PS_REGNUM or anything >= MQ_REGNUM. 2003-03-04 21:12:32 +00:00
nathanw
f60f35f3ab Don't acquire __environ_lock around exec*() calls; nothing requires
that these calls be thread-safe with respect to the environment, and it
causes serious problems for threaded applications which call vfork() and
exec*() (including indirectly, via popen() or system()).

Acquire and release __environ_lock in the parent in popen() and system() to
play safe and provide the child with a stable environment.

__environ_lock should also have an atfork() handler; still under development.
2003-03-04 19:44:09 +00:00
jmmv
2ea5d53fe3 Avoid writing things to the fifo if it was not opened. 2003-03-04 19:43:09 +00:00
jmmv
73b21378a4 Check if configuration data exists before freeing memory. 2003-03-04 19:28:59 +00:00
perseant
d51fdbef63 Make sure we hold the uobjlock when checking for dirty pages, in lfs_vflush.
Note that pages can become dirty without our knowing it, anyway; don't
panic if that happens.
2003-03-04 19:19:43 +00:00
christos
b399e96d11 No other program prints errors inside angle brackets! 2003-03-04 19:19:25 +00:00
perseant
003cfbd545 Don't add dirty blocks to the ifile in lfs_segunlock, if we're trying to
unmount the filesystem.  This avoids a "dirty blocks" panic.
2003-03-04 19:15:26 +00:00
perseant
958a4c008c Don't force all truncations to be synchronous 2003-03-04 19:10:35 +00:00
tron
98e6fa0c08 Teach procfs_allocvp() about Puptime to avoid panics if "/proc/uptime"
is opened.
2003-03-04 18:55:02 +00:00
christos
aa229efdc3 Avoid memory leak. Pointed out by Patrick Latifi <patrickl at secureops dot com> 2003-03-04 18:30:58 +00:00
thorpej
65ec6ba6e7 Fix lib/20558:
A dynamically linked program invokes the rtld cleanup routine via
an atexit handler.  This rtld cleanup routine invokes _fini() for
shared libraries, which in-turn invoke __cxa_finalize() with their
DSO handle.  By luck, this happens to work okay for non-threaded
programs, but for a threaded program, this leads to deadlock (sometimes
manifested as an assertion failure, if the program didn't actually
create any threads).

Fixed by teaching __cxa_finalize() that it can be recursively invoked,
adjusting the handler list manipulation accordingly.
2003-03-04 18:09:48 +00:00
thorpej
50c739e7b8 Also test the libc atexit routine in the presence of libpthread. 2003-03-04 18:00:48 +00:00
kochi
b1b04fbfdf Update for acpica-unix-20030228. 2003-03-04 17:28:00 +00:00
kochi
589c0d70ae Resolve conflicts from acpica-20030228-2 import. 2003-03-04 17:25:09 +00:00
jmmv
1d2af97bbf Remove trailing whitespace. 2003-03-04 17:16:15 +00:00
kochi
f874599c20 Import the Intel ACPICA 20030228 release. 2003-03-04 17:07:34 +00:00
kochi
f93b318be7 import the Intel ACPICA 20030228 release 2003-03-04 16:43:14 +00:00
fredb
4ac9063aa0 Explain that "sh" has no effect except for locally attached printers,
using, in part, language provided by Gabriel Rosenkoeter. This partially
fixes bin/20525 filed by Peter I. Hansen.
CVS ----------------------------------------------------------------------
2003-03-04 16:10:04 +00:00
yamt
4ff37a4920 no point to compare wint_t and EOF. 2003-03-04 15:09:54 +00:00
yamt
da2254b6db iswctype: return 0 if charclass is 0. 2003-03-04 15:05:57 +00:00
jmmv
29e803a523 Add the /usr/share/examples/wsmoused directory (hi wiz!). 2003-03-04 14:53:01 +00:00
jmmv
48f9faab8e Add the wsmoused.conf(5) manpage. 2003-03-04 14:51:52 +00:00
jmmv
0ca9b0e305 Add the /usr/share/examples/wsmoused directory and the wsmoused.conf file
inside it.
2003-03-04 14:39:06 +00:00
jmmv
ba49f26643 Configuration file is optional, as well as sections inside it. 2003-03-04 14:38:25 +00:00
jmmv
f556391190 Add a wsmoused sample configuration file. 2003-03-04 14:36:17 +00:00
jmmv
68e2c80483 Add support to parse a configuration file, /etc/wsmoused.conf by default.
This file lets users tune the behavior of the daemon in a easy way, without
having to mess with command line options (nor in rc.conf).
It will also simplify future integration of new functionality within the
program as multiple "modes" of operator are recognized.
The new wsmoused.conf(5) manpage contains all related details.

Some error message cleanup and minor manpage fixes too.

Ok'ed by christos.
2003-03-04 14:33:55 +00:00
fvdl
1d6960703b Return value style update (no parentheses) 2003-03-04 14:22:15 +00:00
yamt
182b7b7cda lower acpi interrupt level to IPL_VM.
it's the highest level it can use because it uses malloc(9).
XXX probably, it's still higher than it needs.

ok'ed by thorpej.
2003-03-04 13:44:08 +00:00
soren
e0395ed0f1 G/c old macppc grf entries. 2003-03-04 13:29:12 +00:00
soren
889bcccc72 Attach on recent TiBooks.
XXX The mixer doesn't work yet.
2003-03-04 13:28:20 +00:00
yamt
36c89d3a8a wctob returns EOF, not WEOF. 2003-03-04 13:27:12 +00:00
tshiozak
352611fffc add manpages for wctype, wctrans, iswctype and towctrans. 2003-03-04 12:26:26 +00:00
dogcow
dd911e8f5d Reworked the bfd accesses to use the documented interfaces.
Also, use the file offsets for direct reading/writing, rather
than going through poorly-documented bfd internal magic.
2003-03-04 12:16:41 +00:00
tshiozak
188f0525a0 add manual pages for iswctype(), towctrans(), wctype() and wctrans(). 2003-03-04 12:11:49 +00:00
wiz
2c9762a5ec Mention how to enter ddb on macppc. Bump date and copyright. 2003-03-04 12:02:51 +00:00
dsl
b7c921ed3d The IDT is an array of struct gate_descriptor. 2003-03-04 10:39:10 +00:00
tshiozak
ca7b6ea6df add #include <string.h> for memset(). 2003-03-04 10:35:31 +00:00
tshiozak
76c65c8cdb fix a latent bug; host structure was mistaken for file structure.
my latest changes actualize it on ISO8859-x locales.
2003-03-04 08:49:15 +00:00
matt
fb2cebb577 Pass the address of the intrframe to the ext_intr routine. 2003-03-04 08:34:12 +00:00
dogcow
12931a397c change bfd_close -> bfd_close_all_done, as to discard any changes libbfd
thinks may have been made to the object file during symbol groveling.
2003-03-04 08:32:58 +00:00
wiz
5cdc073488 postfix-2.0.5 out. 2003-03-04 08:07:21 +00:00
matt
e1d9426036 Make to define ${BOARDTYPE} 2003-03-04 07:52:21 +00:00
matt
107803a3a3 Re-arrange things in evbppc & powerpc to support OEA-based eval boards
in evbppc.  OEA-based board(s) to be added later.
2003-03-04 07:50:57 +00:00
matt
9875f9218d Add some missing volatiles. 2003-03-04 07:48:09 +00:00
thorpej
d3f54e81dd Fix the following pathological scanario:
* User allocates ZFOD region, but does not actually touch the buffer
  to fault in the pages.
* In a loop, user writes this buffer to a network socket, triggering
  sosend_loan().
* uvm_loan() calls uvm_loanzero() once for each page in the loaned
  region (since the pages have not yet faulted in).  This causes a
  page to be allocated and zero'd.  The result is the kernel spends
  a lot of time allocating and zero'ing pages.

This fixes creates a special object which owns a single zero'd page.
This single zero'd page is used to satisfy all loans of non-resident
ZFOD mappings.

Thanks to Allen Briggs for discovering the problem and for providing
an initial patch.
2003-03-04 06:18:54 +00:00
taca
57fdc950ca BIND 9.2.2 has out. 2003-03-04 03:41:59 +00:00
lukem
cfcaeea176 don't print the command & start time until after the options are parsed... 2003-03-04 02:20:28 +00:00
thorpej
23d2066add Cast the argument passed to vtophys() to a vaddr_t. 2003-03-04 01:10:50 +00:00
fvdl
a345044000 s/i386_isa_chipset/x86_isa_chipset/ 2003-03-04 01:07:36 +00:00
fvdl
f28dd1acef s/i386_isa_chipset/x86_isa_chipset/, it's defined on multiple ports, but
used in shared code.
2003-03-04 01:06:38 +00:00