summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make this file C++ safe. It defines many useful functions (inb, outb)imp2001-04-032-0/+8
| | | | | | | that people use from userland in C++ programs. I've had this in my tree for ages and just got bit by it not being in the real tree again. This is a MFC candidate.
* o Indent sub-section headings to be consistent with README.extattr.rwatson2001-04-031-2/+2
| | | | Obtained from: TrustedBSD Project
* Round up before checking if the width is smaller than the widestdwmalone2001-04-031-3/+5
| | | | | | | column, otherwise we may divide by zero later. PR: 26283 Reviewed by: roam
* Regen after adding linux_sched_get_priority_max() andgallatin2001-04-033-7/+15
| | | | linux_sched_get_priority_min()
* Add linux_sched_get_priority_max() and linux_sched_get_priority_min() togallatin2001-04-031-2/+2
| | | | alpha md code & unbreak kernel build
* o Introduce a README file describing briefly how to use access controlrwatson2001-04-031-0/+51
| | | | | | lists, in the style of FFS README files for soft updates and snapshots. Obtained from: TrustedBSD Project
* o Introduce a README file describing briefly how to use extendedrwatson2001-04-031-0/+86
| | | | | | | attributes, in the style of FFS README files for soft updates and snapshots. Obtained from: TrustedBSD Project
* Synch this with i386 version again. This fits nicely on alphas.ru2001-04-032-58/+28
| | | | Reviewed by: beast
* Clarify instructions for using a CD-ROM equipped machine to support abmah2001-04-032-4/+14
| | | | | | FreeBSD install and add a warning about enabling anonymous FTP. Submitted by: nik
* Cleanup: sort by directory/program, remove unused libraries.ru2001-04-038-170/+142
|
* Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY inru2001-04-037-14/+7
| | | | ${CFLAGS}. The only supported method thus is -DRELEASE_CRUNCH.
* Fixed world breakage in previous commit (config.h was inaccessiblebde2001-04-031-4/+2
| | | | | | | except in the unusual case where ${.OBJDIR} == ${.CURDIR}). Fixed nearby style bugs (the DEFS variable had rotted to be just an obfuscation).
* Fixed style bugs in previous commit.bde2001-04-031-4/+4
|
* Be a bit more persistent when the NET_RT_IFLIST sysctl returns ENOMEMbrian2001-04-031-18/+27
| | | | rather than dropping out immediately.
* Don't say ``PPP enabled'' if we're given the -quiet switchbrian2001-04-031-2/+4
|
* Update for tcpdump 3.6.2fenner2001-04-032-73/+68
|
* Merge tcpdump 3.6.2fenner2001-04-0331-1606/+3253
|
* This commit was generated by cvs2svn to compensate for changes in r75115,fenner2001-04-03118-2910/+10356
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of tcpdump.org tcpdump v3.6.2fenner2001-04-03151-4461/+14070
| |
* | Fix a spelling error.dd2001-04-031-1/+1
| | | | | | | | PR: 26308
* | Again initialize a mutex well, then lock it.tanimura2001-04-031-1/+3
| | | | | | | | | | PR: kern/26188 Submitted by: Jim Bloom <bloom@acm.org>
* | - Change the msleep()s to condition variables.bmilekic2001-04-032-54/+58
| | | | | | | | | | | | | | | | The mbuf and mcluster free lists now each "own" a condition variable, m_starved. - Clean up minor indentention issues in sys/mbuf.h caused by previous commit.
* | Update for libpcap 0.6.2fenner2001-04-032-8/+106
| |
* | Merge libpcap 0.6.2fenner2001-04-0311-277/+982
| |
* | This commit was generated by cvs2svn to compensate for changes in r75107,fenner2001-04-0339-1046/+5096
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Virgin import of tcpdump.org libpcap v0.6.2fenner2001-04-0351-1317/+6213
| | |
* | | o Change the default from using IO_SYNC on EA set and delete operationsrwatson2001-04-031-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to not using IO_SYNC. Expose a sysctl (debug.ufs_extattr_sync) for enabling the use of IO_SYNC. - Use of IO_SYNC substantially degrades ACL performance when a default ACL is set on a directory, as there are four synchronous writes initiated to define both supporting EAs for new sub-directories, and to set the data; two for new files. Later, this may be optimized to two writes for sub-directories, one for new files. - IO_SYNC does not substantially improve consistency properties due to the poor consistency properties of existing permissions (which ACLs are a superset of), due to interaction with soft updates, and due to differences in handling consistency for data and file system meta-data. - In macro-benchmarks, this reduces the overhead of setting default ACLs down to the same overhead as enabling ACLs on a file system and not using them. Enabling ACLs still introduces a small overhead (I measure 7% on a -j 2 buildworld with pre-allocated EA backing store, but this is not rigorous testing, nor in any way optimized). - The sysctl will probably change to another administration method (or at least, a better name) in the near future, but consistency properties of EAs are still being worked out. The toggle is defined right now to allow easier performance analysis and exploration of possible guarantees. Obtained from: TrustedBSD Project
* | | Use only one mutex for the entire mbuf subsystem.alfred2001-04-032-70/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use atomic operations for the stats updating, instead protect the counts with the mbuf mutex. Most twiddling of the stats was done right before or after releasing a mutex. By doing this we reduce the number of locked ops needed as well as allow a sysctl to gain a consitant view of the entire stats structure. In the future... This will allow us to chain common mbuf operations that would normally need to aquire/release 2 or 3 of the locks to build an mbuf with a cluster or external data attached into a single op requiring only one lock. Simplify the per-cpu locks that are planned. There's also some if (1) code that should check if the "how" operation specifies blocking/non-blocking behavior, we _could_ make it so that we hold onto the mutex through calls into kmem_alloc when non-blocking requests are made, but for safety reasons we currently drop and reaquire the mutex around the calls. Also, note that calling kmem_alloc is rare and only happens during a shortage so drop/re-getting the mutex will not be a common occurance. Remove some #define's that seemed to obfuscate the code to me. Remove an extranious comment. Remove an XXX, including mutex.h isn't a crime. Reviewed by: bmilekic
* | | Change stop() to require the sched_lock as well as p's process lock tojhb2001-04-031-6/+8
| | | | | | | | | | | | | | | | | | avoid silly lock contention on sched_lock since in 2 out of the 3 places that we call stop(), we get sched_lock right after calling it and we were locking sched_lock inside of stop() anyways.
* | | Allow MOD_UNLOADs of if_tun, and handle event handler registrationbrian2001-04-032-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | failures in MOD_LOAD. Dodge duplicate make_dev() calls by (ab)using dev->si_drv2 to remember if we created the device node via a dev_clone callback before the d_open call.
* | | Fix probing on the alpha. It still causes the alpha to panic duringps2001-04-031-1/+1
| | | | | | | | | | | | attach.
* | | Change the order in which /etc files are copied into place; copybsd2001-04-033-15/+36
| | | | | | | | | | | | | | | | | | default first, then network-specific files, then host-specific files. I think this was the original intent, as Matt indicated the previous code appeared to be a bug.
* | | Remove bogus block device major now that bdev majors are gone.jhb2001-04-021-2/+1
| | |
* | | Document the newfs.c rev 1.33 changing the default c/g from 16 to 22.obrien2001-04-021-1/+1
| | |
* | | Fix patch merge braino.obrien2001-04-021-2/+2
| | |
* | | There were a few error cases where the RPC code would return withiedowse2001-04-022-1/+5
| | | | | | | | | | | | | | | | | | all signals masked (whoops). Add the missing cleanup code. Reviewed by: Martin Blapp <mb@imp.ch>, alfred
* | | If ifpromisc() fails the SIOCSIFFLAGS ioctl, put ifp->if_flagsbrian2001-04-021-0/+4
| | | | | | | | | | | | back the way we found them.
* | | Return 0 and do nothing when we get a SIOCSIFFLAGS.brian2001-04-021-0/+1
| | | | | | | | | | | | | | | | | | | | | Without this, ifpromisc() always fails (after setting the IFF_PROMISC bit in ifp->if_flags) and bpf never bothers to turn promiscuous mode off. PR: 20188
* | | Move the #includes of reentrant.h to after the `#include "namespace.h"',iedowse2001-04-0223-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | so that the underscored versions of the pthread functions get declared. This removes around 300 lines of 'implicit declaration of XXX' warnings from the output of a libc build with -Wall. Reviewed by: Martin Blapp <mb@imp.ch>, alfred
* | | New release notes: fsck(8) and /etc/fstab passes, newfs(8) -U,bmah2001-04-022-2/+16
| | | | | | | | | | | | | | | | | | libcrypt Blowfish support. Fix a typo: newfs is section 8, not section 1.
* | | MFC candidate:bmah2001-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ABOUT.TXT to be consistent with LAYOUT.TXT with respect to the size of an unpacked ports collection (the stated 100MB is a bit of an overestimate, but better to be conservative). PR: 22778 Submitted by: David <ddavid@ican.net>
* | | - Move the second stop() of process 'p' in issignal() to be after we sendjhb2001-04-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SIGCHLD to our parent process. Otherwise, we could block while obtaining the process lock for our parent process and switch out while we were in SSTOP. Even worse, when we try to resume from the mutex being blocked on our p_stat will be SRUN, not SSTOP. - Fix a comment above stop() to indicate that it requires that the proc lock be held, not a proctree lock. Reported by: markm Sleuthing by: jake
* | | Regen.n_hibma2001-04-022-2/+18
| | |
* | | Add Agate Q-Drive.n_hibma2001-04-021-0/+4
| | | | | | | | | | | | Submitted by: Ian Cartwright <ian351c@home.com>
* | | Regen.n_hibma2001-04-022-8/+204
| | |
* | | Sync with NetBSD usbdevsn_hibma2001-04-021-16/+56
| | |
* | | Do not override `realinstall' target, use ${PROGNAME}.ru2001-04-021-5/+1
| | |
* | | Do not override `realinstall' target, use ${PROGNAME}.ru2001-04-021-6/+3
| | |
* | | Introduce ${PROGNAME}, the name that the program will be installed as,ru2001-04-022-0/+8
| | | | | | | | | | | | | | | | | | if different from ${PROG}. (The name PROGNAME was stolen from NetBSD.) Reviewed by: bde
* | | Add support for MODULES_OVERRIDE. This is a list of modules to buildimp2001-04-026-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | instead of all of them. You can put this in /etc/make.conf or in makeoptions. Reviewed by: arch@ # docs to follow.
OpenPOWER on IntegriCloud