summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bogon in ipfilter_resync() introduced in my last commit.mux2003-10-031-1/+3
| | | | Spotted by: Gennady Proskurin <gpr@nvnpp.vrn.ru>
* Only delete the route if arplookup() tried to create it. Do not deletebms2003-10-031-8/+13
| | | | | | | | | RTF_STATIC routes. Do not check for RTF_HOST so as to avoid being DoSed when an RTF_GENMASK route exists in the table. Add a more verbose comment about exactly what this code does. Submitted by: ru
* mdoc(7) cleanups (use .Va, not .Dv, for sysctls.)bms2003-10-031-2/+2
| | | | Reviewed by: ru
* Swap the syscall caller frame info (i.e. the return pointer andmarcel2003-10-033-40/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | frame marker) and the syscall stub frame info in the trap frame. Previously we stored the stub frame info in (rp,pfs) and the caller frame info in (iip,cfm). This ends up being suboptimal for the following reasons: 1. When we create a new context, such as for an execve(2), we had to set the (rp,pfs) pair for the entry point when using the syscall path out of the kernel but we need to set the (iip,cfm) pair when we take the interrupt way out. This is mostly just an inconsistency from the kernel's point of view, but an ugly irregularity from gdb(1)'s point of view. 2. The getcontext(2) and setcontext(2) syscalls had to swap the (rp,pfs) and (iip,cfm) pairs to make the context compatible with one created purely in userland. Swapping the (rp,pfs) and (iip,cfm) pairs is visible to signal handlers that actually peek at the mcontext_t and to gdb(1). Since this change is made for gdb(1) and we don't care about signal handlers that peek at the mcontext_t because we're still a tier 2 platform, this ABI breakage is academic at this moment in time. Note that there was no real reason to save the caller frame info in (iip,cfm) and the stub frame info in (rp,pfs).
* mdoc(7) cleanup: Break up sentences so that they start on new lines.bms2003-10-031-6/+7
|
* Point out the existence of net.link.ether.inet.log_arp_movements.bms2003-10-031-1/+5
| | | | Add sysctl(8) to the list of cross-referenced manual pages.
* Update arp(4) to document the 'arp: foo is on if0 but got reply frombms2003-10-031-0/+9
| | | | | | | bar on if1' message. PR: bin/48489 Requested by: ru
* Mark the -i and -n options as mutually exclusive and fix variousnaddy2003-10-031-13/+17
| | | | | | | | mdoc formatting nits. PR: 57027 Approved by: simon Obtained from: OpenBSD
* Revert rev. 1.86, I've fixed make(1) (make/dir.c,v 1.32).ru2003-10-021-1/+1
| | | | PR: bin/34062
* Fix a bug that prevented exists() from finding "foo/", "foo/."ru2003-10-023-3/+30
| | | | | | and "foo/.." when ".PATH: foo" was also given. PR: bin/34062
* Fix a logic error; use beq to check for a register being NULL, not bne.deischen2003-10-021-1/+1
|
* Add an entry for libpthread (aka libkse). For now, it's link commanddeischen2003-10-021-0/+1
| | | | | | | is defined as -lkse, but we'll come back later and change it once libkse is renamed. Requested by: ru
* Make the i810 AGP device create a "drmsub" child device. This will be attachedanholt2003-10-022-4/+62
| | | | | | to by the DRM for i8xx devices. Submitted by: Keith Whitwell <keith@tungstengraphics.com>
* Correct the library name.ru2003-10-021-1/+1
|
* Document the recently added `O' modifier.ru2003-10-021-0/+2
|
* - Remove error code that can't be returned (and original descriptionkensmith2003-10-021-2/+0
| | | | | | | | was not proper English) PR: docs/57434 Approved: blackend (mentor) Reviewed by: deischen
* Introduce a uiomove_frombuf helper routine that handles computing andnectar2003-10-026-60/+50
| | | | | | | | | | | | | | | validating the offset within a given memory buffer before handing the real work off to uiomove(9). Use uiomove_frombuf in procfs to correct several issues with integer arithmetic that could result in underflows/overflows. As a side-effect, the code is significantly simplified. Add additional sanity checks when computing a memory allocation size in pfs_read. Submitted by: rwatson (original uiomove_frombuf -- bugs are mine :-) Reported by: Joost Pol <joost@pine.nl> (integer underflows/overflows)
* Remove wrong usage of BUF_REFCNT().simokawa2003-10-021-1/+0
| | | | Spotted by: phk
* Be kind to 64bit architectures.simokawa2003-10-021-5/+5
|
* If requested to Sleep for less than our hz granularity (e.g., 10 ms),njl2003-10-021-6/+13
| | | | | | use DELAY instead of tsleep. Submitted by: peter
* Reimplement pagezero() using "movnti".alc2003-10-021-39/+11
|
* MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions.simokawa2003-10-0213-657/+804
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And many changes. * all - Major change of struct fw_xfer. o {send,recv}.buf is splitted into hdr and payload. o Remove unnecessary fields. o spd is moved under send and recv. - Remove unnecessary 'volatile' keyword. - Add definition of rtcode and extcode. * firewire.c - Ignore FWDEVINVAL devices in fw_noderesolve_nodeid(). - Check the existance of the bind before call STAILQ_REMOVE(). - Fix bug in the fw_bindadd(). - Change element of struct fw_bind for simplicity. - Check rtcode of response packet. - Reduce split transaction timeout to 200 msec. (100msec is the default value in the spec.) - Set watchdog timer cycle to 10 Hz. - Set xfer->tv just before calling fw_get_tlabel(). * fwohci.c - Simplifies fwohci_get_plen(). * sbp.c - Fix byte order of multibyte scsi_status informations. - Split sbp.c and sbp.h. - Unit number is not necessary for FIFO¤ address. - Reduce LOGIN_DELAY and SCAN_DELAY to 1 sec. - Add some constants defineded in SBP-2 spec. * fwmem.c - Introduce fwmem_strategy() and reduce memory copy.
* Remove the global variable 'cmask', which was used to initialize therwatson2003-10-022-5/+2
| | | | | | | | | fd_cmask field in the file descriptor structure for the first process indirectly from CMASK, and when an fd structure is initialized before being filled in, and instead just use CMASK. This appears to be an artifact left over from the initial integration of quotas into BSD. Suggested by: peter
* Only generate code for _LCK_ASSERT if _LCK_DEBUG is defined.davidxu2003-10-022-2/+12
|
* Use __BEGIN_DECLS and __END_DECLS around userland function prototypesrwatson2003-10-022-0/+4
| | | | | | | so that mac.h may be more safely included in userland C++ applications. PR: bin/56595 Submitted by: "KONDOU, Kazuhiro" <kazuhiro@alib.jp>
* Create a tunable for net.isr.enable so that it may be set fromrwatson2003-10-021-0/+1
| | | | inception, rather than having to wait for the boot to finish.
* Commit Bosko's patch to clean up the PSE/PG_G initialization to andpeter2003-10-0117-170/+180
| | | | | | | | | | | | | | | | | | | | | avoid problems with some Pentium 4 cpus and some older PPro/Pentium2 cpus. There are several problems, some documented in Intel errata. This patch: 1) moves the kernel to the second page in the PSE case. There is an errata that says that you Must Not point a 4MB page at physical address zero on older cpus. We avoided bugs here due to sheer luck. 2) sets up PSE page tables right from the start in locore, rather than trying to switch from 4K to 4M (or 2M) pages part way through the boot sequence at the same time that we're messing with PG_G. For some reason, the pmap work over the last 18 months seems to tickle the problems, and the PAE infrastructure changes disturb the cpu bugs even more. A couple of people have reported a problem with APM bios calls during boot. I'll work with people to get this resolved. Obtained from: bmilekic
* Temporarily turn net.isr.enable back off again until patches torwatson2003-10-011-1/+1
| | | | correct potential nits in packet ordering are resolved.
* add randomtab for ip6_randomflowlabel().ume2003-10-011-0/+11
| | | | Obtained from: KAME
* Looks like I misread the callout code. We do not seem to hold theimp2003-10-011-11/+12
| | | | | | | | | | | | | | callout lock while the callout is happening. So the serialization that I thought was happening isn't. Therefore, remove the part of the bugs that says this. Leave in the other bug as it is very hard to work around (impossible?). Fix various typos. Also note that timeout/untimeout are considered to be the old interface and the callout interface should be used insetad. Submitted by: bde (first two) and wollman (third)
* Enable net.isr.enable by default, causing "delivery to completion"rwatson2003-10-011-1/+1
| | | | | | | | | | | | | | | (direct dispatch) in interrupt threads when the netisr in question isn't already active. If a netisr is already active, or direct dispatch is already in progress, we queue the packet for later delivery. Previously, this option was disabled by default. I have measured 20%+ performance improvements in IP packet forwarding with this enabled. Please report any problems ASAP, especially relating to stack depth or out-of-order packet processing. Discussed with: jlemon, peter Sponsored by: DARPA, Network Associates Laboratories
* randomize IPv6 flowlabel when RANDOM_IP_ID is defined.ume2003-10-015-4/+20
| | | | Obtained from: KAME
* use arc4random()ume2003-10-012-14/+3
|
* tftp.1:simon2003-10-012-6/+6
| | | | | | | | | | - Add the optional port argument to SYNOPSIS. main.c: - Sync usage with the manual page. Approved by: trhodes (main.c part) Obtained from: OpenBSD (jmc) MFC after: 2 weeks
* - include opt_random_ip_id.hume2003-10-013-1/+7
| | | | - we don't need to obtain microtime when using ip6_randomid.
* we don't need ip6_id when RANDOM_IP_ID is defined.ume2003-10-013-0/+6
|
* include opt_random_ip_id.hume2003-10-011-0/+2
|
* Don't compiled ip6_randomid() in if RANDOM_IP_ID is not defined.ume2003-10-012-0/+6
|
* Obey RANDOM_IP_ID.ume2003-10-011-0/+5
| | | | Requested by: sam
* randomize IPv6 fragment ID.ume2003-10-014-1/+251
| | | | Obtained from: KAME
* Fix indentionticso2003-10-011-1/+1
| | | | Noticed by: johan
* Don't call makedev().ticso2003-10-012-14/+23
| | | | Cache result of make_dev() and use it when calling destroy_dev().
* Remove files no longer included with OpenSSL as of version 0.9.7c.nectar2003-10-011-4/+0
|
* Merge conflicts after import of OpenSSL 0.9.7c.nectar2003-10-015-114/+170
|
* This commit was generated by cvs2svn to compensate for changes in r120631,nectar2003-10-01133-545/+1450
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of OpenSSL 0.9.7cnectar2003-10-01137-589/+1616
| |
| * Enable RSA blinding by default.jedgar2003-03-202-5/+30
| | | | | | | | http://www.openssl.org/news/secadv_20030317.txt
* | Update list of files to remove prior to import of OpenSSL 0.9.7c.nectar2003-10-011-0/+9
| |
* | Remove extra parentheses from the __GNUC_PREREQ__ macro.mux2003-10-011-1/+1
| | | | | | | | Prodded by: bde
* | Fix the problem with accessing certain FLASH devices. The problemsos2003-10-011-3/+7
| | | | | | | | | | | | | | was that accessing the status reg could occour too fast, confusing the logic in the flash part. Could not have been located without: HW donated by: Jonas Bülow <jonas@servicefactory.se>
OpenPOWER on IntegriCloud