Commit Graph

123227 Commits

Author SHA1 Message Date
provos
80b9ef16f9 off-by-one; found by Nikolay Sturm from OpenBSD 2004-01-17 18:54:32 +00:00
christos
c8d67a7da2 portability fixes. 2004-01-17 17:57:40 +00:00
dsl
f0177aeba6 Put a syntax.c under CVS instead of building if with the mksyntax program.
Kill mksyntax.c - no longer possible to get the 'wrong sort of chars'.
/bin/sh now has no helper binaries.
syntax.c uses C99 initialisers, run time initialisation could be used
for systems where the compiler doesn't support them.
I've used some #defines to help make this possible - but writing the code
starts making it rather messy.
2004-01-17 17:38:12 +00:00
dsl
9cd22030d1 Put syntax.h under CVS instead of having it generated by mksyntax.
Use CHAR_MIN (from limits.h) to determine whether target char are signed
or unsigned - the syntax tables will not be indexed properly.
Rip out all the stuff from mksyntax.c that wrote syntax.h.
syntax.c can stiff be generated incorrectly...
2004-01-17 15:40:09 +00:00
jdolecek
52a99e6986 Michael van Elst reports his USB2 disk works stable after latest Chuck's
ehci.c changes, so remove the item from TODO.
2004-01-17 13:15:05 +00:00
dsl
1fe487ae6e Replace mkinit.c with mkinit.sh
Build mksyntax directly from mksyntax.c so that the -DTARGET_CHAR=xxx
is applied when it is build.
OTOH mksyntax is broken as it tries to determine properties of the
target system by running code on the build system.
2004-01-17 11:47:30 +00:00
rtr
67730f2e2d add dependencies 2004-01-17 06:39:43 +00:00
dbj
15459da491 revert revision 1.2, which was accidentally committed 2004-01-17 05:48:37 +00:00
dbj
378c93dfc4 add regression test to check combination of bs and conv options
this checks for a bug fixed in revision 1.24 of src/bin/dd/args.c
2004-01-17 05:47:28 +00:00
dbj
cae90fa713 Add C_ASCII and C_EBCDIC to list of options which unset C_BS semantics.
Without this fix, the bs option would cause any of the ascii<->ebcdic
conv options to be ignored.
2004-01-17 05:42:50 +00:00
lukem
fdc81e1d5a Move X server related stuff from xbase/md.i386 -> xserver/md.i386. 2004-01-17 05:42:47 +00:00
lukem
f02e617340 Move X server related stuff from xbase/md.sparc64 -> xserver/md.sparc64. 2004-01-17 05:41:50 +00:00
lukem
dbf82357a7 Move X server related stuff from xbase/md.sparc -> xserver/md.sparc. 2004-01-17 05:40:52 +00:00
lukem
74ea47b5f9 Move X server related stuff from xbase/md.macppc -> xserver/md.macppc.
(We want to share "xbase" between MACHINEs with a common MACHINE_ARCH.)
2004-01-17 05:39:01 +00:00
lukem
c434d47afe Remove references to xcontrib and xmisc now that they've been merged
into xbase.
2004-01-17 05:30:01 +00:00
lukem
e6789de0c9 be consistent with other platforms and select xfont as well... 2004-01-17 05:29:29 +00:00
lukem
54aa6389e9 Merge xmisc into xbase; xmisc only contained "ssh-askpass", and the other
stuff from xsrc/local/programs was already in xbase.
2004-01-17 05:19:46 +00:00
lukem
3851e8f02f Merge "xcontrib" into "xbase".
It was already merged in the XFree86 4.x source anyway, and it doesn't
make senses to keep some programs in a separate set just because they
used to be built from a separate directory in XFree86 3.x.
2004-01-17 05:07:09 +00:00
rtr
fd3ecbad7e add XSERVER_XAMIGA and XSERVER_HAS_AFB 2004-01-17 04:06:18 +00:00
rtr
3bea515962 Xamiga reachover 2004-01-17 04:03:26 +00:00
atatat
47768f08f2 In sysctl_locate(), use "rnode" like everywhere else, don't call it
"rv".

In sysctl_destroyv(), deal with deleting alias nodes, and pass a token
size_t to sysctl_destroy().

In sysctl_free(), check that "node" has not reached "rnode", not that
"pnode" has.

In sysctl_realloc(), don't bother setting sysctl_clen...the value is
unchanged.
2004-01-17 04:01:14 +00:00
rtr
3c57e953ad build libamiga.a if Xamiga 2004-01-17 03:56:25 +00:00
rtr
dd6e622644 NEED_SCREEN_REGIONS for Xamiga 2004-01-17 03:53:54 +00:00
rtr
8c37b5823c amiga needs XINPUT for Xnest 2004-01-17 03:50:51 +00:00
atatat
d0a69862ef Rename sysctl setup function to match "reality" 2004-01-17 03:37:42 +00:00
atatat
5d3b89e2f4 Avoid dereferencing l...it might be NULL 2004-01-17 03:33:24 +00:00
atatat
4604fb0abe Remove useless comment 2004-01-17 03:30:14 +00:00
uwe
11b19038f9 Close the comment after #endif. 2004-01-17 01:04:46 +00:00
dsl
df348483d0 Replace the C program mknodes.c with a shell script mknodes.sh
(mkinit and mksyntax may also die soon...)
2004-01-16 23:24:38 +00:00
perry
c70305f794 Make the warning on NEW_BUFQ_STRATEGY much milder -- I've upgraded it
to "Likely stable". I'm not going to make it the default unilaterally
but I really think it should be.
2004-01-16 17:02:05 +00:00
cl
359b937c80 - delay making a thread unblocked until it's put on the runqueue.
- simplify handling of blocked idle threads.

This should fix the ``assertion "target->pt_state != PT_STATE_RUNNING
|| target->pt_blockgen != target->pt_unblockgen" failed'' problem
reported by Marc Recht and Steve Bellovin on current-users.

Also g/c unused pthread__sched_bulk call left over from pthread_sa.c
rev. 1.22 change.
2004-01-16 15:23:31 +00:00
onoe
a42258dab0 Do not return EINPROGRESS but 0 in awi_newstate, since the EINPROGRESS
handling was changed in net80211 framework.
This fix wiconfig -D awi0 to work again for DS phys.
XXX FH phys takes 20 seconds to complete scan, so wiconfig timed out.
2004-01-16 14:13:15 +00:00
onoe
61921570d3 Ignore WI_RID_STA_IDENTITY and WI_RID_DBM_ADJUST instead of EINVAL
to allow wiconfig to report other informations.
2004-01-16 14:07:32 +00:00
minoura
20bd8dfcc0 Add XKB files for the x68k keyboard. 2004-01-16 13:05:39 +00:00
yamt
047fc0b378 - fix locking order problem. (pa_slock -> pr_slock)
- protect pr_phtree with pr_slock.
- add some LOCK_ASSERTs.
2004-01-16 12:47:37 +00:00
martin
9a80a6dc4b In proc_trampoline don't bother to clear condition codes in the trap
frame, since we no longer rely on this.
While there fix a few comments.
2004-01-16 12:43:43 +00:00
yamt
b81e2fa5c5 uvm_coredump_walkmap: use UVM_OBJ_IS_DEVICE macro. 2004-01-16 12:43:16 +00:00
martin
3b86738bf3 Don't rely on proc_trampoline to clear condition codes for a new
child process on fork - it could be overtaken by a signal delivery
and then use the stale condition code in the trap frame.
Instead, set tf_tstate aproprietaly right from the start.
Fixes PR sparc64/20675.
Many thanks to Paul Kranenburg for hints on a similar problem he fixed
for the sparc port.
2004-01-16 12:42:41 +00:00
scw
f8d2d740de Fix ipip_output() to always set *mp to NULL on failure, even if 'm'
is NULL, otherwise ipsec4_process_packet() may try to m_freem() a
bad pointer.

In ipsec4_process_packet(), don't try to m_freem() 'm' twice; ipip_output()
already did it.
2004-01-16 11:06:27 +00:00
ragge
ead753d26d Fix typo fpclassifd.c -> fpclassifyd.c, reported by Bertram Barth. 2004-01-16 10:46:11 +00:00
dyoung
dee4867ed0 Compute tags for *.[sS]' instead of *.s', only. 2004-01-16 10:08:42 +00:00
dyoung
624b44bb1b Cache build info. Makes regpkgset more tolerable on my slow 500MHz
AMD K6-2 workstation with its slow IDE disks.
2004-01-16 10:05:10 +00:00
scw
58987a0a55 Since callers of m_getcl() assume it always allocates a cluster, check
that MGETCL() actually succeeded before returning the mbuf.
2004-01-16 09:50:40 +00:00
martin
c89e32bbcc Minor comment fix. 2004-01-16 09:10:10 +00:00
abs
c02c2d8844 Allow DEF_NAT_AGE to be set in kernel config. 2004-01-16 09:01:22 +00:00
itojun
cdaa27b23a when ipsec tunnel mode is applied, we are originating packet (instead of
forwarding).  go to ip6_output() path for fragmentation and other processing.
from kame
2004-01-16 05:12:08 +00:00
mrg
23884e8622 clean up a little:
- delete ktrsyscall32()
- add a check #ifdef _LP64 to do the conversion if P_32 is set to the
standard ktrsyscall()
- add a couple of similar _LP64/P_32 checks to the systrace code.

this should get systrace working for 32 bit apps as well as complete
ktrace support for "trace_enter/trace_exit" using platforms such as amd64.

XXX: systrace isn't supported on sparc64 currently... (it doesn't use
trace_enter/trace_exit, or have it's own calls to systrace_xxx()...)
2004-01-16 05:03:02 +00:00
itojun
a69a0241a1 bump date 2004-01-16 02:28:42 +00:00
itojun
c6a556a5b6 endian mismatch. from iij seil team 2004-01-16 02:25:14 +00:00
matt
a14c93f141 Export the symbols in addition to the relocation records when making LKMs. 2004-01-16 00:36:39 +00:00