Author: sephe
Date: Mon May 23 06:52:42 2016
New Revision: 300479
URL: https://svnweb.freebsd.org/changeset/base/300479
Log:
hyperv/hn: Use hyperv busdma(9) helper.
MFC after:1 week
Sponsored by: Microsoft OSTC
Differential Revision:https://reviews.freebsd.org/D6444
Modifie
Author: sephe
Date: Mon May 23 06:35:11 2016
New Revision: 300478
URL: https://svnweb.freebsd.org/changeset/base/300478
Log:
hyperv: Add helpers for busdma(9) operation
MFC after:1 week
Sponsored by: Microsoft OSTC
Differential Revision:https://reviews.freebsd.org/D6443
Add
Author: ngie
Date: Mon May 23 06:01:04 2016
New Revision: 300475
URL: https://svnweb.freebsd.org/changeset/base/300475
Log:
MFC r299710,r299711,r299763,r299783,r299811:
r299710:
Staticize global variables only used in bsnmpimport.c to fix
-Wmissing-variable-declarations warnings
Author: adrian
Date: Mon May 23 05:52:47 2016
New Revision: 300474
URL: https://svnweb.freebsd.org/changeset/base/300474
Log:
[siba] update device ids.
Tested:
* BCM4322 11abgn, STA mode
Modified:
head/sys/dev/siba/siba_bwn.c
Modified: head/sys/dev/siba/siba_bwn.c
=
Author: truckman
Date: Mon May 23 05:45:52 2016
New Revision: 300473
URL: https://svnweb.freebsd.org/changeset/base/300473
Log:
MFC r35
swprintf() and apparently wcsftime() want the their output buffer size
specified in terms of the the number of wide characters and not
sizeof(buffe
Author: truckman
Date: Mon May 23 05:43:59 2016
New Revision: 300472
URL: https://svnweb.freebsd.org/changeset/base/300472
Log:
MFC r32
When clearing rtmsg, pass &rtmsg to bzero() instead of the address of
just the header
Reported by: Coverity
CID: 1007568, 1194256
M
Author: truckman
Date: Mon May 23 05:41:23 2016
New Revision: 300470
URL: https://svnweb.freebsd.org/changeset/base/300470
Log:
MFC r21
Don't walk off the end of the array when proto isn't explicitly
listed above. Instead update the catch-all "Others" bucket.
Reported by: Cover
Author: ngie
Date: Mon May 23 05:41:53 2016
New Revision: 300471
URL: https://svnweb.freebsd.org/changeset/base/300471
Log:
MFC r299712,r299759,r299760,r299761,r299762:
r299712:
Fix some trivial clang/gcc warnings in bsnmptc.c
- By definition, `enum snmp_tc` can't be false (the im
Author: truckman
Date: Mon May 23 05:38:40 2016
New Revision: 300469
URL: https://svnweb.freebsd.org/changeset/base/300469
Log:
MFC r299988
Set ai2 to NULL in in find_host() before the loop and after calling
freeaddrinfo() on it to indicate that it doesn't point to a valid
addrinfo list
Author: dchagin
Date: Mon May 23 05:31:53 2016
New Revision: 300467
URL: https://svnweb.freebsd.org/changeset/base/300467
Log:
MFC r299249:
Add a forgotten in r283424 .eh_frame section with CFI & FDE records to allow
stack unwinding through signal handler.
Modified:
stable/10/sys/amd64
Author: ngie
Date: Mon May 23 05:30:24 2016
New Revision: 300466
URL: https://svnweb.freebsd.org/changeset/base/300466
Log:
MFstable/10 r300464:
MFC r299659:
Remove unused const variable
Modified:
stable/9/sys/boot/i386/zfsboot/zfsboot.c
Directory Properties:
stable/9/ (props ch
Author: ngie
Date: Mon May 23 05:28:02 2016
New Revision: 300464
URL: https://svnweb.freebsd.org/changeset/base/300464
Log:
MFC r299659:
Remove unused const variable
Modified:
stable/10/sys/boot/i386/zfsboot/zfsboot.c
Directory Properties:
stable/10/ (props changed)
Modified: stable
Author: truckman
Date: Mon May 23 05:27:31 2016
New Revision: 300463
URL: https://svnweb.freebsd.org/changeset/base/300463
Log:
MFC r299986
Actually use the loop interation limit so carefully computed on the
previous line to prevent buffer overflow. This turns out to not be
important b
Author: ngie
Date: Mon May 23 05:25:34 2016
New Revision: 300462
URL: https://svnweb.freebsd.org/changeset/base/300462
Log:
MFstable/10 r300460:
MFC r299655:
Add missing prototype for getchar(..)
Modified:
stable/9/sys/boot/i386/common/cons.h
Directory Properties:
stable/9/ (pro
Author: truckman
Date: Mon May 23 05:25:29 2016
New Revision: 300461
URL: https://svnweb.freebsd.org/changeset/base/300461
Log:
MFC r299971
Fix off by one error that overflowed the rep_len array when doing
the final NUL termination.
Reported by: Coverity
CID: 1007617
Mod
Author: ngie
Date: Mon May 23 05:23:53 2016
New Revision: 300460
URL: https://svnweb.freebsd.org/changeset/base/300460
Log:
MFC r299655:
Add missing prototype for getchar(..)
Modified:
stable/10/sys/boot/i386/common/cons.h
Directory Properties:
stable/10/ (props changed)
Modified: s
Author: truckman
Date: Mon May 23 05:21:55 2016
New Revision: 300459
URL: https://svnweb.freebsd.org/changeset/base/300459
Log:
MFC r299953
Fix an off by one error to avoid overflowing rp[].
Reported by: Coverity
CID: 1007579
Modified:
stable/10/usr.sbin/makefs/mtree.c
D
Author: truckman
Date: Mon May 23 05:19:37 2016
New Revision: 300458
URL: https://svnweb.freebsd.org/changeset/base/300458
Log:
MFC r299952
Increase size of argv[] array to avoid running off the end.
Reported by: Coverity
CID: 1193819
Modified:
stable/10/usr.bin/ldd/ldd.
Author: truckman
Date: Mon May 23 05:14:26 2016
New Revision: 300456
URL: https://svnweb.freebsd.org/changeset/base/300456
Log:
MFC r299948
Set retval in the empty password case to avoid a path through the
code that fails to set retval before falling through to the final
return().
Author: ngie
Date: Mon May 23 05:11:31 2016
New Revision: 300454
URL: https://svnweb.freebsd.org/changeset/base/300454
Log:
MFC r299654:
Read the contents of the snapshot files properly
- Use fgetln instead of fgets; localize complexity related to fgetln(3)
inside the loop.
- Ski
Author: sephe
Date: Mon May 23 05:11:38 2016
New Revision: 300455
URL: https://svnweb.freebsd.org/changeset/base/300455
Log:
hyperv: Move guest id setup to early place
And
- Rework the guest id composition.
- Nuke useless saved guest_id.
MFC after:1 week
Sponsored by: Microso
Author: truckman
Date: Mon May 23 05:11:08 2016
New Revision: 300453
URL: https://svnweb.freebsd.org/changeset/base/300453
Log:
MFC r299926
Hoist the getpwnam() call outside the first if/else block in
pam_sm_chauthtok(). Set user = getlogin() inside the true
branch so that it is initia
Author: truckman
Date: Mon May 23 05:07:13 2016
New Revision: 300452
URL: https://svnweb.freebsd.org/changeset/base/300452
Log:
MFC r299922
Don't call free_addrselectpolicy(&policyhead) before policyhead has been
initialized.
Reported by: Coverity
CID: 1018727
Modified:
On 2016-05-23 00:49, Allan Jude wrote:
> On 2016-05-02 17:40, Andriy Voskoboinyk wrote:
>> Author: avos
>> Date: Mon May 2 21:40:34 2016
>> New Revision: 298946
>> URL: https://svnweb.freebsd.org/changeset/base/298946
>>
>> Log:
>> bsdinstall: fix static address assignment for protected wireless
Author: truckman
Date: Mon May 23 04:52:27 2016
New Revision: 300451
URL: https://svnweb.freebsd.org/changeset/base/300451
Log:
MFC r299897
NULL releasedfl after calling deallocate_file_lock() which frees it
to avoid a use-after-free error in the debuglog() call at the top
of the loop.
On 2016-05-02 17:40, Andriy Voskoboinyk wrote:
> Author: avos
> Date: Mon May 2 21:40:34 2016
> New Revision: 298946
> URL: https://svnweb.freebsd.org/changeset/base/298946
>
> Log:
> bsdinstall: fix static address assignment for protected wireless networks.
>
> Filter out IFCONFIG_PREFIX
Author: truckman
Date: Mon May 23 04:50:01 2016
New Revision: 300450
URL: https://svnweb.freebsd.org/changeset/base/300450
Log:
MFC r299894
pdu_delete(request) frees request, so move the call after
login_new_response(request) to avoid a use-after-free error
Reported by: Coverity
C
Author: truckman
Date: Mon May 23 04:47:24 2016
New Revision: 300449
URL: https://svnweb.freebsd.org/changeset/base/300449
Log:
MFC r299893
Don't free fnamebuf before we calling cfgfile_add(). This changes a
use-after-free error into a minor memory leak.
Reported by: Coverity
CID
Author: adrian
Date: Mon May 23 04:17:27 2016
New Revision: 300448
URL: https://svnweb.freebsd.org/changeset/base/300448
Log:
[bwn] convert another PHY-N workaround to the freebsd bwn format.
These were hidden behind an #ifdef that we weren't setting.
I don't have the hardware in quest
Author: ian
Date: Mon May 23 04:07:41 2016
New Revision: 300447
URL: https://svnweb.freebsd.org/changeset/base/300447
Log:
Add a note on how to update a self-hosted armv6hf system to the entry
describing the armv6hf->armv6 change.
Modified:
head/UPDATING
Modified: head/UPDATING
===
Author: adrian
Date: Mon May 23 03:51:15 2016
New Revision: 300446
URL: https://svnweb.freebsd.org/changeset/base/300446
Log:
[nvram2env] fix nvram2env to scan all of memory, not 1/4th
The variable "size" stores number of words (4bytes). But the loop over
memory uses size as number of byt
Author: adrian
Date: Mon May 23 03:47:44 2016
New Revision: 300445
URL: https://svnweb.freebsd.org/changeset/base/300445
Log:
[bhnd] Add support for querying the attachment type of the bhnd bus.
This adds a BHND_BUS_GET_ATTACH_TYPE(); the primary use-case is to let
chipc make a coarse-gra
Author: adrian
Date: Mon May 23 03:46:36 2016
New Revision: 300444
URL: https://svnweb.freebsd.org/changeset/base/300444
Log:
[ixl] fix build for RSS.
Untested.
Modified:
head/sys/dev/ixl/if_ixl.c
Modified: head/sys/dev/ixl/if_ixl.c
==
Author: adrian
Date: Mon May 23 03:29:43 2016
New Revision: 300443
URL: https://svnweb.freebsd.org/changeset/base/300443
Log:
[bhnd] Fix DEFINE_CLASS_(2|3) multiple inheritance support.
This diff updates DEFINE_CLASS_2/_3 to support the specification of class
name separately from the clas
Author: truckman
Date: Mon May 23 01:01:23 2016
New Revision: 300442
URL: https://svnweb.freebsd.org/changeset/base/300442
Log:
Hopefully fix Coverity CID 1008328 (Out-of-bounds write) in /bin/sh.
Replace the magic constant 127 in the loop interation count with
"PROMPTLEN - 1".
getho
Author: kib
Date: Mon May 23 00:58:52 2016
New Revision: 300441
URL: https://svnweb.freebsd.org/changeset/base/300441
Log:
MFC r300305, r300332:
Check for overflow and return EINVAL if detected. Use unsigned index.
Modified:
stable/10/sys/amd64/amd64/sys_machdep.c
stable/10/sys/i386/i386
Author: kib
Date: Sun May 22 23:28:23 2016
New Revision: 300440
URL: https://svnweb.freebsd.org/changeset/base/300440
Log:
Mark swap-related proc sysctls as not requiring Giant.
Reviewed by: alc (as part of larger patch)
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/vm/swap_
Author: kib
Date: Sun May 22 23:25:01 2016
New Revision: 300439
URL: https://svnweb.freebsd.org/changeset/base/300439
Log:
Replace hand-made exclusive lock, protecting against parallel
swapon/swapoff invocations, with sx.
Reviewed by: alc (as part of larger patch)
Sponsored by: The Fre
Author: ian
Date: Sun May 22 21:31:20 2016
New Revision: 300438
URL: https://svnweb.freebsd.org/changeset/base/300438
Log:
Restore the translation of armv6hf->arm when generating MACHINE_CPUARCH.
It turns out we need to leave this in place for a while so that people
running self-hosting armv
Author: rmacklem
Date: Sun May 22 20:44:11 2016
New Revision: 300437
URL: https://svnweb.freebsd.org/changeset/base/300437
Log:
MFC: r299242
Make "-S" a default option for mountd.
After a discussion on freebsd-fs@ there seemed to be a consensus that
the "-S" option for mountd should bec
Author: allanjude
Date: Sun May 22 20:31:52 2016
New Revision: 300436
URL: https://svnweb.freebsd.org/changeset/base/300436
Log:
bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOT
In this configuration, a separate bootpool is not required.
This allows ZFS Boot Environments
Author: pfg
Date: Sun May 22 20:17:55 2016
New Revision: 300435
URL: https://svnweb.freebsd.org/changeset/base/300435
Log:
gnugrep: Update the configuration.
The only effect is that it will use our native iconv(3).
Relnotes: yes
Modified:
head/gnu/usr.bin/grep/config.h
Modified
Author: avos
Date: Sun May 22 20:12:07 2016
New Revision: 300434
URL: https://svnweb.freebsd.org/changeset/base/300434
Log:
urtwn: cleanup some unused code in urtwn_tx_data().
- Drop unused 'subtype' variable.
- Remove obsolete comment (hardware crypto support was added in r292175).
Modi
RTL8192CUS
RTL8188CUS of course.
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: avos
Date: Sun May 22 19:43:40 2016
New Revision: 300433
URL: https://svnweb.freebsd.org/changeset/base/300433
Log:
urtwn: setup per-frame retry limit.
Override global retry limit (which is set in R92C_RL) via per-frame
TX descriptor field. Obsoletes D3840 (should work better with
Author: kib
Date: Sun May 22 19:25:53 2016
New Revision: 300432
URL: https://svnweb.freebsd.org/changeset/base/300432
Log:
Remove false claim. Giant is dropped by mi_startup() before passing
the control to swapper.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
On May 22, 2016 13:51, "Ravi Pokala" wrote:
>
> -Original Message-
> From: on behalf of Luiz Otavio O Souza
> Date: 2016-05-22, Sunday at 06:58
> To: , , <
svn-src-h...@freebsd.org>
> Subject: svn commit: r300421 - in head/sys: arm/allwinner
arm/broadcom/bcm2835 arm/freescale/imx arm/mv
Author: dchagin
Date: Sun May 22 19:08:29 2016
New Revision: 300431
URL: https://svnweb.freebsd.org/changeset/base/300431
Log:
Convert proto family in both directions. The linux and native values for
local and inet are identical, but for inet6 values differ.
PR: 155040
Reporte
Author: ngie
Date: Sun May 22 19:06:38 2016
New Revision: 300430
URL: https://svnweb.freebsd.org/changeset/base/300430
Log:
Wrap EXPAND(..) macro with a do-while(0) loop and put a single statement on
each line
As a positive side-effect, this eliminates the double semicolons reported by
Co
Author: dchagin
Date: Sun May 22 19:04:34 2016
New Revision: 300429
URL: https://svnweb.freebsd.org/changeset/base/300429
Log:
Remove a now unused global declaration of some sysentvec struct.
MFC after:2 week
Modified:
head/sys/sys/sysent.h
Modified: head/sys/sys/sysent.h
==
-Original Message-
From: on behalf of Luiz Otavio O Souza
Date: 2016-05-22, Sunday at 06:58
To: , ,
Subject: svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835
arm/freescale/imx arm/mv dev/acpi_support dev/acpica dev/amdtemp dev/coretemp
dev/iicbus powerpc/powermac
Author: ngie
Date: Sun May 22 18:20:45 2016
New Revision: 300428
URL: https://svnweb.freebsd.org/changeset/base/300428
Log:
Fix humanized decoding of struct stat with respect to .st_mtim
st_mtim was being incorrectly described as "stime=", not "mtime=". This was
introduced with the origin
Author: kib
Date: Sun May 22 18:16:25 2016
New Revision: 300427
URL: https://svnweb.freebsd.org/changeset/base/300427
Log:
Remove drop/reacquire of Giant around geom calls for cd9660 and udf.
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/fs/cd9660/cd9660
Author: allanjude
Date: Sun May 22 16:24:21 2016
New Revision: 300425
URL: https://svnweb.freebsd.org/changeset/base/300425
Log:
Fix default ZFS layout to work better by default with sysutils/beadm
The root file system is mounted early via vfs.root.mountfrom.
The canmount=noauto property
Author: ache
Date: Sun May 22 15:22:45 2016
New Revision: 300424
URL: https://svnweb.freebsd.org/changeset/base/300424
Log:
Improve panic message by specifying on which cpu it really is.
Modified:
head/sys/dev/cpuctl/cpuctl.c
Modified: head/sys/dev/cpuctl/cpuctl.c
===
Author: kevlo
Date: Sun May 22 14:31:20 2016
New Revision: 300423
URL: https://svnweb.freebsd.org/changeset/base/300423
Log:
arc4random() returns 0 to (2**32)−1, use an alternative to initialize
i_gen if it's zero rather than a divide by 2.
With inputs from delphij, mckusick, rmacklem
Author: pfg
Date: Sun May 22 14:13:20 2016
New Revision: 300422
URL: https://svnweb.freebsd.org/changeset/base/300422
Log:
ndis(4): Undo unneeded workarounds in ndis' rand().
- Revert the change for seed(0) in r300384. I misunderstood the standard
and while our random() implementation in
Author: loos
Date: Sun May 22 13:58:32 2016
New Revision: 300421
URL: https://svnweb.freebsd.org/changeset/base/300421
Log:
Fix the deciKelvin to Celsius conversion in kernel.
After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as 0C
reference and as result, the temperature
Author: jilles
Date: Sun May 22 13:32:45 2016
New Revision: 300420
URL: https://svnweb.freebsd.org/changeset/base/300420
Log:
vfork(2): Mention some risks of calling vfork() from application code.
MFC after:1 week
Modified:
head/lib/libc/sys/vfork.2
Modified: head/lib/libc/sys/vfork
Author: bapt
Date: Sun May 22 13:10:48 2016
New Revision: 300419
URL: https://svnweb.freebsd.org/changeset/base/300419
Log:
Fix typo introduced by me (not the submitter) when fixing typos
Modified:
head/sys/kern/uipc_socket.c
Modified: head/sys/kern/uipc_socket.c
Author: bapt
Date: Sun May 22 13:04:45 2016
New Revision: 300418
URL: https://svnweb.freebsd.org/changeset/base/300418
Log:
Fix typos in the comments
Submitted by: cipherwraith...@gmail.com (via github)
Modified:
head/sys/kern/uipc_socket.c
Modified: head/sys/kern/uipc_socket.c
Author: bapt
Date: Sun May 22 12:59:07 2016
New Revision: 300417
URL: https://svnweb.freebsd.org/changeset/base/300417
Log:
Fix typo in comments for the zfsboot script
Submitted by: Colby Swandale (via github)
Modified:
head/usr.sbin/bsdinstall/scripts/zfsboot
Modified: head/usr.sbin/b
Author: dchagin
Date: Sun May 22 12:49:08 2016
New Revision: 300416
URL: https://svnweb.freebsd.org/changeset/base/300416
Log:
Add a missing errno translation for SO_ERROR optname.
PR: 135458
Reported by: Stefan Schmidt @ stadtbuch.de
MFC after:1 week
Modified:
head/sy
Author: dchagin
Date: Sun May 22 12:46:34 2016
New Revision: 300415
URL: https://svnweb.freebsd.org/changeset/base/300415
Log:
Add macro to convert errno and use it when appropriate.
MFC after:1 week
Modified:
head/sys/amd64/amd64/vm_machdep.c
head/sys/i386/i386/vm_machdep.c
head
Author: dchagin
Date: Sun May 22 12:37:40 2016
New Revision: 300414
URL: https://svnweb.freebsd.org/changeset/base/300414
Log:
For future use move futex timeout code to the separate function and
switch to the high resolution sbintime_t.
MFC after:1 week
Modified:
head/sys/compat/li
Author: dchagin
Date: Sun May 22 12:35:50 2016
New Revision: 300413
URL: https://svnweb.freebsd.org/changeset/base/300413
Log:
Due to lack the priority propagation feature replace sx by mutex. WIth this
commit NPTL tests are ends in 1 minute faster.
MFC after:1 week
Modified:
head/
Author: dchagin
Date: Sun May 22 12:28:55 2016
New Revision: 300412
URL: https://svnweb.freebsd.org/changeset/base/300412
Log:
Add my copyright as I rewrote most of the futex code. Minor style(9) cleanup
while here.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_futex.c
Mo
Author: dchagin
Date: Sun May 22 12:26:03 2016
New Revision: 300411
URL: https://svnweb.freebsd.org/changeset/base/300411
Log:
Minor style(9) cleanup, no functional changes.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_file.c
Modified: head/sys/compat/linux/linux_file.c
==
Author: skra
Date: Sun May 22 11:42:34 2016
New Revision: 300410
URL: https://svnweb.freebsd.org/changeset/base/300410
Log:
INTRNG - implement pic_post_filter method. This method is fundamental
one and must always be implemented for a PIC. There is no default for
it intentionally.
Modified:
Author: skra
Date: Sun May 22 09:59:43 2016
New Revision: 300409
URL: https://svnweb.freebsd.org/changeset/base/300409
Log:
Fix some format strings to make them either correct or uniform.
No functional change.
Modified:
head/sys/arm/freescale/imx/imx_gpio.c
Modified: head/sys/arm/freescale
Author: andrew
Date: Sun May 22 08:20:30 2016
New Revision: 300406
URL: https://svnweb.freebsd.org/changeset/base/300406
Log:
Stop dereferencing _end in crt1.c. This was only needed for brk/sbrk so is
no longer needed.
Sponsored by: ABT Systems Ltd
Modified:
head/lib/csu/aarch64/crt1.c
On Sat, May 21, 2016 at 06:29:50PM -0700, Chris Torek wrote:
> On the other hand, since most C compilers don't bother to trap
> signed integer overflow, but some can, signed integers may behave
> just as badly. :-)
>
> Overall I personally find the rules simpler for unsigned integers
> (occasiona
72 matches
Mail list logo