summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Since from now on encap_input() also catches IPPROTO_MOBILE and IPPROTO_GREsobomax2002-09-092-3/+3
| | | | | | | | 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)
* - Do not swap out a process if it is in creation. The process may have notanimura2002-09-091-0/+24
| | | | | | | | 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.
* #include "opt_bla.h" goes first says Bruce.phk2002-09-092-4/+4
|
* Add `device gre'.sobomax2002-09-091-0/+3
| | | | | | Reminded by: bde MFC after: 28 days (along with other if_gre stuff)
* Prevent namespace pollution in use-land by putting everything used only insobomax2002-09-091-0/+3
| | | | | | kernel (softc and such) under #ifdef _KERNEL. Submitted by: bde
* Vastly decrease amount of memory comsumed in the case when we have to readsobomax2002-09-092-4/+11
| | | | | | 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.
* Remove the typedef of wctype_t from this header; we don't support thetjr2002-09-091-5/+0
| | | | | XSI mistake of making everything from <wctype.h> visible here. If we did choose to support it, we could just #include <wctype.h>.
* Bump __FreeBSD_cc_version for gcc 3.1-prerelease -> 3.2.1-snap upgrade.obrien2002-09-091-1/+1
|
* Use --fast-read mode to extract metadata from package file. Since metadatasobomax2002-09-091-2/+16
| | | | | | | | 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
* In the --fast-read mode send SIGTERM to decompressor once we have extractedsobomax2002-09-091-6/+10
| | | | | | | | | | 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
* Solve the <runetype.h> pollution problem by disabling inlinemike2002-09-092-8/+32
| | | | | optimizations when a standard has been requested, except when the inline optimizations are also specifically requested.
* Remove duplicate entry. Since we call things cbb in the source, pccbbimp2002-09-091-9/+0
| | | | is obsolete.
* style(9): line up function names.mike2002-09-091-13/+14
|
* Catch up with the ISO-C++ standard.obrien2002-09-091-1/+2
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Use "options " rather than "options<tab>".kuriyama2002-09-097-24/+24
|
* Fix typo (s@src/crypto/openssh-portable@src/crypto/openssh@).kuriyama2002-09-091-1/+1
|
* Back out last commit where I moved pcn(4) off of the modules floppy backobrien2002-09-084-0/+8
| | | | | | | | 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.
* Change the order that we look for free memory windows from 0 -> MAX-1imp2002-09-081-4/+4
| | | | | | 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.
* Update the hardware list for the bge driver.jdp2002-09-082-2/+8
|
* Mention support for the on-board NICs on IBM x235 servers.jdp2002-09-081-2/+4
| | | | | | | Be more precise when referring to the chip family (BCM570x) vs. specific models (e.g., BCM5700). MFC after: 1 month
* Add support for the BCM5703x chips. I do not have one of thesejdp2002-09-085-3/+32
| | | | | | | | 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
* Fix style(9) bugs.phk2002-09-083-5/+5
| | | | Brucified by: bde
* Fix a logic bug in the struct dev_t allocation code.phk2002-09-081-5/+5
| | | | Spotted by: Neelkanth Natu <neelnatu@yahoo.com>
* Deal with a new exteded MBR paritition typephk2002-09-084-1/+4
| | | | Submitted by: Michal Mertl <mime@traveller.cz>
* Now that we have a cached mount credential in struct mount, use it isteadphk2002-09-083-5/+1
| | | | of a private cached copy.
* Get this file closer to style(9).phk2002-09-081-51/+55
|
* Add wcstol() and wcstoul(), based on strtol() and strtoul().tjr2002-09-085-4/+317
|
* Another two-letters breakageache2002-09-081-1/+1
|
* Replace a stray reference to strtok() with one to wcstok().tjr2002-09-081-1/+1
|
* Typo: s/o packet/on packet/blackend2002-09-081-1/+1
| | | | | PR: docs/42543 Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
* 1) Remove all two-letters names and derivates, comes with Xfree* entries spam,ache2002-09-081-35/+24
| | | | | | we don't use two-letters names already many years. 2) Make xterm-color just plain alias to xterm instead of unnecessary reduplication of color capabilities already exist in xterm entry.
* Split cam_argmask and move "commands" into cam_cmdmask. This addressesmdodd2002-09-081-94/+102
| | | | | | | the issue of not having any free bits left for additional commands. Approved by: ken MFC after: 4 weeks
* Make this driver work a whole lot better.jake2002-09-082-141/+170
| | | | | | | | | | | | | - Get the initial mode from the prom settings and don't clobber the mode on open. - Copy output into an internal ring buffer instead of accessing the tty outq directly in the interrupt handler. This fixes a problem where garbage would show up in the output stream. - Reset the console port completely and reprogram all the parameters before enabling it. This fixes seemingly random hangs on startup when using a fast interrupt handler. - Add minimal locking in place of spls. - Remove dead code and minor cleanups.
* Fix a syntax error which causes an annoying warning.wollman2002-09-081-0/+1
|
* opt_kstack_pages.h is not needed anymore. It would have been a Bad Thingpeter2002-09-083-4/+3
| | | | if it had been different to the running kernel.
* Note that 'device gzip' *requires* COMPAT_AOUT. Maybe this "device"peter2002-09-081-1/+1
| | | | should be renamed to COMPAT_GZIPAOUT or something like that.
* Do not blow up when we walk off the end of the brands list.peter2002-09-081-1/+3
| | | | Found by: kris, jake
* Tidy up some loose ends that bde pointed out. caddr_t bad, ok?peter2002-09-073-22/+20
| | | | | | | Move fill_kinfo_proc to before we copy the results instead of after the copy and too late. There is still more to do here.
* Remove bogus fill_kinfo_proc() before ptrace_set_pc(). There was no needpeter2002-09-071-1/+0
| | | | | | for this. Submitted by: bde
* The true value of how the kernel was configured for KSTACK_PAGES was notpeter2002-09-073-22/+19
| | | | | | available at module compile time. Do not #include the bogus opt_kstack_pages.h at this point and instead refer to the variables that are also exported via sysctl.
* Make UAREA_PAGES and KSTACK_PAGES visible to userland via sysctl, likepeter2002-09-072-0/+8
| | | | | | | | PS_STRINGS and USRSTACK is. This is necessary in order to decode a.out core dumps. kern_proc.c was already referring to both of these values but was missing the #include "opt_kstack_pages.h". Make the sysctl variables visible so that certain kld modules can see how their parent kernel was configured.
* Move the KSTACK_PAGES option from MD to MI. Although not all platformspeter2002-09-074-3/+1
| | | | | | | | support this, we do have MI code that references it and is otherwise unaware of an override. The alternative is to put knowledge in these MI files about which platforms have the opt_kstack_pages.h option file. It is more likely that other platforms will gain the ability to tune the kstack size.
* Fill out two fields (si_pid, si_uid) in the siginfo structure handed backjmallett2002-09-077-0/+14
| | | | | | | | | | | | | | | | to userland in the signal handler that were not being iflled out before, but should and can be. This part of sendsig could be slightly refactored to use an MI interface, or ideally, *sendsig*() would have an API change to accept a siginfo_t, which would be filled out by an MI function in the level above sendsig, and said MI function would make a small call into MD code to fill out the MD parts (some of which may be bogus, such as the si_addr stuff in some places). This would eventually make it possible for parts of the kernel sending signals to set up a siginfo with meaningful information. Reviewed by: mux MFC after: 2 weeks
* New release notes: COMPAT_AOUT, AMD Elan SC520 support.bmah2002-09-072-0/+18
|
* Add some more AMD processors to the supported hardware list.bmah2002-09-071-2/+4
| | | | PR: 40712
* Diff reduction in comments for filling the siginfo structure - refer tojmallett2002-09-073-3/+3
| | | | | filling in the POSIX parts, when doing the same thing in every port of FreeBSD.
* Match the more modern ports and comment the filling of POSIX parts of siginfojmallett2002-09-072-2/+2
| | | | with 'Fill in POSIX parts'. (Diff reduction.)
* Unbreak the modules build:tmm2002-09-072-2/+3
| | | | | | | | | - add dependencies on opt_cpu.h and opt_kstack_pages.h to the linux module Makefile in the i386 case. The latter is needed by an i386-only file, the former by the i386 implementation of linux_sysvec.c (opt_cpu.h is used for architecture-dependent options, so I added it only for i386, although this file is also generated for the alpha). - add a dependency on opt_kstack_pages.h to the pecoff module Makefile.
* The size argument to snprintf does not have to be backed off by onemjacob2002-09-071-17/+17
| | | | | | to account for a NULL byte. Submitted by: Jacques A. Vidrine <nectar@celabo.org>
* Include <machine/pcb.h> instead of depending on namespace pollution inbde2002-09-071-0/+1
| | | | <sys/user.h>.
OpenPOWER on IntegriCloud