Commit Graph

130805 Commits

Author SHA1 Message Date
sekiya
5a0e6a845d uint32_t -> unsigned long, per the differences between 32- and 64-bit ARCS. 2004-10-02 09:53:27 +00:00
sekiya
2ea60ebc6b s,uint32_t,paddr_t,g. Noticed by tsutsui@ 2004-10-02 08:53:09 +00:00
jdolecek
46134b3da6 move ip_htable.h from sys/netinet/ to sys/dist/ipf/netinet/, it's ipfilter file 2004-10-02 07:59:14 +00:00
kent
4a79196841 correct the return value type of _lwp_self() 2004-10-02 07:59:11 +00:00
christos
d0905be2d3 moved from sys/netinet. 2004-10-02 07:51:53 +00:00
christos
722688d056 These are ipfilter files, although they don't have the same copyright.
Thanks jaromir.
2004-10-02 07:51:11 +00:00
erh
c6f93ec983 Make the extended options work on little endian machines.
Allow files smaller than 512 bytes to be received w/o a timeout.
2004-10-02 05:05:35 +00:00
yamt
d79c3679ea procfs_getattr: correct size of /proc/self. 2004-10-02 04:28:57 +00:00
sekiya
53ad2f0aab Use the mips3 bus functions on IP30. Recognize the IP30 as a supported* SGI
platform.

* For extremely small values of "supported".  arch/mips/* needs a lot of work
  yet for MIPS64.
2004-10-02 03:19:00 +00:00
sekiya
288adc68db ARCS on 64-bit platforms uses 64-bit pointers. This now works on my Octane. 2004-10-02 03:11:14 +00:00
hubertf
6ee2fd4071 Add a comment about that "Fast Data MMU Miss" may indicate a needed OBP
upgrade. Hinted at in a posting on port-sparc64@ by Philip Jensen,
OK'd by martin@.
2004-10-01 23:36:35 +00:00
he
1aba91b7c0 Move the conditional definition of offsetof() till after all the
headers have been included.  Fixes compile problem for vax.
2004-10-01 20:46:15 +00:00
christos
99e43e6d35 Fallout from ipf move.
Forgot to commit that one [oops]
2004-10-01 20:01:51 +00:00
yamt
269a1761b2 procfs_readdir:
- fix a locking problem, using proclist_foreach_call.  PR/27098.
- correct snprintf size argument.
2004-10-01 16:32:16 +00:00
yamt
0994e6acb8 introduce a function, proclist_foreach_call, to iterate all procs on
a proclist and call the specified function for each of them.
primarily to fix a procfs locking problem, but i think that it's useful for
others as well.

while i'm here, introduce PROCLIST_FOREACH macro, which is similar to
LIST_FOREACH but skips marker entries which are used by proclist_foreach_call.
2004-10-01 16:30:52 +00:00
christos
dc8336fa20 say what breaks now that we've moved ipf out of netinet. 2004-10-01 15:29:23 +00:00
christos
bb0410eb96 Account for ipfilter move. 2004-10-01 15:26:35 +00:00
christos
f33294b6a4 Moved from sys/netinet as part of the ipfilter separation. 2004-10-01 15:25:59 +00:00
christos
5976437e5f Move ipf to sys/dist/ipf; Note that I followed the pattern used for pf.
I think though that the files.ipfilter and Makefile glue should go to
the dist directory, not like it is done now.
2004-10-01 15:24:45 +00:00
christos
891bc12ddc Account for pending ipf move. 2004-10-01 15:20:45 +00:00
christos
650f6a8ec7 use <netinet/...> for the ipf headers like everything else. 2004-10-01 15:20:33 +00:00
yamt
3cca1d9e20 procfs_readdir: fix an offset handling bug after addition of /proc/self. 2004-10-01 14:09:55 +00:00
yamt
f8f70a5eb4 procfs_readdir: use a list macro. 2004-10-01 14:09:14 +00:00
christos
985ed5b767 PR/27097: John Klos: Talk daemon does not find additional ttys for
a particular user if the first tty is not writable. This broke in
revision 1.9 when it was strl'ified incorrectly (hi itojun). Thanks
to enami for spotting this.
2004-10-01 12:27:09 +00:00
sekiya
34bdfea7c4 Move the ECOFF definition from the INSTALL kernel to the GENERIC kernel --
it's possible that someone might want to run an IP20 diskless.

Pointed out by simonb@
2004-10-01 07:40:59 +00:00
sekiya
5e061c633c s,#ifdef MIPS3,#if defined(MIPS3) || defined(MIPS64),g 2004-10-01 07:16:57 +00:00
sekiya
82ca9dba92 Create an ecoff kernel only if WANT_ECOFF="yes".
ECOFF kernels are really only useful for netbooting; our disk bootloader handles
ELF.  Therefore, define WANT_ECOFF for INSTALL32_IP2x only.
2004-10-01 07:05:25 +00:00
sekiya
1723326ecb Set LP64 default to "no". 2004-10-01 07:00:12 +00:00
sekiya
57e4e59495 Rework previous slightly, so that ld is passed the right flags for 64-bit mode. 2004-10-01 06:46:40 +00:00
thorpej
0c85033412 Don't need the lock in the softc anymore. 2004-10-01 05:16:36 +00:00
thorpej
27f0170634 Break out the wedge discovery methods into true modules, and add some
infrastructure that allows new ones to be added.  The discovery methods
are prioritized, and only one can exist at a given priority.

The DKWEDGE_METHOD_GPT option causes GPT support to be included.  GPT is
at priority 0; we prefer GPT above all others.
2004-10-01 05:16:04 +00:00
christos
65c70a171c - Switch -current to M.99.p as posted in tech-kern.
- Update comments to reflect reality.
- Welcome to 2.99.9!
2004-10-01 04:02:10 +00:00
enami
b4a9b4deed Don't touch free'ed object. Fixes l_holdcnt leak reported by Andreas Wrede
on current-users.
2004-10-01 03:39:11 +00:00
yamt
6b8cd53946 nfs_writerpc: fix PHOLD leak on error. 2004-10-01 01:08:01 +00:00
thorpej
b1958acc5a Only really need FCFS here. Noted by yamt@ 2004-09-30 23:20:41 +00:00
cube
000afe4614 Regen. 2004-09-30 21:59:06 +00:00
cube
331512aeeb Add a bunch of devices found on the SuperMicro P4SCi motherboard. 2004-09-30 21:58:26 +00:00
yamt
048b624802 make l_holdcnt assertions more verbose. 2004-09-30 21:32:27 +00:00
briggs
1991e35ca9 PR kern/27088 from Jared Momose. The read function should specify the
length of the command buffer (1) instead of 0.  Otherwise, data will
have an implied offset of 0 and reads at non-0 locations will incorrectly
return the data from 0.  Fix as suggested in the report.
2004-09-30 18:57:39 +00:00
wiz
bf7ca4248b Update bind version and URL. 2004-09-30 10:07:45 +00:00
wiz
f042855102 Bump date for tee_msgbuf; new sentence, new line. 2004-09-30 09:20:52 +00:00
dyoung
195c6d8723 Compile with -DDHAVE_PCAP_LIB_VERSION so that tcpdump will print
the libpcap version for us, instead of 'unknown'.  Thank you for
the problem report, Geoff Wing.
2004-09-30 06:40:19 +00:00
enami
b54d2249c1 Fix indent. 2004-09-30 02:17:53 +00:00
enami
dd01d48860 Don't set AI_NUMERICHOST in matchhost() to resolve given hostname since
it is supposed to be an arbitrary name (i.e. not restricted to numeric
representation).  Tested by Soda with our production server.  PR#27047.
2004-09-30 02:17:14 +00:00
christos
a9703830cd Fix problem in previous commit; we need to create a new sockaddr. 2004-09-30 00:14:05 +00:00
reinoud
22f1132820 Implement ddb setting that allows all ddb output to be teed into the
kernel message buffer/log. Its off by default and can be switched on in the
kernel configuration on build time, be set as a variable in ddb and be set
using sysctl.

This adds the sysctl value
	ddb.tee_msgbuf = 0
by default.

The functionality is especially added and aimed for developers who are not
blessed with a serial console and wish to keep all their ddb output in the
log. Specifying /l as a modifier to some selected commands will also put
the output in the log but not all commands provide one nor has the same
meaning for all commands.

This feature could in the future also be implemented as an ddb command but
that could lead to more bloat allthough maybe easier for non developpers to
use when mailing their backtraces from kernel crashes.
2004-09-29 23:54:11 +00:00
christos
1b492809a0 PR/27082: Sean Boudreau: redundant assignment or NULL dereference in
in_pcbconnect()
2004-09-29 21:30:00 +00:00
christos
d790aa42d0 PR/27081: Sean Boudreau: ip_input() bad csum count not incremented on sw csum 2004-09-29 21:28:34 +00:00
christos
7059bc7962 PR/21902: Sean Boudreau: arplookup() incrementing arpstat.as_allocfail
erroneously.
2004-09-29 21:26:52 +00:00
christos
efff5f0097 PR/22849: Sean Boudreau: rtrequest() w/ RTM_DELETE not honouring netmask
as it does w/ RTM_ADD.
2004-09-29 21:19:33 +00:00