summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused local variables.bz2009-01-318-20/+2
| | | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib MFC after: 2 weeks
* Remove unused local MACROs.bz2009-01-312-3/+0
| | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks
* There is no need to initialize the variable here.bz2009-01-311-2/+0
| | | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib (as part of a larger patch) MFC after: 2 weeks
* Remove and unused variable.bz2009-01-311-2/+1
| | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks
* Coalesce two consecutive #ifdef IPSEC blocks.bz2009-01-311-4/+1
| | | | | | | Move the skip_ipsec: label below the goto as we can never have ipsecrt set if we get to that label so there is no need to check. MFC after: 2 weeks
* Change some movl's to mov's. Newer GAS no longer accept 'movl' instructionsobrien2009-01-3112-48/+48
| | | | | | for moving between a segment register and a 32-bit memory location. Looked at by: jhb
* Remove dead code from #if 0:bz2009-01-311-4/+0
| | | | | | we do not have an ipsrcchk_rt anywhere else. MFC after: 2 weeks
* Like with r185713 make sure to not leak a lock as rtalloc1(9) returnsbz2009-01-315-9/+10
| | | | | | | | | | | | | | a locked route. Thus we have to use RTFREE_LOCKED(9) to get it unlocked and rtfree(9)d rather than just rtfree(9)d. Since the PR was filed, new places with the same problem were added with new code. Also check that the rt is valid before freeing it either way there. PR: kern/129793 Submitted by: Dheeraj Reddy <dheeraj@ece.gatech.edu> MFC after: 2 weeks Committed from: Bugathon #6
* Fix a typo in a comment.trhodes2009-01-311-1/+1
|
* Fix bug in hint.hdac.X.config parsing.mav2009-01-311-2/+2
|
* Run with -B and just .POSIX.obrien2009-01-311-2/+2
|
* Write timestamps with exactly 9 digits after the period.kientzle2009-01-314-3/+9
| | | | | | | | | | This ensures that the value written is both compatible with older mtree versions (which expect the value after the period to be an integer count of nanoseconds after the whole second) and is a correct floating-point value. Leave the parsing code unchanged so it will continue to read older files.
* Remove 4 entirely unsued ip6 variables.bz2009-01-303-16/+4
| | | | | | | | Leave then in struct vinet6 to not break the ABI with kernel modules but mark them for removal so we can do it in one batch when the time is right. MFC after: 1 month
* Add btpand(8) daemon from NetBSD. This daemon provides support foremax2009-01-3015-0/+3372
| | | | | | | | Bluetooth Network Access Point (NAP), Group Ad-hoc Network (GN) and Personal Area Network User (PANU) profiles. Obtained from: NetBSD MFC after: 1 month
* Committo ergo sum.jamie2009-01-301-0/+3
| | | | Approved by: bz
* Use NULL rather than 0 when comparing pointers.bz2009-01-301-2/+2
| | | | MFC after: 2 weeks
* Sometimes, depending on the bpf filter rules used in $PATTERN,keramida2009-01-301-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the example script of the manpage feeds awk(1) with values larger than UINT32_MAX. Then awk prints a negative value, and this messes up $BPFPROG. Trying to load the resulting bpf byte codes with ngctl then fails. For example, the output for PATTERN="udp and dst net 255.255.0.0/16" should be (all in one line): bpf_prog_len=10 bpf_prog=[ { code=40 jt=0 jf=0 k=12 } { code=21 jt=7 jf=0 k=34525 } { code=21 jt=0 jf=6 k=2048 } { code=48 jt=0 jf=0 k=23 } { code=21 jt=0 jf=4 k=17 } { code=32 jt=0 jf=0 k=30 } { code=84 jt=0 jf=0 k=4294901760 } { code=21 jt=0 jf=1 k=4294901760 } { code=6 jt=0 jf=0 k=8192 } { code=6 jt=0 jf=0 k=0 } ] The two k=4294901760 values are displayed as k=-2147483648 by awk. Replace the awk script of the manpage example with a slower but safer version, that doesn't really attempt to convert the byte code printed by tcpdump from string to number and back. PR: docs/123255 Submitted by: Eugenio Maffione, eugenio.maffione at telecomitalia.it MFC after: 3 days
* Add the '-C' "check clean" flag. If the FS is marked clean, skip fileobrien2009-01-307-15/+37
| | | | | | | | system checking. However, if the file system is not clean, perform a full fsck. Reviewed by: delphij Obtained from: Juniper Networks
* Bump .Dd for r187609keramida2009-01-301-1/+1
|
* Unbreak make -s. There's about a 10% performance improvement with -simp2009-01-301-0/+1
| | | | | | in many environments. The recent --- blah --- reintroduction has killed. That output makes almost no sense when all the other output is silenced.
* - Remove non-existing referencegabor2009-01-301-2/+1
| | | | | | | | - Fix trailing comma PR: docs/85118 Submitted by: vs MFC after: 3 days
* - Remove superfluous commentgabor2009-01-301-2/+0
| | | | | PR: docs/129400 Submitted by: Gavin Atkinson <gavin@freebsd.org>
* - Remove superfluous commentgabor2009-01-301-2/+0
| | | | | PR: docs/129400 Submitted by: Gavin Atkinson <gavin@freebsd.org>
* - Remove superfluous commentgabor2009-01-301-2/+0
| | | | | PR: docs/129400 Submitted by: Gavin Atkinson <gavin@freebsd.org>
* - Rename adding_user(8) to adding_user(7). There's no adding_user utility,gabor2009-01-303-11/+4
| | | | | | | | | | but the man page describes conceptual information about the process of adding a user, thus it should belong to section 7. - Remove HISTORY and BUGS sections because of the aforementioned reason. PR: docs/130151 Submitted by: Marian Cerny <jojo@matfyz.cz> MFC after: 3 days
* Make sure the entries don't run into each other when they're longer thandes2009-01-301-6/+6
| | | | | | | | the allotted space. PR: bin/129318 Submitted by: Ighighi <ighighi@gmail.com> MFC after: 3 weeks
* o Fix typo: indentical -> identical.maxim2009-01-301-1/+1
| | | | | | PR: docs/131149 Submitted by: Patrick Oonk MFC after: 1 week
* Increment total_bounced busdma stat as required.thompsa2009-01-301-0/+2
|
* Accept integer times. Previously, the field "time=1233294539" would bekientzle2009-01-301-6/+7
| | | | rejected as invalid.
* Spawn one fewer shells on startup. We don't use dhcp_interfaces atimp2009-01-301-1/+0
| | | | | | all in this function, and grep shows no other instances of it (besides, this is a function, and in a sub-shell, so all changes are local).
* For files not named on the command line, only the basename is comparedobrien2009-01-301-2/+5
| | | | | | | | | to the exclude pattern. Change this so that "grep --exclude='*/.svn/*' -[Rr] foo *" DWIM. Obtained from: dave+news001@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Dave Gibson) Obtained from: comp.unix.questions [Thu, 15 Mar 2007 18:54:38 +0000] Obtained from: http://unix.derkeiler.com/Newsgroups/comp.unix.questions/2007-03/msg00046.html
* track hal changessam2009-01-291-1/+3
|
* update for hal changessam2009-01-292-456/+239
|
* setup default fixed rates for static turbo and 11n;sam2009-01-291-6/+22
| | | | the 11n rates are pure guess
* set ni_txparms for static turbo modesam2009-01-291-6/+11
|
* setup default rate set for static turbo modesam2009-01-291-0/+1
|
* Define NULL to be __null in a case of gnu c++. This makes sentinel attributerdivacky2009-01-291-0/+4
| | | | | | | | | | | | | | work ok in C++. Note that we enable this only for gcc 4.x for any value of x. The __null was introduced in gcc 4.1 (in fact it was commited 12 days after release of gcc 4.0) and as we have never released any version of FreeBSD with gcc 4.0 nor ports support gcc 4.0.x this is a safe check. Using __GNUC_PREREQ__ would require us to include cdefs.h in params.h so we just check __GNUC__. Approved by: kib (mentor) Tested by: exp build of ports (done by pav) Tested by: make universe (done by me)
* Make sure the cdev doesn't go away while the filesystem is still mounted.trasz2009-01-291-0/+3
| | | | | | | | Otherwise dev2udev() could return garbage. Reviewed by: kib Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Use si_drv1 to hold the softc for the adb_mouse character device instead ofjhb2009-01-291-1/+2
| | | | | | using devclass_get_softc(). Tested by: nwhitehorn
* If a process is a zombie and we couldn't identify another useful state,rwatson2009-01-291-0/+2
| | | | | | | | print out the state as "zombine" in preference to "unknown" when ^T is pressed. MFC after: 3 days Sponsored by: Google, Inc.
* - Allocate apic vectors on a per-cpu basis. This allows us to allocatejeff2009-01-2912-154/+306
| | | | | | | | more irqs as we have more cpus. This is principally useful on systems with msi devices which may want many irqs per-cpu. Discussed with: jhb Sponsored by: Nokia
* Backout change 187782. It inhibits ntpd from starting at allkeramida2009-01-292-7/+3
| | | | | | when ntpd_sync_on_start is set. Noticed by: rafan
* Make adb_mouse use dev2unit() instead of minor().ed2009-01-291-1/+1
| | | | | A real fix would be to migrate it to si_drv0 to store the softc directly, but this is the quickest way to fix it right now.
* Add one more debug level.mav2009-01-281-2/+2
|
* Add hw.sdhci.debug sysctl to control debug level.mav2009-01-281-20/+23
|
* Improve mmc driver verbose logging.mav2009-01-281-12/+78
| | | | Make requests logging controllable by hw.mmc.debug sysctl.
* Use a different value for the initial control word for the FPU state forjhb2009-01-282-0/+6
| | | | | | | | 32-bit processes. The value matches the initial setting used by FreeBSD/i386. Otherwise, 32-bit binaries using floating point would use a slightly different initial state when run on FreeBSD/amd64. MFC after: 1 week
* Update ubtbcmfw2 (aka usb2_bluetooth_fw) driveremax2009-01-281-225/+207
| | | | Reviewed by: HPS
* Make ng_ubt2 (aka usb2_bluetooth_ng) driver only attach as "generic" driveremax2009-01-281-0/+3
| | | | Reviewed by: HPS
* Mark most often used sysctl's as MPSAFE.ed2009-01-284-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | After running a `make buildkernel', I noticed most of the Giant locks in sysctl are only caused by a very small amount of sysctl's: - sysctl.name2oid. This one is locked by SYSCTL_LOCK, just like sysctl.oidfmt. - kern.ident, kern.osrelease, kern.version, etc. These are just constant strings. - kern.arandom, used by the stack protector. It is already protected by arc4_mtx. I also saw the following sysctl's show up. Not as often as the ones above, but still quite often: - security.jail.jailed. Also mark security.jail.list as MPSAFE. They don't need locking or already use allprison_lock. - kern.devname, used by devname(3), ttyname(3), etc. This seems to reduce Giant locking inside sysctl by ~75% in my primitive test setup.
OpenPOWER on IntegriCloud