Commit Graph

80050 Commits

Author SHA1 Message Date
gordon
271b8a3ed5 Fix syscons so it actually does start.
Reported by:	keramida, ume
Submitted by:	keramida
2002-09-09 22:40:34 +00:00
gioria
a63580cd00 New Translation 2002-09-09 22:26:07 +00:00
gioria
88497c87f6 Adding infrastructure for harware notes 2002-09-09 22:09:48 +00:00
gioria
28611ac85e Continuing translation 2002-09-09 21:21:48 +00:00
bmah
19f78b220c Fix minor off-by-one error.
Submitted by:	jhb
2002-09-09 21:21:34 +00:00
bmah
cdaf5e1b40 Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASE
packages.

Pointed out by:	obrien
Reviewed by:	jhb
2002-09-09 19:44:17 +00:00
sobomax
60298c96b3 Introduce notion of the package tools revision and allow to wrap all tools
included into pkg_install according to the content of /var/db/pkg_install.conf
file, which specifies version and alternative location of the tools. Format
of the said file is very simple: one line which specifies revision of the
alternative version of the tools and their location separated by space,
i.e.:

20030102 /usr/local/sbin

This would allow bsd.port.mk to install and use up to date version of tools
on older system from ports.

Also add new `-P' flag to pkg_info, which causes it to report currently
installed version of package tools.

Discussed with:	will
2002-09-09 19:43:30 +00:00
nectar
8a8d92cece In reference to previous commit: use err(3).
Noticed by:	bde
2002-09-09 18:51:59 +00:00
jhb
8c0aa78c1b Make sure a $PIR table header has a valid length before accepting the table
as valid.

Submitted by:	Michal Mertl <mime@traveller.cz>
2002-09-09 18:24:35 +00:00
gioria
99d704377a Continuing translation 2002-09-09 17:59:39 +00:00
knu
03f6ecd2b2 Add tcl81 that was missing. 2002-09-09 17:53:41 +00:00
wollman
605a22100e Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
ticso
ca81a71128 add missing \n to printf
Approved by:	gallatin (mentor)
2002-09-09 17:39:48 +00:00
rwatson
990d7cf43e Add security.mac.mmap_revocation, a flag indicating whether we
should revoke access to memory maps on a process label change.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-09-09 17:12:24 +00:00
rwatson
bb15291772 Minor code sync to MAC tree: push Giant locking up from
mac_cred_mmapped_drop_perms() to the caller.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-09-09 17:10:16 +00:00
ume
03b3b78217 sshd didn't handle actual size of struct sockaddr correctly,
and did copy it as long as just size of struct sockaddr.  So,
If connection is via IPv6, sshd didn't log hostname into utmp
correctly.
This problem occured only under FreeBSD because of our hack.
However, this is potential problem of OpenSSH-portable, and
they agreed to fix this.
Though, there is no fixed version of OpenSSH-portable available
yet, since this problem is serious for IPv6 users, I commit the
fix.

Reported by:	many people
Reviewed by:	current@ and stable@ (no objection)
MFC after:	3 days
2002-09-09 16:49:11 +00:00
nectar
f005a7d8a0 Back out previous commit. I was a bit overzealous: the fd_set size is
calculated dynamically here.
2002-09-09 16:43:18 +00:00
nectar
38c1241397 Check for FD_SET overrun. 2002-09-09 16:21:10 +00:00
nectar
89a48b22ec Check for FD_SET overrun. 2002-09-09 16:14:03 +00:00
nectar
dd9ba6e842 Check for FD_SET overrun. 2002-09-09 16:06:41 +00:00
nectar
4f70a78fd0 Check for FD_SET overrun. 2002-09-09 15:58:08 +00:00
robert
21c03c95c8 - Fix iBCS2 emulation of COFF files that have multiple libraries
in their library (STYP_LIB) section.
 - Attempt to make the code which calculates the next entry and
   string offsets look clearer.

PR:		kern/42580
Tested by:	Olaf Klein <ok@adimus.de> (on 4.7-PRERELEASE)
2002-09-09 15:51:10 +00:00
nectar
bdb08fa9d1 Check for FD_SET overruns.
Obtained from:	NetBSD
2002-09-09 15:45:28 +00:00
sobomax
722d004d66 Kill debugging line occasionally slipped into rev.1.3.
Submitted by:	reg
2002-09-09 11:13:00 +00:00
jhay
bcad2a2f66 Remove the second lnc line. Move CD9660 to the third floppy to make
mfsroot.flp fit again.
2002-09-09 11:01:32 +00:00
sobomax
b749867dfc Since from now on encap_input() also catches IPPROTO_MOBILE and IPPROTO_GRE
packets in addition to IPPROTO_IPV4 and IPPROTO_IPV6, explicitly specify
IPPROTO_IPV4 or IPPROTO_IPV6 instead of -1 when calling encap_attach().

MFC after:	28 days
		(along with other if_gre changes)
2002-09-09 09:36:47 +00:00
tanimura
f10108092a - Do not swap out a process if it is in creation. The process may have no
address space yet.

- Check whether a process is a system process prior to dereferencing
  its p_vmspace.  Aio assumes that only the curthread switches the address
  space of a system process.
2002-09-09 09:05:06 +00:00
phk
617ed89792 #include "opt_bla.h" goes first says Bruce. 2002-09-09 08:44:52 +00:00
sobomax
36cca340bc Add `device gre'.
Reminded by:    bde
MFC after:      28 days
		(along with other if_gre stuff)
2002-09-09 08:31:04 +00:00
sobomax
dcd9715348 Prevent namespace pollution in use-land by putting everything used only in
kernel (softc and such) under #ifdef _KERNEL.

Submitted by:   bde
2002-09-09 08:25:00 +00:00
sobomax
b02bdba749 Vastly decrease amount of memory comsumed in the case when we have to read
ports/INDEX, by allocating eactly amount of memory necessary for storing
each particular entry, insdead of 4K per entry (more than 7000 entries -
go figure). Memory consumption went down to some 500K from some 30M.
2002-09-09 08:00:32 +00:00
tjr
7ca7dd3e03 Remove the typedef of wctype_t from this header; we don't support the
XSI mistake of making everything from <wctype.h> visible here.
If we did choose to support it, we could just #include <wctype.h>.
2002-09-09 07:17:55 +00:00
obrien
d630de954b Bump __FreeBSD_cc_version for gcc 3.1-prerelease -> 3.2.1-snap upgrade. 2002-09-09 06:56:29 +00:00
sobomax
5f3f30f263 Use --fast-read mode to extract metadata from package file. Since metadata
files are located at the very beginning of the package, this patch in
conjuction with latest tar(1) --fast-mode fix greatly speeds up pkg_info(1)
operation on package files.

MFC after:	1 week
2002-09-09 06:06:09 +00:00
sobomax
b482de8733 In the --fast-read mode send SIGTERM to decompressor once we have extracted
all files we have been asked for. This vastly improves performance of
pkg_add(1), because usually it only extract +CONTENTS file in --fast-read
mode, checks it and only then extracts full content of tarball in normal
mode. Without this patch, it have had to decompress the tarball twice,
effectively doubling consumed CPU time.

MFC after:	1 week
2002-09-09 06:00:16 +00:00
mike
c80d532f6e Solve the <runetype.h> pollution problem by disabling inline
optimizations when a standard has been requested, except when the
inline optimizations are also specifically requested.
2002-09-09 05:38:05 +00:00
imp
b7883862c2 Remove duplicate entry. Since we call things cbb in the source, pccbb
is obsolete.
2002-09-09 05:35:46 +00:00
mike
b51ae9f1d2 style(9): line up function names. 2002-09-09 03:52:43 +00:00
obrien
71fe626844 Catch up with the ISO-C++ standard.
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
2002-09-09 02:58:42 +00:00
kuriyama
a61c477270 Use "options " rather than "options<tab>". 2002-09-09 02:40:59 +00:00
kuriyama
aae5a5f01d Fix typo (s@src/crypto/openssh-portable@src/crypto/openssh@). 2002-09-09 02:00:28 +00:00
obrien
32b84a7ef9 Back out last commit where I moved pcn(4) off of the modules floppy back
into the install kernel.  Unfortunately pcn(4) also needs mii(4) so that
would also have to added to install kernel, which will bloat it up so that it
doesn't fit on the floppy any more.  Turns out we grew a lnc(4) module since
I last looked.  So handle it as a kld loadable module during install rather
than have it statically compiled into the kernel.
2002-09-08 23:59:38 +00:00
imp
2ea68b67d4 Change the order that we look for free memory windows from 0 -> MAX-1
to MAX-1 -> 0.  This should allow for less potential for conflict
between pccardd/pccardc and drivers.  As far as I can tell no drivers
try to use window 4, so this should be a no-op for them.
2002-09-08 22:18:06 +00:00
jdp
b8afb5b84c Update the hardware list for the bge driver. 2002-09-08 19:32:08 +00:00
jdp
231300b7a4 Mention support for the on-board NICs on IBM x235 servers.
Be more precise when referring to the chip family (BCM570x) vs.
specific models (e.g., BCM5700).

MFC after:	1 month
2002-09-08 19:20:23 +00:00
jdp
48dd538511 Add support for the BCM5703x chips. I do not have one of these
cards to test; however the submitter reports that this patch works
with the on-board interface on the IBM x235 server.

Submitted by:	Jung-uk Kim <jkim@niksun.com>
MFC after:	1 month
2002-09-08 19:12:02 +00:00
phk
8eb0cb6eaa Fix style(9) bugs.
Brucified by:	bde
2002-09-08 15:16:49 +00:00
phk
e5c7442a0c Fix a logic bug in the struct dev_t allocation code.
Spotted by:	Neelkanth Natu <neelnatu@yahoo.com>
2002-09-08 15:15:12 +00:00
phk
6030f30112 Deal with a new exteded MBR paritition type
Submitted by:	Michal Mertl <mime@traveller.cz>
2002-09-08 15:13:33 +00:00
phk
549c71a099 Now that we have a cached mount credential in struct mount, use it istead
of a private cached copy.
2002-09-08 15:11:18 +00:00