summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless check for NULL prior to free.eadler2012-12-052-4/+2
| | | | | Approved by: cperciva MFC after: 2 weeks
* Remove hack to emulate effective uid and just use the EUID's name in theeadler2012-12-052-8/+2
| | | | | | | | | first place. I was unaware of this option when originally committing this change. Submitted by: gcooper Approved by: cperciva MFC after: 3 days
* Remove pointless check for the existence of /usr/bin/less which existseadler2012-12-051-13/+1
| | | | | | | | in all configurations. Reviewed by: mjg Approved by: cperciva MFC after: 2 weeks
* Add ability to mergemaster to permit the user to typeeadler2012-12-051-0/+5
| | | | | | | | | the absolute path to PAGER if mergemaster can not find the one already set. Reviewed by: mjg Approved by: cperciva MFC after: 2 weeks
* Connect organization.dot to the buildeadler2012-12-051-1/+2
| | | | | Approved by: cperciva MFC after: 3 days
* if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records andbapt2012-12-054-9/+222
| | | | | | | use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead of pkgbeta.FreeBSD.org MFC after: 1 month
* Mechanically substitute flags from historic mbuf allocator withglebius2012-12-05178-593/+582
| | | | | | | | | malloc(9) flags within sys. Exceptions: - sys/contrib not touched - sys/mbuf.h edited manually
* Remove dead code that clang refuses to compile.rpaulo2012-12-051-10/+0
|
* Fix a race between kern_setitimer() and realitexpire(), where thekib2012-12-043-5/+2
| | | | | | | | | | | | | | | | | | | | | callout is started before kern_setitimer() acquires process mutex, but looses a race and kern_setitimer() gets the process mutex before the callout. Then, assuming that new specified struct itimerval has it_interval zero, but it_value non-zero, the callout, after it starts executing again, clears p->p_realtimer.it_value, but kern_setitimer() already rescheduled the callout. As the result of the race, both p_realtimer is zero, and the callout is rescheduled. Then, in the exit1(), the exit code sees that it_value is zero and does not even try to stop the callout. This allows the struct proc to be reused and eventually the armed callout is re-initialized. The consequence is the corrupted callwheel tailq. Use process mutex to interlock the callout start, which fixes the race. Reported and tested by: pho Reviewed by: jhb MFC after: 2 weeks
* Do not allocate buffer of the 255 bytes length on the stack.kib2012-12-041-3/+6
| | | | | Reported and tested by: sig6247@gmail.com MFC after: 1 week
* Fix fallout from r243019, which broke parsing of shortened networkglebius2012-12-041-0/+7
| | | | | | prefixes. Reported and tested by: delphij
* - Fix LOR in sa6_recoverscope() in rt_msg2()[1].hrs2012-12-043-41/+45
| | | | | | | - Check V_deembed_scopeid before checking if sa_family == AF_INET6. - Fix scope id handing in route(8)[2] and ifconfig(8). Reported by: rpaulo[1], Mateusz Guzik[1], peter[2]
* libc: Use the new 'e' fopen() mode option to simplify fstab.c.jilles2012-12-041-11/+1
| | | | No functional change is intended.
* Use absolute path for /usr/libexec/ld-elf.so.1 symlink.pjd2012-12-041-2/+2
| | | | | | | | | Requested by: kan, kib Use -h flags for chflags, so we won't remove 'schg' flag from system's /libexec/ld-elf.so.1. MFC after: 2 weeks
* Fix typo.kib2012-12-041-1/+1
| | | | | Submitted by: bjk MFC after: 3 days
* Do not change entire BINDIR, it might be needed later, just changepjd2012-12-041-2/+2
| | | | | | symlink target. MFC after: 2 weeks
* Change /usr/libexec/ld-elf.so.1 to point at ../../libexec/ld-elf.so.1pjd2012-12-041-1/+1
| | | | | | | | | | | instead of /libexec/ld-elf.so.1. Below in the Makefile we execute 'chflags noschg ${DESTDIR}/usr/libexec/ld-elf.so.1', which follows symlink and removes 'schg' flag from system's /libexec/ld-elf.so.1 instead of the one in DESTDIR. It is also more friendly to use replative paths in symlink in case of jail/chroot environments. Obtained from: WHEEL Systems MFC after: 2 weeks
* Flush stdout after RTM_IFANNOUNCE message.glebius2012-12-041-0/+1
| | | | | PR: bin/151600 Submitted by: Eric van Gyzen <eric vangyzen.net>
* No need to be root when running with -t or -d.glebius2012-12-041-2/+2
|
* Document that bind(2) can fail with EAFNOSUPPORT.kevlo2012-12-041-0/+2
| | | | Reviewed by: glebius
* Mechanically substitute flags from historic mbuf allocator withglebius2012-12-04133-389/+389
| | | | malloc(9) flags in sys/dev.
* Remove superfluous paragraph macro.joel2012-12-041-1/+0
|
* Remove snapshots.jp.freebsd.org. It stopped working years ago.joel2012-12-041-1/+0
| | | | Discussed with: hrs
* replace bit shifting loop with 1<<fls(n), improve comments.alfred2012-12-041-6/+4
| | | | Reviewed by: davide
* - Move EXAMPLES descriptions to before the actual commandbdrewery2012-12-041-12/+9
| | | | | | | | - Add mdoc macros for EXAMPLES Reviewed by: eadler Approved by: gjb MFC after: 3 days
* Fix typos in the previous commit.jkim2012-12-041-2/+2
|
* Tidy up bsd.cpu.mk for X86 CPUs:jkim2012-12-042-36/+49
| | | | | | | | | | | | | | | | | | | | - Do not limit recent processors to "prescott" class for i386 target. There is no reason for this hack because clang is default now. On top of that, it will only grow indefinitely over time. - Add more CPUTYPEs, i.e., "athlon-fx", "core-avx2", "atom", "penryn", and "yonah". Note "penryn" and "yonah" are intentionally undocumented because they are not supported by gcc and marked deprecated by clang. - Add more CPUTYPE aliases, i.e., "barcelona" (-> amdfam10), "westmere" and "nehalem" (-> corei7). Note these are intentionally undocumented because they are not supported by (base) gcc and/or clang. However, LLVM (backend) seems to "know" the differences. Most likely, they were deprecated with other vendor code names and clang did not bother implementing them at all. - Add i686 to MACHINE_CPU for "c3-2" (VIA Nehemiah). Both gcc & clang treat it like an i686-class processor. - Add IDT "winchip2" and "winchip-c6" for completeness (undocumented). - Order processors per make.conf example, i.e., CPU vendors and models. - Tidy up make.conf example, i.e., remove "by gcc" (because we have aliases) and remove "prescott" from AMD64 architecture (because it is not correct).
* Document the interpretation of the negative value of ticks forkib2012-12-041-1/+8
| | | | | | taskqueue_enqueue_timeout(9). MFC after: 3 days
* Methodise the BT diversity configuration function; so the AR9285adrian2012-12-043-3/+12
| | | | | | can correctly override it. This was missed in the previous commit.
* Override the BT coex parameter function for the AR9285.adrian2012-12-041-2/+3
|
* Reformat/reindent.adrian2012-12-041-59/+70
|
* Add and tie in the AR5416 bluetooth coexistence methods into the HAL.adrian2012-12-032-0/+26
|
* Add the AR5416/AR9285 bluetooth coexistence code into the main kerneladrian2012-12-031-0/+6
| | | | build.
* Add the btcoex code into the module compilation.adrian2012-12-031-3/+3
|
* Include if_ath_alq.c, which only gets actually compiled if ATH_DEBUG_ALQadrian2012-12-031-1/+1
| | | | is enabled.
* Print the frame addresses for the backtraces on i386 and amd64. Itkib2012-12-032-12/+22
| | | | | | | | allows both to inspect the frame sizes and to manually peek into the frames from ddb, if needed. Reviewed by: dim MFC after: 2 weeks
* The vnode_free_list_mtx is required unconditionally when iteratingkib2012-12-031-4/+28
| | | | | | | | | | | | | | | | | | | | | over the active list. The mount interlock is not enough to guarantee the validity of the tailq link pointers. The __mnt_vnode_next_active() and __mnt_vnode_first_active() active lists iterators helper functions did not provided the neccessary stability for the list, allowing the iterators to pick garbage. This was uncovered after the r243599 made the active list iterators non-nop. Since a vnode interlock is before the vnode_free_list_mtx, obtain the vnode ilock in the non-blocking manner when under vnode_free_list_mtx, and restart iteration after the yield if the lock attempt failed. Assert that a vnode found on the list is active, and assert that the helpers return the vnode with interlock owned. Reported and tested by: pho MFC after: 1 week
* Note that the manual page of less(1) says:delphij2012-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Note that a preprocessor cannot output an empty file, since that is interpreted as meaning there is no replacement, and the origi- nal file is used. To avoid this, if LESSOPEN starts with two ver- tical bars, the exit status of the script becomes meaningful. If the exit status is zero, the output is considered to be replace- ment text, even if it empty. If the exit status is nonzero, any output is ignored and the original file is used. For compatibil- ity with previous versions of less, if LESSOPEN starts with only one vertical bar, the exit status of the preprocessor is ignored. Use two pipe symbols for zless, so that zless'ing a compressed empty file will give output rather than being interpreted as its compressed form, which is typically a binary. Thanks Mark Nudelman for pointing out this difference and the suggested solution. Reported by: Matthias Meyser <meyser xenet.de> PR: bin/168839 MFC after: 2 weeks
* Remove the sysctl process_limit interface, after somejfv2012-12-031-43/+7
| | | | | | | | | | thought I've decided its overkill,a simple tuneable for each RX and TX limit, and then init sets the ring values based on that, should be sufficient. More importantly, fix a bug causing a panic, when changing the define style to IXGBE_LEGACY_TX a taskqueue init was inadvertently set #ifdef when it should be #ifndef.
* - Remove snapshots.se.freebsd.org [1]joel2012-12-031-1/+1
| | | | | | - Add ftp6.se.freebsd.org Discussed with: brd [1]
* Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).jkim2012-12-033-29/+24
| | | | | | It was removed from head more than 8 years ago (see r137784 and r137785). Reviewed by: imp, delphij, dim
*-. Upgrade our copy of llvm/clang to r168974, from upstream's release_32dim2012-12-031658-43299/+106116
|\ \ | | | | | | | | | | | | branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon.
| | * Vendor import of clang release_32 branch r168974 (effectively, 3.2 RC2):dim2012-12-022195-46303/+118236
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/branches/release_32@168974
| | * Vendor import of clang trunk r162107:dim2012-08-19157-1127/+4423
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@162107
| * | Vendor import of llvm release_32 branch r168974 (effectively, 3.2 RC2):dim2012-12-021993-29776/+112399
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/branches/release_32@168974
* | | MFV: less v456.delphij2012-12-0312-32/+24
| | |
* | | Use SA_ZPL_CRTIME instead of SA_ZPL_CTIME for creation time.delphij2012-12-031-1/+1
| | | | | | | | | | | | | | | Submitted by: phil.stone at gmx.com MFC after: 2 weeks
* | | Fix make depend.uqs2012-12-021-1/+1
| | |
* | | Specifically point at the Handbook instructions for world updates inrwatson2012-12-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | UPDATING by URL. As there has been some confusion over the need to run "mergemaster -p", part of our standard upgrade procedure, following the recent addition of an "auditdistd" user, add a note about it to UPDATING explicitly.
* | | Fix bpf_if structure leak introduced in r235745.melifaro2012-12-021-52/+66
| | | | | | | | | | | | | | | | | | | | | Move all such structures to delayed-free lists and delete all matching on interface departure event. MFC after: 1 week
OpenPOWER on IntegriCloud