Author: imp
Date: Tue Feb 4 09:12:12 2020
New Revision: 357498
URL: https://svnweb.freebsd.org/changeset/base/357498
Log:
Bump __FreeBSD_version to 1300077 for r357455
sparc64 was removed, bump to reflect that.
Pointy-hat-to: imp
Noticed by: linimon@
Modified:
head/sys/sys/param.
Author: andrew
Date: Tue Feb 4 12:33:00 2020
New Revision: 357499
URL: https://svnweb.freebsd.org/changeset/base/357499
Log:
Print useful debug data on unhandled kernel fault on arm64
When panicing because of an unhandled data abort from the kernel it is
useful to know the register state
Author: tuexen
Date: Tue Feb 4 12:34:16 2020
New Revision: 357500
URL: https://svnweb.freebsd.org/changeset/base/357500
Log:
Improve numbering of debug information.
Submitted by: Taylor Brandstetter
MFC after:1 week
Modified:
head/sys/netinet/sctp_constants.h
hea
Author: tuexen
Date: Tue Feb 4 14:01:07 2020
New Revision: 357501
URL: https://svnweb.freebsd.org/changeset/base/357501
Log:
Remove unused timer.
Submitted by: Taylor Brandstetter
Modified:
head/sys/netinet/sctp_pcb.c
head/sys/netinet/sctp_structs.h
head/sys/netinet/sctputil
On Wed, 29 Jan 2020 at 17:38, Conrad Meyer wrote:
>
> Hi Li-Wen,
>
> Thanks for the report. I went ahead and reverted it in r357273.
Thanks Conrad. I agree that this should be cleaned up and I hope that
someone can find time to take another look at this.
_
Author: mav
Date: Tue Feb 4 15:53:51 2020
New Revision: 357502
URL: https://svnweb.freebsd.org/changeset/base/357502
Log:
Few microoptimizations to dbuf layer.
Move db_link into the same cache line as db_blkid and db_level.
It allows significantly reduce avl_add() time in dbuf_create() o
Author: trasz
Date: Tue Feb 4 16:01:06 2020
New Revision: 357503
URL: https://svnweb.freebsd.org/changeset/base/357503
Log:
Add missing linux(4) syscall entries. This fixes missing debug
messages for some of the unimplemented syscalls, in particular
the AIO-related ones.
MFC after:
Author: trasz
Date: Tue Feb 4 16:02:04 2020
New Revision: 357504
URL: https://svnweb.freebsd.org/changeset/base/357504
Log:
Regen after r357503.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall
Author: kevans
Date: Tue Feb 4 18:29:06 2020
New Revision: 357509
URL: https://svnweb.freebsd.org/changeset/base/357509
Log:
psm: release resources on attach failure
In exactly 1/3 cases we'll release resources on failure; touch up the other
two to do so as well.
Modified:
head/sys/de
Author: kevans
Date: Tue Feb 4 18:45:28 2020
New Revision: 357510
URL: https://svnweb.freebsd.org/changeset/base/357510
Log:
psm: use make_dev_s instead of make_dev
This most importantly reduces duplication, but it also removes any potential
race with usage of dev->si_drv1 since it's now
Author: kib
Date: Tue Feb 4 18:52:25 2020
New Revision: 357511
URL: https://svnweb.freebsd.org/changeset/base/357511
Log:
tmpfs_mount update: simplify, cache the value of VFS_TO_TMPFS() calculation.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/fs/tmpfs/
Author: kib
Date: Tue Feb 4 18:56:26 2020
New Revision: 357512
URL: https://svnweb.freebsd.org/changeset/base/357512
Log:
Add sys/systm.h to several places that use vm headers.
It is needed (but not enough) to use e.g. KASSERT() in inline functions.
Sponsored by: The FreeBSD Foundatio
Author: kib
Date: Tue Feb 4 19:03:37 2020
New Revision: 357514
URL: https://svnweb.freebsd.org/changeset/base/357514
Log:
Enable vm_object_mightbedirty() and vm_object_page_clean() for swap
objects backing tmpfs vnodes data.
The clean scan is limited to only remove write permissions from
Author: kib
Date: Tue Feb 4 19:05:58 2020
New Revision: 357515
URL: https://svnweb.freebsd.org/changeset/base/357515
Log:
tmpfs: add nomtime mount option,
which disables tracking mtime updates due to writes through the shared
mapped areas backed by tmpfs files. This removes periodic sca
On 2 Feb, Warner Losh wrote:
> Author: imp
> Date: Sun Feb 2 11:37:27 2020
> New Revision: 357407
> URL: https://svnweb.freebsd.org/changeset/base/357407
>
> Log:
> Per the firm plan, start to remove sparc64
>
> The sparc64 architecture is being removed from FreeBSD 13, starting
> now.
Kristof,
On Sat, Feb 01, 2020 at 07:26:48PM +, Kristof Provost wrote:
K> > K> -/* The below interface used only by epair(4). */
K> > K> +/* The below interfaces are used only by epair(4). */
K> > K> +void if_clone_addif(struct if_clone *, struct ifnet *);
K> > K> intif_clone_destroyif
Author: cy
Date: Tue Feb 4 19:45:51 2020
New Revision: 357522
URL: https://svnweb.freebsd.org/changeset/base/357522
Log:
Revert r357201: downgrade sqlite3 from sqlite3-3.31.0 (331) to
sqlite3-3.30.1 (3300100), as it causes svnlite segfaults on PowerPC,
resulting in corruption.
Repo
Author: markj
Date: Tue Feb 4 20:00:45 2020
New Revision: 357525
URL: https://svnweb.freebsd.org/changeset/base/357525
Log:
Correct the malloc tag used when freeing the temporary semop(2) buffer.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/sysv_se
Hi Dmitry,
This seems to trigger some panics via clock_gettime syscalls (native
and 32-bit, reported by Syzkaller):
panic: mutex process lock not owned at
/syzkaller/managers/main/kernel/sys/kern/kern_time.c:261
cpuid = 0
time = 1580841963
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace
Author: jeff
Date: Tue Feb 4 20:28:06 2020
New Revision: 357527
URL: https://svnweb.freebsd.org/changeset/base/357527
Log:
Use literal bucket sizes for smaller buckets rather than the rounding
system. Small bucket sizes already pack well even if they are an odd
number of words. This preve
Author: jeff
Date: Tue Feb 4 20:33:01 2020
New Revision: 357528
URL: https://svnweb.freebsd.org/changeset/base/357528
Log:
Add an explicit busy state for free pages. This improves behavior with
potential bugs that access freed pages as well as providing a path
towards lockless page lookup.
Author: bdragon
Date: Tue Feb 4 20:40:45 2020
New Revision: 357529
URL: https://svnweb.freebsd.org/changeset/base/357529
Log:
[PowerPC] Fix VSX context handling
In r356767, memcpy/memmove/bcopy optimizations were added to libc to
improve performance.
This exposed an existing kernel
Author: kib
Date: Tue Feb 4 21:02:08 2020
New Revision: 357530
URL: https://svnweb.freebsd.org/changeset/base/357530
Log:
Remove unneeded assert for curproc. Simplify.
Reported by: syzkaller by markj
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/kern_time.c
Modified:
ср, 5 февр. 2020 г. в 00:02, Konstantin Belousov :
> Author: kib
> Date: Tue Feb 4 21:02:08 2020
> New Revision: 357530
> URL: https://svnweb.freebsd.org/changeset/base/357530
>
> Log:
> Remove unneeded assert for curproc. Simplify.
>
> Reported by: syzkaller by markj
> Sponsored by: The
Author: markj
Date: Tue Feb 4 21:14:34 2020
New Revision: 357531
URL: https://svnweb.freebsd.org/changeset/base/357531
Log:
libdwarf: Remove unnecessary NULL checks.
All callers of _dwarf_add_expr() and _dwarf_expr_into_block() pass a
non-NULL expr pointer, and these functions assume tha
Author: markj
Date: Tue Feb 4 21:14:53 2020
New Revision: 357532
URL: https://svnweb.freebsd.org/changeset/base/357532
Log:
libdwarf: Fix a possible memory leak in dwarf_add_AT_location_expr().
CID: 1193364
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
Author: markj
Date: Tue Feb 4 21:15:11 2020
New Revision: 357533
URL: https://svnweb.freebsd.org/changeset/base/357533
Log:
libdwarf: Make an out-pointer of _dwarf_abbrev_add() mandatory.
All callers pass a non-NULL pointer, and otherwise it was possible to
leak memory if the abbrev was
Author: markj
Date: Tue Feb 4 21:15:52 2020
New Revision: 357535
URL: https://svnweb.freebsd.org/changeset/base/357535
Log:
libelftc: Fix memory leaks in the C++ demanglers.
CID: 1262518, 1262519, 1262520, 1262529
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modi
Author: markj
Date: Tue Feb 4 21:15:29 2020
New Revision: 357534
URL: https://svnweb.freebsd.org/changeset/base/357534
Log:
libdwarf: Fix a memory leak in _dwarf_frame_section_init().
If frame length validation failed we would leak memory.
CID: 1193366
MFC after:1 week
Author: markj
Date: Tue Feb 4 21:16:16 2020
New Revision: 357536
URL: https://svnweb.freebsd.org/changeset/base/357536
Log:
libelftc: Add a missing check for an error from vector_str_init().
While here consistently use the same spelling for such checks.
CID: 1376769
MFC aft
Author: markj
Date: Tue Feb 4 21:16:41 2020
New Revision: 357537
URL: https://svnweb.freebsd.org/changeset/base/357537
Log:
elfcopy: Handle multiple data descriptors properly.
The code clearly meant to resize the buffer in the case where a section
was backed by multiple data descriptors.
Author: markj
Date: Tue Feb 4 21:16:56 2020
New Revision: 357538
URL: https://svnweb.freebsd.org/changeset/base/357538
Log:
elfcopy: Avoid leaking dst's fd when we fail to copy a file.
We should really create the output file in the same directory as the
destination file so that rename()
Author: markj
Date: Tue Feb 4 21:17:59 2020
New Revision: 357539
URL: https://svnweb.freebsd.org/changeset/base/357539
Log:
size: Avoid returning a stack pointer from xlatetom().
The callers only check whether the returned pointer is non-NULL, so this
was harmless in practice, but change
Author: markj
Date: Tue Feb 4 21:18:16 2020
New Revision: 357540
URL: https://svnweb.freebsd.org/changeset/base/357540
Log:
readelf: Fix a double close of the input file.
The caller of dump_object() is responsible for opening the file, let it
be responsible for closing too.
CID:
Author: markj
Date: Tue Feb 4 21:18:37 2020
New Revision: 357541
URL: https://svnweb.freebsd.org/changeset/base/357541
Log:
readelf: Fix the check for an error from realloc().
Use err() instead of errx() while here, since realloc() sets errno.
CID: 1401326
MFC after:1 w
Author: markj
Date: Tue Feb 4 21:18:56 2020
New Revision: 357542
URL: https://svnweb.freebsd.org/changeset/base/357542
Log:
readelf: Don't leak memory when dwarf_get_fde_info_for_all_regs() fails.
CID: 1292493
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified
Author: kevans
Date: Tue Feb 4 21:27:39 2020
New Revision: 357543
URL: https://svnweb.freebsd.org/changeset/base/357543
Log:
Remove simple_httpd
simple_httpd was granted a reprieve from the picobsd removal based on having
some reported user; it turns out this user isn't actually using th
Author: kevans
Date: Tue Feb 4 21:28:04 2020
New Revision: 357544
URL: https://svnweb.freebsd.org/changeset/base/357544
Log:
src.conf(5): regen after r357543, HTTPD removal
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/man/man5/src.conf.5
)
+++ head/ObsoleteFiles.inc Tue Feb 4 21:43:39 2020(r357545)
@@ -36,6 +36,9 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20200204: simple_httpd removed
+OLD_FILES+=usr/sbin/simple_httpd
+
# 20200127: vpo removed
OLD_FILES+=usr/share/man/man4/imm.4.gz
OLD_FILES+=usr/share/man
Author: rlibby
Date: Tue Feb 4 22:39:58 2020
New Revision: 357546
URL: https://svnweb.freebsd.org/changeset/base/357546
Log:
uma: pcpu_page_free needs to startup_free pages from startup_alloc
After r357392, it is apparent that we do have some early-boot PCPU
zones. Make it so we can saf
Author: rlibby
Date: Tue Feb 4 22:40:11 2020
New Revision: 357547
URL: https://svnweb.freebsd.org/changeset/base/357547
Log:
uma: add UMA_ZONE_CONTIG, and a default contig_alloc
For now, copy the mbuf allocator.
Reviewed by: jeff, markj (previous version)
Sponsored by: Dell EMC Isi
Author: rlibby
Date: Tue Feb 4 22:40:23 2020
New Revision: 357548
URL: https://svnweb.freebsd.org/changeset/base/357548
Log:
uma: convert mbuf_jumbo_alloc to UMA_ZONE_CONTIG & tag others
Remove mbuf_jumbo_alloc and let large mbuf zones use the new uma default
contig allocator (a copy of
Author: rlibby
Date: Tue Feb 4 22:40:45 2020
New Revision: 357550
URL: https://svnweb.freebsd.org/changeset/base/357550
Log:
uma: multipage chicken switch
Add a switch to allow disabling multipage slabs, in order to facilitate
measuring memory usage and performance effects. The tunable
Author: rlibby
Date: Tue Feb 4 22:40:34 2020
New Revision: 357549
URL: https://svnweb.freebsd.org/changeset/base/357549
Log:
uma: grow slabs to enforce minimum memory efficiency
Memory efficiency can be poor with awkward item sizes (e.g. 1/2 or 1
page size + epsilon). In order to achiev
Author: np
Date: Tue Feb 4 23:55:21 2020
New Revision: 357551
URL: https://svnweb.freebsd.org/changeset/base/357551
Log:
cxgbe(4): Report accurate rx_buf_maxsize to netmap.
MFC after:2 weeks
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/t4_netmap.c
Modified: h
Author: np
Date: Wed Feb 5 00:08:58 2020
New Revision: 357552
URL: https://svnweb.freebsd.org/changeset/base/357552
Log:
cxgbe(4): Allow nm_black_hole and nm_cong_drop to be set at any time.
The cong_drop setting will apply to queues created after the setting is
changed and not to existi
Author: np
Date: Wed Feb 5 00:13:15 2020
New Revision: 357553
URL: https://svnweb.freebsd.org/changeset/base/357553
Log:
cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by
the hardware.
hw.cxgbe.nm_txcsum=1
MFC after:2 weeks
Sponsored by: Chelsio Communicatio
Author: mjg
Date: Wed Feb 5 00:20:26 2020
New Revision: 357554
URL: https://svnweb.freebsd.org/changeset/base/357554
Log:
fd: always nullify *fdp in fget* routines
Some consumers depend on the pointer being NULL if an error is returned.
The guarantee got broken in r357469.
Report
Author: kevans
Date: Wed Feb 5 02:30:46 2020
New Revision: 357556
URL: https://svnweb.freebsd.org/changeset/base/357556
Log:
O_SEARCH tests: plug trivial fd leak
Coverity correctly reports this as a resource leak. It's an admittedly minor
one, but plug it anyways.
This has been subm
Author: glebius
Date: Wed Feb 5 02:53:40 2020
New Revision: 357557
URL: https://svnweb.freebsd.org/changeset/base/357557
Log:
netgraph(4) callouts need to be executed in the network epoch.
Modified:
head/sys/netgraph/ng_base.c
Modified: head/sys/netgraph/ng_base.c
==
Author: glebius
Date: Wed Feb 5 03:06:29 2020
New Revision: 357558
URL: https://svnweb.freebsd.org/changeset/base/357558
Log:
Enter the network epoch when ng_socket sends data or control from user
land to the netgraph and potentially further down the network stack.
Modified:
head/sys/netgr
Author: glebius
Date: Wed Feb 5 03:07:20 2020
New Revision: 357559
URL: https://svnweb.freebsd.org/changeset/base/357559
Log:
I doubt anybody in the world uses ng_device, but its write method should
also enter the network epoch when sending data from user level to netgraph.
Modified:
head/
Author: kevans
Date: Wed Feb 5 04:17:14 2020
New Revision: 357560
URL: https://svnweb.freebsd.org/changeset/base/357560
Log:
login.conf(5): split MAIL env var out into a "mail" capability
This allows it to be easily suppressed in, e.g., the "daemon" class where it
will not be properly ex
Author: kevans
Date: Wed Feb 5 04:27:08 2020
New Revision: 357561
URL: https://svnweb.freebsd.org/changeset/base/357561
Log:
login.conf(5): set a default PATH for the daemon class
This is a sensible default used by, e.g., cron(8), and useful if one wanted
to honor it.
This is a part
Author: kevans
Date: Wed Feb 5 04:27:44 2020
New Revision: 357562
URL: https://svnweb.freebsd.org/changeset/base/357562
Log:
init(8): set environment variables from the "daemon" class as well
Specifically, when running /etc/rc. This allows one to specify via
login.conf(5) an environment
Author: kevans
Date: Wed Feb 5 04:29:55 2020
New Revision: 357563
URL: https://svnweb.freebsd.org/changeset/base/357563
Log:
env(1): grow -L user/class and -U user/class options
This allows one to set the environment of the specified user either from
login.conf alone (-L) or both login.c
Author: kevans
Date: Wed Feb 5 04:32:49 2020
New Revision: 357564
URL: https://svnweb.freebsd.org/changeset/base/357564
Log:
service(8): set the environment of the "daemon" class before invoking
As mentioned in r357562, this gives the user a single place to configure
environment variable
Author: kevans
Date: Wed Feb 5 04:35:54 2020
New Revision: 357565
URL: https://svnweb.freebsd.org/changeset/base/357565
Log:
cron(8): set the environment variables of the user and/or login class
Prior to processing environment variable set in the crontab file as those
should be of higher
Author: kevans
Date: Wed Feb 5 04:43:58 2020
New Revision: 357566
URL: https://svnweb.freebsd.org/changeset/base/357566
Log:
Add RELNOTES entry for various daemons pulling in environment variables
Modified:
head/RELNOTES
Modified: head/RELNOTES
==
On 4 Feb 2020, at 11:32, Gleb Smirnoff wrote:
On Sat, Feb 01, 2020 at 07:26:48PM +, Kristof Provost wrote:
K> > K> -/* The below interface used only by epair(4). */
K> > K> +/* The below interfaces are used only by epair(4). */
K> > K> +void if_clone_addif(struct if_clone *, struct ifnet *);
Author: tsoome
Date: Wed Feb 5 05:42:42 2020
New Revision: 357567
URL: https://svnweb.freebsd.org/changeset/base/357567
Log:
vdev_read_pad2: freeing wrong pointer
Shoud free previously allocated tmp buffer instead. Issue introduced in
r357497.
Reported by: rpokala
Modified:
head
61 matches
Mail list logo