Commit Graph

130415 Commits

Author SHA1 Message Date
jdolecek
9cc50db4c5 if passed sockaddr has family AF_UNSPEC, use socket family of the socket
the sockaddr is used for

this fixes bind() problem in Linux version of Theocracy, testing
by Thomas Klausner
2004-09-12 15:32:55 +00:00
wiz
4d38f47519 Correct macro usage. 2004-09-12 13:12:26 +00:00
wiz
6d8640263f Replace "<>&" with "\*[Lt]\*[Gt]\*[Am]". 2004-09-12 13:06:14 +00:00
wiz
cd95d7a583 Fix typo. 2004-09-12 13:03:06 +00:00
jdolecek
8c73815634 remove the commented COMPAT_AOUT - it's not present in the other
kernel configs neither
2004-09-12 12:49:22 +00:00
jdolecek
ca7fc04a65 use 'have_toupper' variable for awk toupper() function existence test, rather
than 'isgawk' - e.g. nawk has toupper() too
2004-09-12 11:24:15 +00:00
jdolecek
f7ec3be35d use native syscallnames[] for SYSCALL_DEBUG 2004-09-12 11:09:32 +00:00
jdolecek
0e3af04f6a use native syscallnames[] array for 'aout' and 'aoutm68k' "emulations" - it's
only used for syscall name <-> number translations, and the native array
is guaranteed to be superset of the former 'aout' and 'aoutm68k' arrays

this re-adds 'aoutm68k' support, and replaces change made in 1.14

g/c #include's which are no longer needed (including aout_syscalls.c), and
also add some comments for the emulations[] array
2004-09-12 11:05:43 +00:00
jdolecek
f83c14f534 only include emulation syscallnames with SYSCALL_DEBUG, it's not used otherwise 2004-09-12 10:38:25 +00:00
jdolecek
c2ce3ec2d5 constify 2004-09-12 09:25:59 +00:00
yamt
2e1baea952 recognize _Bool. 2004-09-12 08:58:52 +00:00
dsl
4b313d03d3 Need %ah == 0 (not 0xff) in order to find the correct partition table entry
when simulating a key press in the non-interactive mbr code.
Fixes bug introduced in rev 1.10 - older versions worked because %ah
happened to be 0!
Fixes PR bin/26919
2004-09-12 08:41:47 +00:00
he
936dfb04a0 More removal of references to aoutm68k_syscalls.c, following that file's
removal.  Allows our m68k ports to build again.
2004-09-12 08:04:50 +00:00
dsl
9721e88965 Fix intuit_translated_geometry() calculation.
From Izumi Tsutsui in PR bin/26917
2004-09-12 07:46:24 +00:00
christos
82345479d5 Don't try to catch SIGSTOP... 2004-09-12 04:51:32 +00:00
yamt
1304a56139 m_split: restore a behaviour on M_PKTHDR, which was unintentionaly
changed when i added m_copyback_cow.
2004-09-11 19:55:19 +00:00
bouyer
bf02dcb5ca If we're not going to handle a reset request because one if already pending,
decrease queue_freeze that we just increased (otherwise the queue stay
frozen after the reset).
Should fix kern/26873 and port-i386/26910.
2004-09-11 18:01:58 +00:00
dsl
abc7a82e52 Count the output file size modulo 2^32 so that the check against the size
in the compressed file works for files greater than 4GB.
Fixes the fixable part of bin/26907
2004-09-11 11:07:44 +00:00
yamt
48f5be416a - calculate maxfilesize dynamically rather than having a static table.
- no longer limit filesize to INT32_MAX.  file lbns are 64-bit these days.
  anyway, on-disk format shouldn't be limited by the kernel internals.
2004-09-11 08:33:53 +00:00
christos
392086fb66 bind the scrolling keys by default. 2004-09-11 04:47:43 +00:00
ian
fc5f5774ed Don't remove entries from this file, mark them as obsolete. 2004-09-11 01:19:14 +00:00
bouyer
a480086121 pool_prime() the ncr53c9x_ecb pool with one element (this will cause one page
to be allocated anyway). scsipi can deal with resources shortage, but if this
pool goes down to 0 pages we can deadlock with the scsipi_xfer, vnode or
inode pools.
Also update a comment, despite resources accounting we can return
ATAPTER_RESOURCES_SHORTAGE here.
2004-09-10 23:44:29 +00:00
wiz
be98c25ecf Fix typo in comment. 2004-09-10 22:22:20 +00:00
reinoud
a4ea5c43d3 Add wsmux and keyboard RAW support for better X 2004-09-10 21:09:57 +00:00
reinoud
52a3b4ec4a Add USB-2 support to Alpha 2004-09-10 21:09:06 +00:00
he
72ed8803cf Remove references to aoutm68k_syscalls.c, following that file's removal. 2004-09-10 18:30:20 +00:00
nathanw
3a1db40022 Spelling in comment. 2004-09-10 15:27:10 +00:00
ian
70f35b6f77 Remove support for ALIASES in share/locale/ctype/Makefile, which
created symlinks in the filesystem.  Put the one existing alias
(zh_TW.BIG5) into the newer locale.alias file.
2004-09-10 15:12:51 +00:00
darrenr
ec6c370522 Regen'd to add Sierra Wireless AirCard 580 2004-09-10 13:59:07 +00:00
darrenr
b5e2dc9cd7 Add Sierra Wireless AirCard 580 (1xEV-DO) 2004-09-10 13:56:32 +00:00
wiz
ac50d09659 Replace .ie with empty .el or without .el with .if; add some comments;
reduce if'd stuff in one case.
2004-09-10 12:59:03 +00:00
wiz
208ce14f93 Add two missing closing curly braces. Should fix atari release notes.
jdc@ ok.
2004-09-10 12:57:05 +00:00
hubertf
67902b53f9 Fix cut'n'past-o from last change 2004-09-10 11:49:28 +00:00
yamt
1c14eba60e vndstrategy/vndiodone:
don't call bgetvp/brelvp here.  they are not interrupt safe.
as we're doing something like direct i/o,
there's no point to call them anyway.
2004-09-10 10:00:33 +00:00
yamt
6a2c652541 regen. 2004-09-10 09:38:17 +00:00
yamt
472da495d3 VOP_BMAP isn't protected by vnode locks these days. 2004-09-10 09:37:41 +00:00
yamt
77641b98f3 g/c no longer used definition of fs_maxfilesize. 2004-09-10 09:36:05 +00:00
yamt
d37ce14181 pflog_packet: use bpf_mtap2().
(our bpf_mtap() is more "strict" about mbufs
than openbsd's one is.  eg. M_PKTHDR should be set properly.)
2004-09-10 08:48:32 +00:00
jdolecek
725814cc94 garbage-collect aoutm68k_syscalls.c, it's just taking up space (it's not used) 2004-09-10 07:11:26 +00:00
jdolecek
734ccdcf2b fix/adjust comment a little 2004-09-10 06:09:15 +00:00
itojun
1ce764ab35 use arc4random 2004-09-10 05:34:54 +00:00
atatat
d96c6bad93 Add some more attribute "names", taken from
http://freepgs.com/smart/attributes.php

which gets them from smartmontools as maintained by Bruce Allen.

Note that some of these attributes should be "named" differently
depending on the drive (point for future work?), but at least now
there are names for some of the one that were missing them.
2004-09-10 04:11:09 +00:00
atatat
2a3ef0e821 White space police 2004-09-10 03:43:52 +00:00
oster
6737b791e5 Minor update to note a few other archs for which booting directly from
a RAID-1 set is supported.
2004-09-10 01:32:14 +00:00
yamt
6928fd95a8 fix a sign expansion bug for >=8k blocksizes. 2004-09-09 22:57:19 +00:00
wiz
47d145fddb From otto@OpenBSD:
Do not evaluate this->next after calling the handler; the handler may
have clobbered it. Resolves core dumps of cvs server on user ^C.

Ok'd by christos.
2004-09-09 22:23:29 +00:00
wiz
f4d1c39625 Indent header description (from jmc@openbsd).
Sort sections and remove a trailing space.
2004-09-09 22:03:21 +00:00
wiz
8dab296315 Some improvements from jmc@openbsd:
sort option descriptions, add argument to -m, mention strfile
and add some xrefs.
2004-09-09 22:01:08 +00:00
wiz
c7f456efa5 Not sparc-specific, or it should be in man4.sparc. 2004-09-09 21:39:07 +00:00
bouyer
4849b82163 Make the xxstart() functions reentrant again, as some drivers HBA can call
scsipi_done() from their scsipi_request().
For this, add a struct scsipi_xfer * argument to scsipi_command().
If not NULL scsipi_command() will use this to enqueue this xfer, otherwise
it'll try to allocate a new one. This scsipi_xfer has to be allocated
and initialised by scsipi_make_xs() or equivalent.
In xxstart(), allocate a scsipi_xfer using scsipi_make_xs(), and if not NULL,
dequeue the buffer before calling scsipi_command(). This makes sure that
scsipi_command() will not fail, and also makes sure that xxstart() won't
be called again between the BUFQ_PEEK() and BUFQ_GET().

Fix "dequeued wrong buf" panics reported by Juergen Hannken-Illjes in
private mail and Andreas Wrede on current-users@.
Thanks to Jason Thorpe and Chuck Silver for review, and Andreas Wrede for
testing the patch.
2004-09-09 19:35:30 +00:00