Author: edwin
Date: Thu Oct 23 06:11:16 2014
New Revision: 273518
URL: https://svnweb.freebsd.org/changeset/base/273518
Log:
Upgrade to 2014i
Lots of historical data
Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18
Pacific/Bougainville will go from UTC+10 to UTC+11.
Author: edwin
Date: Thu Oct 23 06:13:42 2014
New Revision: 273519
URL: https://svnweb.freebsd.org/changeset/base/273519
Log:
Tag of tzdata2014i sources
Added:
vendor/tzdata/tzdata2014i/
- copied from r273518, vendor/tzdata/dist/
___
Author: ngie
Date: Thu Oct 23 06:18:28 2014
New Revision: 273520
URL: https://svnweb.freebsd.org/changeset/base/273520
Log:
Port t_pipe2.c to FreeBSD
- Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have
O_NOSIGPIPE).
- Convert fcntl(n, F_CLOSEM) to closefrom(n).
-
Author: ngie
Date: Thu Oct 23 06:21:10 2014
New Revision: 273521
URL: https://svnweb.freebsd.org/changeset/base/273521
Log:
Convert fcntl(n, F_CLOSEM) to closefrom(n)
Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Thu Oct 23 06:24:36 2014
New Revision: 273522
URL: https://svnweb.freebsd.org/changeset/base/273522
Log:
- Mark unused parameters __unused in handler
- Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only
be valid on NetBSD
In collaboration
Author: ngie
Date: Thu Oct 23 06:25:52 2014
New Revision: 273523
URL: https://svnweb.freebsd.org/changeset/base/273523
Log:
Add limits.h #include for LINE_MAX
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_link.c
Modified:
Author: ngie
Date: Thu Oct 23 06:35:19 2014
New Revision: 273524
URL: https://svnweb.freebsd.org/changeset/base/273524
Log:
Add sys/socket.h #include for struct sockaddr_in
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_listen.c
Modified:
Author: ngie
Date: Thu Oct 23 06:42:53 2014
New Revision: 273525
URL: https://svnweb.freebsd.org/changeset/base/273525
Log:
Port t_mmap.c to FreeBSD
- Add needed headers for the testcases
- Omit mmap_block on non-NetBSD OSes
- Use security.bsd.map_at_zero instead of vm.user_va0_disable
Author: ngie
Date: Thu Oct 23 07:05:14 2014
New Revision: 273526
URL: https://svnweb.freebsd.org/changeset/base/273526
Log:
Omit the pollts testcases on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_poll.c
Modified:
Author: ngie
Date: Thu Oct 23 07:07:35 2014
New Revision: 273527
URL: https://svnweb.freebsd.org/changeset/base/273527
Log:
Omit all of the testcases as revoke(2) is only implemented on devfs(5)
Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Thu Oct 23 07:11:58 2014
New Revision: 273528
URL: https://svnweb.freebsd.org/changeset/base/273528
Log:
Mark signo __unused in handler(..)
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c
Modified:
Author: ngie
Date: Thu Oct 23 07:20:35 2014
New Revision: 273529
URL: https://svnweb.freebsd.org/changeset/base/273529
Log:
- Omit the poll testcases on FreeBSD (they require pollts)
- Add necessary headers for the testcases
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Thu Oct 23 07:22:18 2014
New Revision: 273530
URL: https://svnweb.freebsd.org/changeset/base/273530
Log:
Add limits.h #include for INT_MAX
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
Modified:
Author: mav
Date: Thu Oct 23 07:36:33 2014
New Revision: 273531
URL: https://svnweb.freebsd.org/changeset/base/273531
Log:
MFC r273163: Implement more functional CTL debug logging.
Setting bits in kern.cam.ctl.debug allows to log errors, commands and some
commands data respectively.
Author: mav
Date: Thu Oct 23 07:37:48 2014
New Revision: 273532
URL: https://svnweb.freebsd.org/changeset/base/273532
Log:
MFC r273259:
Make VPD 80h (Serial Number) transfer length match serial number length.
Modified:
stable/10/sys/cam/ctl/ctl.c
Directory Properties:
stable/10/ (props
Author: ngie
Date: Thu Oct 23 07:54:46 2014
New Revision: 273533
URL: https://svnweb.freebsd.org/changeset/base/273533
Log:
Use atf_srcdir/truncate_test.root_owned instead of /usr/bin/fpr as fpr does
not exist on FreeBSD
truncate_test.root_owned will be generated at build time and owned
Author: ngie
Date: Thu Oct 23 07:59:59 2014
New Revision: 273534
URL: https://svnweb.freebsd.org/changeset/base/273534
Log:
- Mark sig/signo __unused
- Do not provide a relative path via #include h_macros.h
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: ngie
Date: Thu Oct 23 08:05:03 2014
New Revision: 273535
URL: https://svnweb.freebsd.org/changeset/base/273535
Log:
- Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al)
- Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is
int64_t
on FreeBSD)
In
Author: ngie
Date: Thu Oct 23 08:05:47 2014
New Revision: 273536
URL: https://svnweb.freebsd.org/changeset/base/273536
Log:
Add limits.h #include for SSIZE_MAX
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c
Modified:
Author: ngie
Date: Thu Oct 23 08:06:34 2014
New Revision: 273537
URL: https://svnweb.freebsd.org/changeset/base/273537
Log:
Add limits.h #include for SSIZE_MAX
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_msgrcv.c
Modified:
Author: ngie
Date: Thu Oct 23 08:12:31 2014
New Revision: 273538
URL: https://svnweb.freebsd.org/changeset/base/273538
Log:
Fix a typo (__FreeBSD__ - __NetBSD__ when omitting setrlimit_nthr)
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c
Modified:
Author: ngie
Date: Thu Oct 23 08:13:07 2014
New Revision: 273539
URL: https://svnweb.freebsd.org/changeset/base/273539
Log:
Mark signum __unused
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_select.c
Modified:
Author: ngie
Date: Thu Oct 23 08:29:09 2014
New Revision: 273540
URL: https://svnweb.freebsd.org/changeset/base/273540
Log:
Omit the mprotect_exec testcase on FreeBSD
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c
Modified:
Author: melifaro
Date: Thu Oct 23 11:01:49 2014
New Revision: 273541
URL: https://svnweb.freebsd.org/changeset/base/273541
Log:
Show SFP+/QSFP memory map dump on higher verbose levels.
Sponsored by: Yandex LLC
MFC after:1 week
Modified:
head/sbin/ifconfig/sfp.c
Modified:
Author: trasz
Date: Thu Oct 23 12:02:27 2014
New Revision: 273543
URL: https://svnweb.freebsd.org/changeset/base/273543
Log:
Clean up (refactor) discovery a little; no functional changes.
MFC after:1 month
Sponsored by: The FreeBSD Foundation
Modified:
Author: dumbbell
Date: Thu Oct 23 12:38:05 2014
New Revision: 273544
URL: https://svnweb.freebsd.org/changeset/base/273544
Log:
vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font
To restore the default font using vidcontrol(1), use the -f flag
without an argument:
Hi!
The following change triggers a kernel trap 12 when env is NULL:
@@ -260,8 +262,10 @@ void
freeenv(char *env)
{
- if (dynamic_kenv)
+ if (dynamic_kenv) {
+ memset(env, 0, strlen(env));
free(env, M_KENV);
+ }
}
This happens very early in
Author: dumbbell
Date: Thu Oct 23 13:32:01 2014
New Revision: 273545
URL: https://svnweb.freebsd.org/changeset/base/273545
Log:
vt(4): Refuse to load a font if hw.vga.textmode is selected
Before, the font was loaded and the window size recalculated, giving an
unusable terminal, even if
Author: loos
Date: Thu Oct 23 13:47:19 2014
New Revision: 273546
URL: https://svnweb.freebsd.org/changeset/base/273546
Log:
Fix a bug where some DTS layouts could cause the premature ending of the
search (i.e. without returning any result) and you would end up with a
random MAC address.
Author: ae
Date: Thu Oct 23 14:29:52 2014
New Revision: 273547
URL: https://svnweb.freebsd.org/changeset/base/273547
Log:
Move if_get_counter initialization from if_attach into if_alloc.
Also, initialize all counters before ifnet will become available in the
system.
This fixes possible
Author: emax
Date: Thu Oct 23 15:16:40 2014
New Revision: 273548
URL: https://svnweb.freebsd.org/changeset/base/273548
Log:
Change the code to use the openpty(3) API which uses the pts(4) driver
instead of the pty(4) driver.
PR: 184597
Submitted by: tobias.rehbein
MFC
Author: mjg
Date: Thu Oct 23 15:35:47 2014
New Revision: 273549
URL: https://svnweb.freebsd.org/changeset/base/273549
Log:
Avoid taking the lock in selfdfree when not needed.
Modified:
head/sys/kern/sys_generic.c
Modified: head/sys/kern/sys_generic.c
Author: jmg
Date: Thu Oct 23 17:24:50 2014
New Revision: 273550
URL: https://svnweb.freebsd.org/changeset/base/273550
Log:
minor updates to make it more explicit that when using fpu_kern_thread,
you don't need to use fpu_kern_enter/_leave...
Reviewed by: kib
Modified:
Author: rpaulo
Date: Thu Oct 23 18:03:27 2014
New Revision: 273551
URL: https://svnweb.freebsd.org/changeset/base/273551
Log:
puc(4): add an entry for the Oxford Semiconductor OXPCIe952 1S1P card.
Submitted by: Alex Burlyga alex.burlyga.ietf at gmail.com
MFC after:1 week
Modified:
Author: delphij
Date: Thu Oct 23 18:23:50 2014
New Revision: 273552
URL: https://svnweb.freebsd.org/changeset/base/273552
Log:
Test if 'env' is NULL before doing memset() and strlen(),
the caller may pass NULL to freeenv().
Modified:
head/sys/kern/kern_environment.c
Modified:
On Tuesday, October 21, 2014 9:37:33 pm Marcel Moolenaar wrote:
Author: marcel
Date: Wed Oct 22 01:37:32 2014
New Revision: 273446
URL: https://svnweb.freebsd.org/changeset/base/273446
Log:
Virtual machines can easily have more than 16 option ROMs and
when that happens, we happily
On Thursday, October 23, 2014 11:35:47 am Mateusz Guzik wrote:
Author: mjg
Date: Thu Oct 23 15:35:47 2014
New Revision: 273549
URL: https://svnweb.freebsd.org/changeset/base/273549
Log:
Avoid taking the lock in selfdfree when not needed.
Modified:
head/sys/kern/sys_generic.c
On Tuesday, October 21, 2014 3:05:45 pm Mateusz Guzik wrote:
Author: mjg
Date: Tue Oct 21 19:05:44 2014
New Revision: 273401
URL: https://svnweb.freebsd.org/changeset/base/273401
Log:
Implement shared locking for sysctl.
A bit more detail in this message was warranted. We had some
Dnia 23 paź 2014 o godz. 20:38 John Baldwin j...@freebsd.org napisał(a):
On Thursday, October 23, 2014 11:35:47 am Mateusz Guzik wrote:
Author: mjg
Date: Thu Oct 23 15:35:47 2014
New Revision: 273549
URL: https://svnweb.freebsd.org/changeset/base/273549
Log:
Avoid taking the lock in
Author: markj
Date: Thu Oct 23 18:48:43 2014
New Revision: 273553
URL: https://svnweb.freebsd.org/changeset/base/273553
Log:
MFC 272763:
If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.
PR: 194143
Modified:
Author: markj
Date: Thu Oct 23 18:50:44 2014
New Revision: 273554
URL: https://svnweb.freebsd.org/changeset/base/273554
Log:
MFC r272763:
If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.
PR: 194143
Modified:
Author: mjg
Date: Thu Oct 23 19:06:08 2014
New Revision: 273555
URL: https://svnweb.freebsd.org/changeset/base/273555
Log:
In selfdfree re-evaulate sf_si after takin the lock.
Otherwise we can race with doselwakeup.
This is a fixup to r273549
Reviewed by: jhb
Reported by:
Please back this out; it looks like the lock is protecting sf_si.
-adrian
On 23 October 2014 11:45, Edward Tomasz Napierała tr...@freebsd.org wrote:
Dnia 23 paź 2014 o godz. 20:38 John Baldwin j...@freebsd.org napisał(a):
On Thursday, October 23, 2014 11:35:47 am Mateusz Guzik wrote:
On 10/23/14 05:49, Jean-Sébastien Pédron wrote:
The following change triggers a kernel trap 12 when env is NULL:
@@ -260,8 +262,10 @@ void
freeenv(char *env)
{
-if (dynamic_kenv)
+if (dynamic_kenv) {
+memset(env, 0, strlen(env));
free(env, M_KENV);
Author: jhb
Date: Thu Oct 23 20:43:16 2014
New Revision: 273557
URL: https://svnweb.freebsd.org/changeset/base/273557
Log:
Use a static callout to drive key_timehandler() instead of timeout().
While here, make key_timehandler() private to key.c.
Submitted by: bz (2)
Tested by:bz
On Thursday, October 23, 2014 3:39:39 pm Adrian Chadd wrote:
Please back this out; it looks like the lock is protecting sf_si.
The followup fix should be fine. The lock does indeed protect sf_si, but the
value
can only transition from non-NULL to NULL at this point, so if it is == NULL
Author: alc
Date: Thu Oct 23 21:02:40 2014
New Revision: 273558
URL: https://svnweb.freebsd.org/changeset/base/273558
Log:
Under PAE ULONG is insufficient for representing the physical memory size.
Use QUAD
for hw.physmem so that a physical memory size greater than 4 GB can be
specified
Author: ian
Date: Thu Oct 23 22:21:22 2014
New Revision: 273561
URL: https://svnweb.freebsd.org/changeset/base/273561
Log:
Install a temporary workaround to avoid problems in fdt data with linux's
workaround for an imx6 chip erratum. Linux works around the bug with
changes in fdt data that
Author: marcel
Date: Thu Oct 23 22:30:14 2014
New Revision: 273562
URL: https://svnweb.freebsd.org/changeset/base/273562
Log:
Import libxo 0.1.4
Obtained from:https://github.com/Juniper/libxo
Sponsored by: Juniper Networks, Inc.
Added:
head/contrib/libxo/
Author: marcel
Date: Thu Oct 23 22:33:27 2014
New Revision: 273563
URL: https://svnweb.freebsd.org/changeset/base/273563
Log:
Add generated headers xoversion.h and xoconfig.h. These are the result
of configuring the source tree:
% automake --add-missing
% autoconf
%
Author: des
Date: Thu Oct 23 22:42:56 2014
New Revision: 273564
URL: https://svnweb.freebsd.org/changeset/base/273564
Log:
In all cases except CTLTYPE_STRING, penv is NULL here, so passing it
indiscriminately to printf() and freeenv() is incorrect. Add a NULL
check before freeenv(); as for
Xin LI delp...@freebsd.org writes:
Log:
Test if 'env' is NULL before doing memset() and strlen(),
the caller may pass NULL to freeenv().
If this is in response to a panic in early boot, the real bug is
elsewhere (see r273564). Adding a NULL check here only hides it.
DES
--
Dag-Erling
Author: loos
Date: Thu Oct 23 23:12:30 2014
New Revision: 273566
URL: https://svnweb.freebsd.org/changeset/base/273566
Log:
Provide a working GPIOBUS_IVAR() macro for FDT systems.
Modified:
head/sys/dev/gpio/gpiobusvar.h
Modified: head/sys/dev/gpio/gpiobusvar.h
Author: marcel
Date: Thu Oct 23 23:14:23 2014
New Revision: 273567
URL: https://svnweb.freebsd.org/changeset/base/273567
Log:
Hook libxo to the build.
Sponsored by: Juniper Networks, Inc.
Added:
head/lib/libxo/
head/lib/libxo/Makefile (contents, props changed)
Modified:
Author: marcel
Date: Thu Oct 23 23:16:21 2014
New Revision: 273568
URL: https://svnweb.freebsd.org/changeset/base/273568
Log:
Hook xo(1) to the build -- it's like echo, but uses libxo to
support emitting machine-readable output.
Sponsored by: Juniper Networks, Inc.
Added:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 10/23/14 15:47, Dag-Erling Smørgrav wrote:
Xin LI delp...@freebsd.org writes:
Log: Test if 'env' is NULL before doing memset() and strlen(),
the caller may pass NULL to freeenv().
If this is in response to a panic in early boot, the real
Author: loos
Date: Thu Oct 23 23:20:04 2014
New Revision: 273569
URL: https://svnweb.freebsd.org/changeset/base/273569
Log:
Move the duplicated code to a single function.
No functional changes.
Modified:
head/sys/dev/gpio/gpiobus.c
head/sys/dev/gpio/gpiobusvar.h
On Thu, Oct 23, 2014 at 04:19:05PM -0700, Xin Li wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 10/23/14 15:47, Dag-Erling Smørgrav wrote:
Xin LI delp...@freebsd.org writes:
Log: Test if 'env' is NULL before doing memset() and strlen(),
the caller may pass NULL to freeenv().
On 10/23/2014 6:21 PM, Mateusz Guzik wrote:
On Thu, Oct 23, 2014 at 04:19:05PM -0700, Xin Li wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 10/23/14 15:47, Dag-Erling Smørgrav wrote:
Xin LI delp...@freebsd.org writes:
Log: Test if 'env' is NULL before doing memset() and strlen(),
Author: jhibbits
Date: Fri Oct 24 03:33:01 2014
New Revision: 273570
URL: https://svnweb.freebsd.org/changeset/base/273570
Log:
Three updates to PowerPC FBT:
* Use a constant to define the number of stack frames in a probe exception.
* Only allow function symbols in powerpc64 ('.'
Author: jhibbits
Date: Fri Oct 24 03:34:21 2014
New Revision: 273571
URL: https://svnweb.freebsd.org/changeset/base/273571
Log:
Whitespace
X-MFC-with: r273570
MFC after:1 week
Modified:
head/sys/cddl/dev/fbt/powerpc/fbt_isa.c
Modified: head/sys/cddl/dev/fbt/powerpc/fbt_isa.c
Author: ngie
Date: Fri Oct 24 03:42:37 2014
New Revision: 273572
URL: https://svnweb.freebsd.org/changeset/base/273572
Log:
- Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is always
executed on a non-devfs filesystem
- Expect mknod(path, S_IFREG, 0) to fail on FreeBSD
Author: neel
Date: Fri Oct 24 03:48:54 2014
New Revision: 273573
URL: https://svnweb.freebsd.org/changeset/base/273573
Log:
MFC r273356:
Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT
misconfiguration VM-exit.
Modified:
stable/10/sys/amd64/amd64/pmap.c
Directory
Author: ngie
Date: Fri Oct 24 03:53:49 2014
New Revision: 273574
URL: https://svnweb.freebsd.org/changeset/base/273574
Log:
- Test for EINVAL requirement when passing an invalid flag in to msync(2)
- Expect ENOMEM instead of EFAULT when msync'ing a previously munmap'ed region
on FreeBSD
Author: mckusick
Date: Fri Oct 24 04:01:14 2014
New Revision: 273575
URL: https://svnweb.freebsd.org/changeset/base/273575
Log:
Fix formatting of vmstat (1) so that it looks cleaner on standard 80
column displays. In particular it wraps far less often.
Submitted by: Andy Kosela
Author: araujo (ports committer)
Date: Fri Oct 24 05:39:32 2014
New Revision: 273576
URL: https://svnweb.freebsd.org/changeset/base/273576
Log:
Fix a leaked Storage Variable.
Phabric: D981
Submitted by: myself
Reported by: Coverity
CID: 1248848
Reworked by: kevlo
On Fri, Oct 24, 2014 at 05:39:32AM +, Marcelo Araujo wrote:
Author: araujo (ports committer)
Date: Fri Oct 24 05:39:32 2014
New Revision: 273576
URL: https://svnweb.freebsd.org/changeset/base/273576
Log:
Fix a leaked Storage Variable.
int
uart_getenv(int devtype, struct
67 matches
Mail list logo