aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix error in r247960: actually assign the basename to match.iim_file.Dimitry Andric2013-03-071-2/+1
| | | | | | | | | | Pointed out by: avg Pointy hat to: dim MFC after: 1 week X-MFC-With: r247960 Notes: svn path=/head/; revision=247962
* Support the FAT16 partition type in gpart(8)Gavin Atkinson2013-03-074-0/+4
| | | | | | | | | PR: kern/174714 Submitted by: 4721 at hushmail dot com MFC after: 1 week Notes: svn path=/head/; revision=247961
* Make ctfconvert work correctly on clang-compiled object files. ClangDimitry Andric2013-03-071-0/+3
| | | | | | | | | | | | | | | | puts the full original source filename in the STT_FILE entry of the ELF symbol table, while gcc saves only the basename. Since the DWARF DW_AT_name attribute contains the full source filename, both for clang and gcc, ctfconvert takes just the basename of it, for matching with the STT_FILE entry. So when attempting to match with such an entry, use its basename, if necessary. Reported by: avg MFC after: 1 week Notes: svn path=/head/; revision=247960
* Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" insteadDimitry Andric2013-03-071-1/+1
| | | | | | | | | | of just "cc", since there is no reason to cause additional path searches in this case. MFC after: 3 days Notes: svn path=/head/; revision=247953
* Make c89(1) invoke /usr/bin/cc with argv[0] also set to /usr/bin/cc,Dimitry Andric2013-03-071-1/+1
| | | | | | | | | | | similar to what c99(1) does, to prevent "c89: illegal option -- 1" messages, when clang is /usr/bin/cc. Reported by: tijl MFC after: 3 days Notes: svn path=/head/; revision=247951
* Now that stable/7 is EOL, stop building INDEX-7.Colin Percival2013-03-071-1/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=247940
* Cleanup gr_add() so it does not leak memDiane Bruce2013-03-072-53/+86
| | | | | | | | | | | | This is part of ongoing work on sbin/pw M libutil.h M gr_util.c Approved by: theraven Notes: svn path=/head/; revision=247919
* Fix panic when Secondary_Element_Count == 1 and Secondary_Element_SeqAlexander Motin2013-03-071-1/+4
| | | | | | | | | | is not set (255). Reported by: sbruno MFC after: 1 week Notes: svn path=/head/; revision=247918
* Fix off-by-one error in nanoseconds validation.Alexander Motin2013-03-071-1/+1
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=247917
* Partially revert r247892 and r247904 since our strnvis() does notDag-Erling Smørgrav2013-03-072-2/+5
| | | | | | | behave the way OpenSSH expects. Notes: svn path=/head/; revision=247916
* The ZyXEL ZyAIR G-202 is also supported by zyd(4)Gavin Atkinson2013-03-071-1/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=247915
* Correct two spelling mistakes in a comment.Gavin Atkinson2013-03-071-1/+1
| | | | Notes: svn path=/head/; revision=247914
* Suggest using the https: protocol not the svn: protocol to retrieve theGavin Atkinson2013-03-071-4/+4
| | | | | | | various repositories. Notes: svn path=/head/; revision=247913
* Add __clzsi2 and ctzsi2. They are required on ARMv4 and ARMv5 to implementAndrew Turner2013-03-071-0/+3
| | | | | | | a number of builtin functions. Notes: svn path=/head/; revision=247912
* Add quirks to enable headphones redirection on number of LenovoGleb Smirnoff2013-03-072-1/+15
| | | | | | | | | | | | | | | | laptops, namely X1, X1 Carbon, T420, T520. PR: misc/176656 Submitted by: Hiren Panchasar <hiren.panchasara gmail.com> Tested by: glebius, X1 Carbon Tested by: osa, X1 Tested by: Hiren Panchasar, T420 Tested by: sbruno, T520 Reviewed by: mav Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=247911
* Plug a memory leak.Gleb Smirnoff2013-03-071-1/+5
| | | | | | | | Reviewed by: mav Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=247910
* The hashmask returned by hashinit() is a valid index in the returned hash array.Lawrence Stewart2013-03-071-1/+1
| | | | | | | | | | | Fix a siftr(4) potential memory leak and INVARIANTS triggered kernel panic in hashdestroy() by ensuring the last array index in the flow counter hash table is flushed of entries. MFC after: 3 days Notes: svn path=/head/; revision=247906
* Call sched_prio() to immediately change the priority of the thread inIan Lepore2013-03-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | response to an rtprio_thread() call, when the priority is different than the old priority, and either the old or the new priority class is not RTP_PRIO_NORMAL (timeshare). The reasoning for the second half of the test is that if it's a change in timeshare priority, then the scheduler is going to adjust that priority in a way that completely wipes out the requested change anyway, so what's the point? (If that's not true, then allowing a thread to change its own timeshare priority would subvert the scheduler's adjustments and let a cpu-bound thread monopolize the cpu; if allowed at all, that should require priveleges.) On the other hand, if either the old or new priority class is not timeshare, then the scheduler doesn't make automatic adjustments, so we should honor the request and make the priority change right away. The reason the old class gets caught up in this is the very reason for this change: when thread A changes the priority of its child thread B from idle back to timeshare, thread B never actually gets moved to a timeshare-range run queue unless there are some idle cycles available to allow it to first get scheduled again as an idle thread. Reviewed by: jhb@ Notes: svn path=/head/; revision=247905
* Remove strnvis(), strvis(), strvisx().Dag-Erling Smørgrav2013-03-061-3/+0
| | | | Notes: svn path=/head/; revision=247904
* Reduce minimal time intervals of setitimer(2) from 1/HZ to 1/(16*HZ) byAlexander Motin2013-03-061-20/+25
| | | | | | | | | | | | | using callout_reset_sbt() instead of callout_reset(). We can't remove lower limit completely in this case because of significant processing overhead, caused by unability to use direct callout execution due to using process mutex in callout handler for sending SEGALRM signal. With support of periodic events that would allow unprivileged user to abuse the system. Reviewed by: davide Notes: svn path=/head/; revision=247903
* Create a symlink from strchrnul.3 to strchr.3.Niclas Zeising2013-03-061-1/+2
| | | | | | | | | This was forgotten in the initial commit of strchrnul() Approved by: theraven Notes: svn path=/head/; revision=247899
* Fix time math overflows and improve zero intervals handling in poll(),Alexander Motin2013-03-063-18/+42
| | | | | | | | | select(), nanosleep() and kevent() functions after calloutng changes. Reported by: bde Notes: svn path=/head/; revision=247898
* Forced commit to note that this file had not been regenerated since 5.8Dag-Erling Smørgrav2013-03-060-0/+0
| | | | | | | | due to issues with the configure script incorrectly detecting utmp and lastlog despite the fact that FreeBSD 10 does not have them any more. Notes: svn path=/head/; revision=247893
* Explicitly disable lastlog, utmp and wtmp.Dag-Erling Smørgrav2013-03-062-8/+44
| | | | Notes: svn path=/head/; revision=247892
* Fix 'make depend'Ulrich Spörlein2013-03-061-0/+1
| | | | Notes: svn path=/head/; revision=247891
* Update driver to version 4.6.95.0.Xin LI2013-03-068-184/+810
| | | | | | | | Submitted by: "Duvvuru,Venkat Kumar" <VenkatKumar.Duvvuru Emulex.Com> MFC after: 3 days Notes: svn path=/head/; revision=247880
* Simplify virtio ring num-available calculation.Peter Grehan2013-03-062-11/+21
| | | | | | | Submitted by: Chris Torek, torek at torek dot net Notes: svn path=/head/; revision=247871
* Remove the virtio dependency entry for the VirtIO device drivers. ThisBryan Venteicher2013-03-064-10/+24
| | | | | | | | | | | | | | | | | will prevent the kernel from linking if the device driver are included without the virtio module. Remove pci and scbus for the same reason. Also explain the relationship and necessity of the virtio and virtio_pci modules. Currently in FreeBSD, we only support VirtIO PCI, but it could be replaced with a different interface (like MMIO) and the device (network, block, etc) will still function. Requested by: luigi Approved by: grehan (mentor) MFC after: 3 days Notes: svn path=/head/; revision=247870
* Reorder code to avoid the stat buffer being used uninitialized.Peter Grehan2013-03-061-6/+10
| | | | | | | Obtained from: NetApp Notes: svn path=/head/; revision=247865
* Fix stack alignment in the kernel to be on an 8 byte boundary as requiredAndrew Turner2013-03-063-3/+24
| | | | | | | by AAPCS. Notes: svn path=/head/; revision=247864
* Fix SIGSEGV when set_short_delay() is called when ifi->ifi_ra_timer is NULL.Hiroki Sato2013-03-061-0/+2
| | | | | | | | This can happen in a short period when a prefix is changed by a rtmsg and a new interface arrives. Notes: svn path=/head/; revision=247863
* Use build_iovec() to make it less cryptic. This also fixes warnings.Jung-uk Kim2013-03-062-32/+13
| | | | Notes: svn path=/head/; revision=247861
* GC unused mount_* directories. mount_reiserfs was disconnected from buildJung-uk Kim2013-03-059-772/+0
| | | | | | | with r158666. mount_ext2fs and mount_std were disconnected with r164527. Notes: svn path=/head/; revision=247860
* Update the manual page to reflect reality. With r138509 and r152355,Jung-uk Kim2013-03-051-3/+3
| | | | | | | | | | "nostrictjoliet" option for mount_cd9660(8) was completely replaced with "brokenjoliet" somehow. MFC after: 3 days Notes: svn path=/head/; revision=247859
* GC unused variables. Prefer NULL over 0 for pointers.Jung-uk Kim2013-03-058-25/+21
| | | | Notes: svn path=/head/; revision=247856
* - Reset DMA channel if error occuredOleksandr Tymoshenko2013-03-051-0/+2
| | | | | | | | | - Initialize info field in bcm_dma_reset Submitted by: Daisuke Aoyama <aoyama@peach.ne.jp> Notes: svn path=/head/; revision=247855
* Fix compile warning by including ctype.h for isdigit().Navdeep Parhar2013-03-051-0/+1
| | | | | | | MFC after: 1 day Notes: svn path=/head/; revision=247854
* MFV r247845:Martin Matuska2013-03-053-19/+61
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import ZFS bpobj bugfix from vendor. Illumos ZFS issues: 3603 panic from bpobj_enqueue_subobj() 3604 zdb should print bpobjs more verbosely References: https://www.illumos.org/issues/3603 https://www.illumos.org/issues/3604 MFC after: 1 week Notes: svn path=/head/; revision=247852
| * Update vendor/illumos/dist and vendor-sys/illumos/distMartin Matuska2013-03-053-19/+61
| | | | | | | | | | | | | | | | | | | | | | to illumos-gate 13977:af7f2603d4d7 Illumos ZFS issues: 3603 panic from bpobj_enqueue_subobj() 3604 zdb should print bpobjs more verbosely Notes: svn path=/vendor-sys/illumos/dist/; revision=247845
| * Update vendor/illumos/dist and vendor-sys/illumos/distMartin Matuska2013-03-059-35/+85
| | | | | | | | | | | | | | | | | | | | | | to illumos-gate 13975:ef6409bc370f Illumos ZFS issues: 3582 zfs_delay() should support a variable resolution 3584 DTrace sdt probes for ZFS txg states Notes: svn path=/vendor-sys/illumos/dist/; revision=247844
| * Update vendor/illumos/dist and vendor-sys/illumos/distMartin Matuska2013-03-0174-5764/+6215
| | | | | | | | | | | | | | | | | | | | to illumos-gate 13973:4972ab336f54 Illumos ZFS issues: 3464 zfs synctask code needs restructuring Notes: svn path=/vendor-sys/illumos/dist/; revision=247580
| * Update vendor-sys/illumos/dist to illumos-gate 13971:d1648d817bd6Martin Matuska2013-03-014-80/+169
| | | | | | | | | | | | | | | | Illumos ZFS issues: 3581 spa_zio_taskq[ZIO_TYPE_FREE][ZIO_TASKQ_ISSUE]->tq_lock is piping hot Notes: svn path=/vendor-sys/illumos/dist/; revision=247578
* | Fix build with gcc, do not use unnamed union.Konstantin Belousov2013-03-051-8/+14
| | | | | | | | | | | | | | | | Reported and tested by: gjb MFC after: 1 month Notes: svn path=/head/; revision=247849
* | Fix build with gcc, remove redundand declarations.Konstantin Belousov2013-03-051-21/+0
| | | | | | | | | | | | | | | | Reported and tested by: gjb MFC after: 1 month Notes: svn path=/head/; revision=247848
* | choose in priority the allocated ABI if any to do the ${ABI} substitution in ↵Baptiste Daroussin2013-03-051-1/+1
| | | | | | | | | | | | | | | | | | PACKAGESITE Reviewed by: bdrewery Notes: svn path=/head/; revision=247843
* | Write lock is not required for find&compare operation.Alexander V. Chernikov2013-03-051-2/+2
| | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=247842
* | Add the ability to correctly read pkg.conf is exists.Baptiste Daroussin2013-03-054-171/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only look for boostrap useful options: - PACKAGESITE - ABI - MIRROR_TYPE - ASSUME_ALWAYS_YES While here makes PACKAGESITE expand the ${ABI} variable. Allow to deactivate any SRV record look up (MIRROR_TYPE=none) Use the same mechanism as for pkgng itself: first get configuration out of environment variable and fallback on pkg.conf if exists. Reviewed by: bdrewery Notes: svn path=/head/; revision=247841
* | Add a stub manpage modeled over the libexpat one to explain to users not to useBaptiste Daroussin2013-03-052-0/+62
| | | | | | | | | | | | | | | | | | this library outside of base. Requested by: simon Notes: svn path=/head/; revision=247840
* | drm_global.c: Destroy sx in drm_global_release()Jean-Sébastien Pédron2013-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | This fixes a build error at the same time (unused variable "item"), if the kernel is compiled without INVARIANTS. Reported by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (build error) Reviewed by: Konstantin Belousov (kib@) Notes: svn path=/head/; revision=247839
* | Correct the r247832.Konstantin Belousov2013-03-051-1/+1
| | | | | | | | | | | | | | | | Noted by: marius, rdivacky MFC after: 1 month Notes: svn path=/head/; revision=247838