Author: adrian
Date: Sun Mar 19 05:00:14 2017
New Revision: 315531
URL: https://svnweb.freebsd.org/changeset/base/315531
Log:
[ath] prepare for "correct" group (bcast/mcast) address frame handling and
software/hardware queue TID mapping.
When I initially did this 11n TX work in days of yon
On Sat, 18 Mar 2017, Dmitry Chagin wrote:
Log:
Check for negative nanoseconds.
Linux do that in timespec_valid().
This uses the unsigned hack to further obfuscate the code. No check is
necessary on any supported arch, since there are no representability
problems and FreeBSD checks for inval
Author: ian
Date: Sun Mar 19 04:03:39 2017
New Revision: 315530
URL: https://svnweb.freebsd.org/changeset/base/315530
Log:
Remove unreferenced global function imx_gpt_get_timerfreq() and do some
cleanups enabled by that:
- The only thing left in imx_gptvar.h was the softc, which IMO neve
Author: kp
Date: Sun Mar 19 03:06:09 2017
New Revision: 315529
URL: https://svnweb.freebsd.org/changeset/base/315529
Log:
pf: Fix rule evaluation after inet6 route-to
In pf_route6() we re-run the ruleset with PF_FWD if the packet goes out
of a different interface. pf_test6() needs to know
On Sun, 19 Mar 2017, Ed Maste wrote:
Log:
use INT3 instead of NOP for x86 binary padding
We should never end up executing the inter-function padding, so we
are better off faulting than silently carrying on to whatever function
happens to be next.
Note that LLD will soon do this by default
Author: bjk (doc committer)
Date: Sun Mar 19 01:24:18 2017
New Revision: 315528
URL: https://svnweb.freebsd.org/changeset/base/315528
Log:
Tidy up mdoc formatting for "etc.)" at end of line
man(1) has some logic to use two spaces after a full stop, which is
useful for spotting sentence br
Author: vangyzen
Date: Sun Mar 19 00:54:24 2017
New Revision: 315527
URL: https://svnweb.freebsd.org/changeset/base/315527
Log:
Regenerate syscall files for r315526
Sponsored by: Dell EMC
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.
Author: vangyzen
Date: Sun Mar 19 00:51:12 2017
New Revision: 315526
URL: https://svnweb.freebsd.org/changeset/base/315526
Log:
Add clock_nanosleep()
Add a clock_nanosleep() syscall, as specified by POSIX.
Make nanosleep() a wrapper around it.
Attach the clock_nanosleep test from Net
Author: jhb
Date: Sun Mar 19 00:36:29 2017
New Revision: 315525
URL: https://svnweb.freebsd.org/changeset/base/315525
Log:
Improve decoding of last arguments to ioctl() and sendto().
Decode the last argument to ioctl() as a pointer rather than an int.
Eventually this could use 'int' for t
Author: jhb
Date: Sun Mar 19 00:31:21 2017
New Revision: 315524
URL: https://svnweb.freebsd.org/changeset/base/315524
Log:
Decode arguments to madvise().
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscall.h
On 18 March 2017 at 20:25, Ian Lepore wrote:
>
> I have always wondered why the arm ldscript pads with 0x90. I don't
> know if I feel any better now, knowing that it's because that's an x86
> nop instruction. :)
Heh!
We used to pad the amd64, i386, and arm64 EFI loaders with
0x003001007
Author: jhb
Date: Sun Mar 19 00:27:07 2017
New Revision: 315523
URL: https://svnweb.freebsd.org/changeset/base/315523
Log:
Add a Sizet type for 'size_t' values and use it instead of Int.
Various size_t arguments were previously decoded as Int values instead
which would have truncated valu
On Sun, 2017-03-19 at 00:22 +, Ed Maste wrote:
> Author: emaste
> Date: Sun Mar 19 00:22:13 2017
> New Revision: 315522
> URL: https://svnweb.freebsd.org/changeset/base/315522
>
> Log:
> use INT3 instead of NOP for x86 binary padding
>
> We should never end up executing the inter-functi
Author: emaste
Date: Sun Mar 19 00:22:13 2017
New Revision: 315522
URL: https://svnweb.freebsd.org/changeset/base/315522
Log:
use INT3 instead of NOP for x86 binary padding
We should never end up executing the inter-function padding, so we
are better off faulting than silently carrying on
Author: trasz
Date: Sat Mar 18 23:59:50 2017
New Revision: 315521
URL: https://svnweb.freebsd.org/changeset/base/315521
Log:
MFC r312622:
Add SCSI descriptors for USB Mass Storage.
Sponsored by: The FreeBSD Foundation
Modified:
stable/11/sys/cam/ctl/ctl.c
stable/11/sys/cam/ctl/ctl
Author: trasz
Date: Sat Mar 18 23:57:47 2017
New Revision: 315520
URL: https://svnweb.freebsd.org/changeset/base/315520
Log:
MFC r311283:
Don't release the cfiscsi session refcount too early. It wasn't
observed to fix any actual error, but it's the right thing to do
from the correctnes
Author: trasz
Date: Sat Mar 18 23:55:50 2017
New Revision: 315519
URL: https://svnweb.freebsd.org/changeset/base/315519
Log:
MFC r311284:
Fix bug that would result in a kernel crash in some cases involving
a symlink and an autofs mount request. The crash was caused by namei()
calling b
Author: alc
Date: Sat Mar 18 23:37:00 2017
New Revision: 315518
URL: https://svnweb.freebsd.org/changeset/base/315518
Log:
Avoid unnecessary calls to vm_map_protect() in elf_load_section().
Typically, when elf_load_section() unconditionally passed VM_PROT_ALL to
elf_map_insert(), it was n
Author: trasz
Date: Sat Mar 18 23:24:52 2017
New Revision: 315517
URL: https://svnweb.freebsd.org/changeset/base/315517
Log:
MFC r308339:
Value returned by taskqueue_enqueue_timeout(9) is not an error; don't treat
it as such.
Modified:
stable/11/sys/fs/autofs/autofs.c
Directory Propert
Author: truckman
Date: Sat Mar 18 23:00:13 2017
New Revision: 315516
URL: https://svnweb.freebsd.org/changeset/base/315516
Log:
Change several constants used by the PIE algorithm from unsigned to signed.
- PIE_MAX_PROB is compared to variable of int64_t and the type promotion
rules ca
Author: ae
Date: Sat Mar 18 22:19:23 2017
New Revision: 315515
URL: https://svnweb.freebsd.org/changeset/base/315515
Log:
Add a note about IPsec update to the UPDATING. This is direct commit.
Modified:
stable/11/UPDATING
Modified: stable/11/UPDATING
==
Author: ae
Date: Sat Mar 18 22:04:20 2017
New Revision: 315514
URL: https://svnweb.freebsd.org/changeset/base/315514
Log:
MFC r304572 (by bz):
Remove the kernel optoion for IPSEC_FILTERTUNNEL, which was deprecated
more than 7 years ago in favour of a sysctl in r192648.
MFC r305122:
Author: dchagin
Date: Sat Mar 18 21:44:42 2017
New Revision: 315513
URL: https://svnweb.freebsd.org/changeset/base/315513
Log:
Tag tcsh 6.20.00 release.
Added:
vendor/tcsh/6.20.00/
- copied from r315512, vendor/tcsh/dist/
___
svn-src-all@freebs
Author: dchagin
Date: Sat Mar 18 21:41:53 2017
New Revision: 315512
URL: https://svnweb.freebsd.org/changeset/base/315512
Log:
Import of tcsh-6.20.00
Added:
vendor/tcsh/dist/Makefile.man2html (contents, props changed)
vendor/tcsh/dist/aclocal.m4
vendor/tcsh/dist/configure.ac
vendor/tc
Author: jilles
Date: Sat Mar 18 20:41:07 2017
New Revision: 315511
URL: https://svnweb.freebsd.org/changeset/base/315511
Log:
sh: Remove unused function declaration for arith_lex_reset().
Reported by: Robert Elz
Modified:
head/bin/sh/arith.h
Modified: head/bin/sh/arith.h
==
Author: vangyzen
Date: Sat Mar 18 20:16:23 2017
New Revision: 315510
URL: https://svnweb.freebsd.org/changeset/base/315510
Log:
nanosleep: plug a kernel memory disclosure
nanosleep() updates rmtp on EINVAL. In that case, kern_nanosleep()
has not updated rmt, so sys_nanosleep() updates th
Author: jhb
Date: Sat Mar 18 19:59:21 2017
New Revision: 315509
URL: https://svnweb.freebsd.org/changeset/base/315509
Log:
Decode arguments passed to kldsym() and kldunloadf().
This does not currently decode the kld_sym_lookup structure passed to
kldsym().
Modified:
head/usr.bin/truss/
Author: ian
Date: Sat Mar 18 19:54:58 2017
New Revision: 315508
URL: https://svnweb.freebsd.org/changeset/base/315508
Log:
Remove hardcoded bootverbose=1; imx53 systems boot using loader(8) and
users can set verbose if they want to.
Modified:
head/sys/arm/freescale/imx/imx53_machdep.c
Modi
Author: mav
Date: Sat Mar 18 19:27:16 2017
New Revision: 315507
URL: https://svnweb.freebsd.org/changeset/base/315507
Log:
Reorganize RQSTYPE_NOTIFY handling for chips <= 23xx.
There were two copies of the code: one in generic code was half-broken, and
another in platform code was never c
Author: dchagin
Date: Sat Mar 18 18:38:12 2017
New Revision: 315506
URL: https://svnweb.freebsd.org/changeset/base/315506
Log:
Glibc get_nprocs() and get_nprocs_conf() uses the sysfs cpu infrastructure
to get number of processors. Implement /sys/devices/system/cpu/.
MFC after:1 month
Author: dchagin
Date: Sat Mar 18 18:34:29 2017
New Revision: 315505
URL: https://svnweb.freebsd.org/changeset/base/315505
Log:
Implement getrandom() syscall.
Note. GRND_RANDOM option is not supported for now.
MFC after:1 month
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys
Author: jhb
Date: Sat Mar 18 18:31:45 2017
New Revision: 315504
URL: https://svnweb.freebsd.org/changeset/base/315504
Log:
Decode arguments passed to getfsstat().
Note that this does not yet decode the statfs structures returned by
getfsstat().
Modified:
head/usr.bin/truss/syscall.h
Author: dchagin
Date: Sat Mar 18 18:31:04 2017
New Revision: 315503
URL: https://svnweb.freebsd.org/changeset/base/315503
Log:
As noted by Roel Bouwman Linux allows a large buffer size than the
struct ucred size. Fix this.
PR: 102956
Reported by: Roel Bouwman
MFC after:
Author: jhb
Date: Sat Mar 18 18:26:56 2017
New Revision: 315502
URL: https://svnweb.freebsd.org/changeset/base/315502
Log:
Decode flock() operation.
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscall.h
=
Author: dchagin
Date: Sat Mar 18 18:23:30 2017
New Revision: 315501
URL: https://svnweb.freebsd.org/changeset/base/315501
Log:
To reduce code duplication move socket defines to the MI path.
MFC after:1 week
Modified:
head/sys/amd64/linux/linux.h
head/sys/amd64/linux32/linux.h
hea
Author: jhb
Date: Sat Mar 18 18:21:41 2017
New Revision: 315500
URL: https://svnweb.freebsd.org/changeset/base/315500
Log:
Decode file flags passed to *chflags*().
While here, decode arguments passed to fchflags() and chflagsat().
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/tru
Author: dchagin
Date: Sat Mar 18 18:19:31 2017
New Revision: 315499
URL: https://svnweb.freebsd.org/changeset/base/315499
Log:
Remove superflous break statment.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/linux_socket.c
===
Author: dchagin
Date: Sat Mar 18 18:14:17 2017
New Revision: 315498
URL: https://svnweb.freebsd.org/changeset/base/315498
Log:
Check for negative nanoseconds.
Linux do that in timespec_valid().
Reported by: vangyzen@
MFC after:1 week
Modified:
head/sys/compat/linux/linux_time.c
Author: jhb
Date: Sat Mar 18 18:12:09 2017
New Revision: 315497
URL: https://svnweb.freebsd.org/changeset/base/315497
Log:
Decode arguments passed to posix_fadvise().
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/truss/syscall.h
===
Author: jhb
Date: Sat Mar 18 18:10:02 2017
New Revision: 315496
URL: https://svnweb.freebsd.org/changeset/base/315496
Log:
Decode the arguments passed to cap_fcntls_get() and cap_fcntls_limit().
Modified:
head/usr.bin/truss/syscall.h
head/usr.bin/truss/syscalls.c
Modified: head/usr.bin/tru
Author: trasz
Date: Sat Mar 18 18:05:39 2017
New Revision: 315495
URL: https://svnweb.freebsd.org/changeset/base/315495
Log:
MFC r306161:
Small tweaks to the diskinfo(8) manual page, to make it more consistent
with others.
Modified:
stable/11/usr.sbin/diskinfo/diskinfo.8
Directory Prop
Author: trasz
Date: Sat Mar 18 18:01:30 2017
New Revision: 315494
URL: https://svnweb.freebsd.org/changeset/base/315494
Log:
MFC r306160:
Add "diskinfo -i", a simple aio-based IOPS benchmark.
Modified:
stable/11/usr.sbin/diskinfo/diskinfo.8
stable/11/usr.sbin/diskinfo/diskinfo.c
Modif
Author: trasz
Date: Sat Mar 18 17:59:43 2017
New Revision: 315493
URL: https://svnweb.freebsd.org/changeset/base/315493
Log:
MFC r306129:
Reduce code duplication by factoring out the delta_t() function.
No functional changes.
Modified:
stable/11/usr.sbin/diskinfo/diskinfo.c
Directory P
Author: trasz
Date: Sat Mar 18 17:58:41 2017
New Revision: 315492
URL: https://svnweb.freebsd.org/changeset/base/315492
Log:
MFC r306096:
Cosmetics - add missing newline.
Modified:
stable/11/usr.sbin/diskinfo/diskinfo.c
Directory Properties:
stable/11/ (props changed)
Modified: stab
Author: trasz
Date: Sat Mar 18 17:57:47 2017
New Revision: 315491
URL: https://svnweb.freebsd.org/changeset/base/315491
Log:
MFC r306094:
Make it possible for diskinfo(8) to operate on files. This is useful
with -t and upcoming -i.
Modified:
stable/11/usr.sbin/diskinfo/diskinfo.c
Dire
Author: ian
Date: Sat Mar 18 17:50:49 2017
New Revision: 315490
URL: https://svnweb.freebsd.org/changeset/base/315490
Log:
Make the imx5 clocks driver work with vendor-supplied dts (which does not
supply the addresses for the DPLL register blocks) by hard-coding the
addresses in the driver s
Author: mav
Date: Sat Mar 18 17:01:11 2017
New Revision: 315489
URL: https://svnweb.freebsd.org/changeset/base/315489
Log:
Move RQSTYPE_ABTS_RCVD parsing into generic code.
MFC after:2 weeks
Modified:
head/sys/dev/isp/isp_freebsd.c
head/sys/dev/isp/isp_target.c
Modified: head/sys/
Author: jilles
Date: Sat Mar 18 16:09:30 2017
New Revision: 315487
URL: https://svnweb.freebsd.org/changeset/base/315487
Log:
sh: Remove unused return value of subevalvar_misc().
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
===
Author: mav
Date: Sat Mar 18 16:09:36 2017
New Revision: 315488
URL: https://svnweb.freebsd.org/changeset/base/315488
Log:
Extend nt_lun to full 8 byte.
MFC after:2 weeks
Modified:
head/sys/dev/isp/isp_freebsd.c
head/sys/dev/isp/isp_target.c
head/sys/dev/isp/isp_target.h
Modifie
Author: jilles
Date: Sat Mar 18 16:07:28 2017
New Revision: 315486
URL: https://svnweb.freebsd.org/changeset/base/315486
Log:
MFC r315005: sh: Fix executing wrong command with ${x#$(y)}$(z).
The parsed internal representation of words consists of a byte string with a
list of nodes (comman
Author: mav
Date: Sat Mar 18 15:42:22 2017
New Revision: 315485
URL: https://svnweb.freebsd.org/changeset/base/315485
Log:
Remove dead remnants of SPI target.
MFC after:2 weeks
Modified:
head/sys/dev/isp/isp.c
head/sys/dev/isp/isp_library.c
head/sys/dev/isp/isp_library.h
head/s
Author: badger
Date: Sat Mar 18 15:25:51 2017
New Revision: 315484
URL: https://svnweb.freebsd.org/changeset/base/315484
Log:
ptrace_test: eliminate assumption about thread scheduling
A couple of the ptrace tests make assumptions about which thread in a
multithreaded process will run afte
Author: kevlo
Date: Sat Mar 18 13:58:25 2017
New Revision: 315483
URL: https://svnweb.freebsd.org/changeset/base/315483
Log:
MFC r315294:
Fix unreachable code in wi_pci_resume().
PR: 217784
Submitted by: Svyatoslav
Found by: PVS-Studio
Modified:
stable/11/sys/dev/wi/if_wi_pc
Author: mav
Date: Sat Mar 18 13:42:08 2017
New Revision: 315482
URL: https://svnweb.freebsd.org/changeset/base/315482
Log:
Use isp_target_put_entry() in places where it can be.
This unifies the code and removes some duplication.
MFC after:2 weeks
Modified:
head/sys/dev/isp/isp_f
Author: mmokhi (ports committer)
Date: Sat Mar 18 12:39:24 2017
New Revision: 315481
URL: https://svnweb.freebsd.org/changeset/base/315481
Log:
MFC r314996:
Fix NULL pointer dereference and panic with shm file pread/pwrite.
PR: 217429
Approved by: dchagin
Modified:
stable/
Author: bde
Date: Sat Mar 18 11:13:54 2017
New Revision: 315480
URL: https://svnweb.freebsd.org/changeset/base/315480
Log:
Fix bright colors for syscons, and make them work for the first time
for vt. Restore syscons' rendering of background (bg) brightness as
foreground (fg) blinking and vi
Author: ae
Date: Sat Mar 18 10:48:37 2017
New Revision: 315479
URL: https://svnweb.freebsd.org/changeset/base/315479
Log:
MFC r315050:
Fix the L2 address printed in the "arp: %s moved from %*D" message.
In the r292978 struct llentry was changed and the ll_addr field become
the poi
Author: mav
Date: Sat Mar 18 10:34:29 2017
New Revision: 315478
URL: https://svnweb.freebsd.org/changeset/base/315478
Log:
Do some notify acks cleanup.
ISPASYNC_TARGET_NOTIFY_ACK makes no sense without argument.
MFC after:2 weeks
Modified:
head/sys/dev/isp/isp_freebsd.c
head/s
Author: bde
Date: Sat Mar 18 07:01:18 2017
New Revision: 315477
URL: https://svnweb.freebsd.org/changeset/base/315477
Log:
Fix right shifts on arches with db_expr_t larger than u_int (LP64 arches
in practice).
db_expr_t is a signed type, but right shifts are fudged to evaluate
them in a
59 matches
Mail list logo