Author: grehan
Date: Thu Nov 19 07:23:39 2020
New Revision: 367834
URL: https://svnweb.freebsd.org/changeset/base/367834
Log:
Advance RIP after userspace instruction decode
Add update to RIP after a userspace instruction decode (as is done for
the in-kernel counterpart of this case).
Author: mjg
Date: Thu Nov 19 06:30:25 2020
New Revision: 367833
URL: https://svnweb.freebsd.org/changeset/base/367833
Log:
pipe: allow for lockless pipe_stat
pipes get stated all thet time and this avoidably contributed to contention.
The pipe lock is only held to accomodate MAC and to
Author: des
Date: Thu Nov 19 05:46:59 2020
New Revision: 367832
URL: https://svnweb.freebsd.org/changeset/base/367832
Log:
Merge upstream r948: fix race condition in openpam_ttyconv(3).
Modified:
head/contrib/openpam/CREDITS
head/contrib/openpam/lib/libpam/openpam_ttyconv.c
Directory
On Wed, Nov 18, 2020 at 03:37:36PM -0800, John Baldwin wrote:
> On 11/18/20 2:16 PM, Mateusz Guzik wrote:
> > On 11/17/20, John Baldwin wrote:
> >> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
> > Interested parties can check the consumer (also seen in the diff) to
> > see this is for consistency.
On 11/19/20, John Baldwin wrote:
> On 11/18/20 2:16 PM, Mateusz Guzik wrote:
>> On 11/17/20, John Baldwin wrote:
>>> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
>> Interested parties can check the consumer (also seen in the diff) to
>> see this is for consistency. I don't think any comments are
Author: mjg
Date: Thu Nov 19 04:28:39 2020
New Revision: 367830
URL: https://svnweb.freebsd.org/changeset/base/367830
Log:
cred: fix minor nits in r367695
Noted by: jhb
Modified:
head/sys/kern/kern_prot.c
head/sys/sys/ucred.h
Modified: head/sys/kern/kern_prot.c
Author: mjg
Date: Thu Nov 19 04:27:51 2020
New Revision: 367829
URL: https://svnweb.freebsd.org/changeset/base/367829
Log:
smp: fix smp_rendezvous_cpus_retry usage before smp starts
Since none of the other CPUs are running there is nobody to clear their
entries and the routine spins
Author: markj
Date: Thu Nov 19 03:59:21 2020
New Revision: 367828
URL: https://svnweb.freebsd.org/changeset/base/367828
Log:
vm_phys: Try to clean up NUMA KPIs
It can useful for code outside the VM system to look up the NUMA domain
of a page backing a virtual or physical address,
Author: markj
Date: Thu Nov 19 02:53:29 2020
New Revision: 367827
URL: https://svnweb.freebsd.org/changeset/base/367827
Log:
Move kern_clocksource.c to sys/conf/files
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/conf/files
head/sys/conf/files.amd64
head/sys/conf/files.arm
Author: markj
Date: Thu Nov 19 02:50:48 2020
New Revision: 367826
URL: https://svnweb.freebsd.org/changeset/base/367826
Log:
Remove NO_EVENTTIMERS support
The arm configs that required it have been removed from the tree.
Removing this option makes the callout code easier to read and
Author: glebius
Date: Thu Nov 19 02:20:38 2020
New Revision: 367824
URL: https://svnweb.freebsd.org/changeset/base/367824
Log:
Add '-u' switch that would uncompress cores that were compressed by
kernel during dump time.
A real life scenario is that cores are compressed to reduce
size
On 11/19/20, Stefan Esser wrote:
> Am 18.11.20 um 23:39 schrieb Jessica Clarke:
>> On 18 Nov 2020, at 22:32, Stefan Esser wrote:
>>>
>>> Am 18.11.20 um 22:40 schrieb Mateusz Guzik:
> +{
> + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE};
There is no use for this to
On Wed, 2020-11-18 at 15:37 -0800, John Baldwin wrote:
> On 11/18/20 2:16 PM, Mateusz Guzik wrote:
> > On 11/17/20, John Baldwin wrote:
> > > On 11/14/20 11:22 AM, Mateusz Guzik wrote:
> >
> > Interested parties can check the consumer (also seen in the diff)
> > to
> > see this is for
Author: emaste
Date: Thu Nov 19 00:03:15 2020
New Revision: 367823
URL: https://svnweb.freebsd.org/changeset/base/367823
Log:
libc: fix undefined behavior from signed overflow in strstr and memmem
unsigned char promotes to int, which can overflow when shifted left by
24 bits or more.
Author: emaste
Date: Thu Nov 19 00:02:12 2020
New Revision: 367822
URL: https://svnweb.freebsd.org/changeset/base/367822
Log:
libc: optimize memmem two-way bad character shift
first, the condition (mem && k < p) is redundant, because mem being
nonzero implies the needle is periodic with
On 11/18/20 2:16 PM, Mateusz Guzik wrote:
> On 11/17/20, John Baldwin wrote:
>> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
> Interested parties can check the consumer (also seen in the diff) to
> see this is for consistency. I don't think any comments are warranted
> in the header.
I did read
Am 18.11.20 um 23:39 schrieb Jessica Clarke:
On 18 Nov 2020, at 22:32, Stefan Esser wrote:
Am 18.11.20 um 22:40 schrieb Mateusz Guzik:
+{
+ static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE};
There is no use for this to be static.
Why not? This makes it part of the
On Thu, Nov 19, 2020 at 12:05:51AM +0100, Stefan Esser wrote:
> Am 18.11.20 um 23:14 schrieb Jessica Clarke:
> > On 18 Nov 2020, at 21:52, Stefan Esser wrote:
> >> Am 18.11.20 um 22:15 schrieb Jessica Clarke:
> >>> On 18 Nov 2020, at 19:44, Stefan E??er wrote:
> +/*
> +
Am 18.11.20 um 23:14 schrieb Jessica Clarke:
On 18 Nov 2020, at 21:52, Stefan Esser wrote:
Am 18.11.20 um 22:15 schrieb Jessica Clarke:
On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
+ /*
+* Check for some other thread already having
+* set
On 18 Nov 2020, at 22:32, Stefan Esser wrote:
>
> Am 18.11.20 um 22:40 schrieb Mateusz Guzik:
>>> +{
>>> + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE};
>> There is no use for this to be static.
>
> Why not? This makes it part of the constant initialized data of
> the
Am 18.11.20 um 22:40 schrieb Mateusz Guzik:
+{
+ static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE};
There is no use for this to be static.
Why not? This makes it part of the constant initialized data of
the library, which is more efficient under run-time and memory
space
On 11/17/20, John Baldwin wrote:
> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
>> Author: mjg
>> Date: Sat Nov 14 19:22:02 2020
>> New Revision: 367695
>> URL: https://svnweb.freebsd.org/changeset/base/367695
>>
>> Log:
>> thread: batch credential freeing
>>
>> Modified:
>>
On 18 Nov 2020, at 21:52, Stefan Esser wrote:
> Am 18.11.20 um 22:15 schrieb Jessica Clarke:
>> On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
>>> + /*
>>> +* Check for some other thread already having
>>> +* set localbase - this should use atomic ops.
>>> +
Am 18.11.20 um 22:27 schrieb Jessica Clarke:
On 18 Nov 2020, at 21:15, Jessica Clarke wrote:
On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
+ /*
+* Check for some other thread already having
+* set localbase - this should use atomic ops.
+
Author: emaste
Date: Wed Nov 18 22:01:34 2020
New Revision: 367821
URL: https://svnweb.freebsd.org/changeset/base/367821
Log:
clang-format libc string functions imported from musl
We have adopted these and don't consider them 'contrib' code, so bring
them closer to style(9). This is a
Am 18.11.20 um 22:15 schrieb Jessica Clarke:
On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
+ /*
+* Check for some other thread already having
+* set localbase - this should use atomic ops.
+* The amount of memory allocated above
On 18 Nov 2020, at 21:40, Mateusz Guzik wrote:
>
> On 11/18/20, Stefan Eßer wrote:
>> Author: se
>> Date: Wed Nov 18 19:44:30 2020
>> New Revision: 367813
>> URL: https://svnweb.freebsd.org/changeset/base/367813
>>
>> Log:
>> Add function getlocalbase() to libutil.
>>
>> This function
On 11/18/20, Stefan Eßer wrote:
> Author: se
> Date: Wed Nov 18 19:44:30 2020
> New Revision: 367813
> URL: https://svnweb.freebsd.org/changeset/base/367813
>
> Log:
> Add function getlocalbase() to libutil.
>
> This function returns the path to the local software base directory, by
>
On 18 Nov 2020, at 21:15, Jessica Clarke wrote:
>
> On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
>> +/*
>> + * Check for some other thread already having
>> + * set localbase - this should use atomic ops.
>> + * The amount of memory allocated
Author: oshogbo
Date: Wed Nov 18 21:26:14 2020
New Revision: 367820
URL: https://svnweb.freebsd.org/changeset/base/367820
Log:
Add CTLFLAG_MPSAFE to the suser_enabled sysctl.
Pointed out by: mjg
Modified:
head/sys/kern/kern_priv.c
Modified: head/sys/kern/kern_priv.c
Hello Mateusz,
Thank you for pointing out this. I will fix those.
Thanks,
Mariusz
On Wed, 18 Nov 2020 at 22:15, Mateusz Guzik wrote:
>
> On 11/18/20, Mariusz Zaborski wrote:
> > Author: oshogbo
> > Date: Wed Nov 18 21:07:08 2020
> > New Revision: 367819
> > URL:
On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
> + /*
> + * Check for some other thread already having
> + * set localbase - this should use atomic ops.
> + * The amount of memory allocated above may leak,
> + * if a parallel update
On 11/18/20, Mariusz Zaborski wrote:
> Author: oshogbo
> Date: Wed Nov 18 21:07:08 2020
> New Revision: 367819
> URL: https://svnweb.freebsd.org/changeset/base/367819
>
> Log:
> jail: introduce per jail suser_enabled setting
>
> The suser_enable sysctl allows to remove a privileged rights
Author: oshogbo
Date: Wed Nov 18 21:07:08 2020
New Revision: 367819
URL: https://svnweb.freebsd.org/changeset/base/367819
Log:
jail: introduce per jail suser_enabled setting
The suser_enable sysctl allows to remove a privileged rights from uid 0.
This change introduce per jail setting
Author: oshogbo
Date: Wed Nov 18 20:59:58 2020
New Revision: 367818
URL: https://svnweb.freebsd.org/changeset/base/367818
Log:
Fix style nits.
Modified:
head/sys/kern/kern_jail.c
head/sys/kern/kern_priv.c
Modified: head/sys/kern/kern_jail.c
Author: cem
Date: Wed Nov 18 20:20:03 2020
New Revision: 367817
URL: https://svnweb.freebsd.org/changeset/base/367817
Log:
msdosfs(5): Fix debug-only format string
No functional change; MSDOSFS_DEBUG isn't a real build option, so this isn't
covered by LINT kernels.
Modified:
Author: se
Date: Wed Nov 18 20:00:55 2020
New Revision: 367816
URL: https://svnweb.freebsd.org/changeset/base/367816
Log:
Make use of the getlocalbase() function for run-time adjustment of the
local software base directory, as committed in SVN rev. 367813.
The pkg and mailwrapper
Author: dim
Date: Wed Nov 18 19:55:24 2020
New Revision: 367815
URL: https://svnweb.freebsd.org/changeset/base/367815
Log:
For llvm's internal function which retrieves the number of available
"hardware threads", use cpuset_getaffinity(2) on FreeBSD, so it will
honor processor sets
Author: mjg
Date: Wed Nov 18 19:47:24 2020
New Revision: 367814
URL: https://svnweb.freebsd.org/changeset/base/367814
Log:
fd: reorder struct file to reduce false sharing
The size on LP64 is 80 bytes, which is just more than a cacheline, does
not lend itself to easy shrinking and
Author: se
Date: Wed Nov 18 19:44:30 2020
New Revision: 367813
URL: https://svnweb.freebsd.org/changeset/base/367813
Log:
Add function getlocalbase() to libutil.
This function returns the path to the local software base directory, by
default "/usr/local" (or the value of _PATH_LOCALBASE
Author: lwhsu
Date: Wed Nov 18 19:35:30 2020
New Revision: 367812
URL: https://svnweb.freebsd.org/changeset/base/367812
Log:
ipheth(4): Fix for iOS 14
Fix USB tethering for iOS 14.
Inspired by: https://github.com/libimobiledevice/libimobiledevice/issues/1038
PR: 249979
Author: alfredo
Date: Wed Nov 18 19:23:30 2020
New Revision: 367811
URL: https://svnweb.freebsd.org/changeset/base/367811
Log:
msun tests: use standard floating-point exception flags on lrint and fenv
tests
Some platforms have additional architecture-specific floating-point flags.
Msun
Author: imp
Date: Wed Nov 18 19:22:24 2020
New Revision: 367810
URL: https://svnweb.freebsd.org/changeset/base/367810
Log:
mergemaster: handle symbolic links during update.
/etc/os-release is now a symbolic link to a generated file. Make
mergemaster cope with symbolic links generically.
Author: dim
Date: Wed Nov 18 18:40:58 2020
New Revision: 367809
URL: https://svnweb.freebsd.org/changeset/base/367809
Log:
When elftoolchain's objcopy (or strip) is rewriting a file in-place,
make it create the temporary file in the same directory as the source
file by default, instead of
Author: jhibbits
Date: Wed Nov 18 17:37:01 2020
New Revision: 367807
URL: https://svnweb.freebsd.org/changeset/base/367807
Log:
Fix octeon_pmc post-r334827
MFC after:3 days
Sponsored by: Juniper Networks, Inc
Modified:
head/sys/mips/cavium/octeon_pmc.c
Modified:
Author: jhb
Date: Wed Nov 18 16:21:37 2020
New Revision: 367806
URL: https://svnweb.freebsd.org/changeset/base/367806
Log:
Fix a few nits in vn_printf().
- Mask out recently added VV_* bits to avoid printing them twice.
- Keep VI_LOCKed on the same line as the rest of the flags.
On Tue, Nov 17, 2020 at 1:51 PM Brooks Davis wrote:
>
> On Tue, Nov 17, 2020 at 11:59:50AM -0600, Kyle Evans wrote:
> > On Tue, Nov 17, 2020 at 11:11 AM Brooks Davis wrote:
> > >
> > > On Tue, Nov 17, 2020 at 03:36:58AM +, Kyle Evans wrote:
> > > > Modified:
Author: mw
Date: Wed Nov 18 15:25:38 2020
New Revision: 367805
URL: https://svnweb.freebsd.org/changeset/base/367805
Log:
Update ENA driver version to v2.3.0
The v2.3.0 introduces new ena_com layer, ENI metrics updates and SPDX
license tags.
Submitted by: Michal Krawczyk
Author: n_hibma
Date: Wed Nov 18 15:23:43 2020
New Revision: 367804
URL: https://svnweb.freebsd.org/changeset/base/367804
Log:
Fix mandoc lint warnings.
Modified:
head/share/man/man4/ng_tag.4
Modified: head/share/man/man4/ng_tag.4
On 11/18/20, Konstantin Belousov wrote:
> On Tue, Nov 17, 2020 at 03:36:31PM +0100, Mateusz Guzik wrote:
>> On 11/17/20, Konstantin Belousov wrote:
>> > On Tue, Nov 17, 2020 at 04:15:12AM +0100, Mateusz Guzik wrote:
>> >> On 11/17/20, Konstantin Belousov wrote:
>> >> > On Mon, Nov 16, 2020 at
Author: mw
Date: Wed Nov 18 15:20:01 2020
New Revision: 367803
URL: https://svnweb.freebsd.org/changeset/base/367803
Log:
Rename descriptions of the supported ENA devices
Some of the PCI ID were described as ENA with LLQ support - it's not
fully accurate and because of that, their names
Author: mw
Date: Wed Nov 18 15:17:55 2020
New Revision: 367802
URL: https://svnweb.freebsd.org/changeset/base/367802
Log:
Add ENI metrics for the ENA driver
The new HAL allows the driver to read extra ENI stats. Exact meaning of
each of them can be found in base/ena_defs/ena_admin_defs.h
Author: mw
Date: Wed Nov 18 15:07:34 2020
New Revision: 367801
URL: https://svnweb.freebsd.org/changeset/base/367801
Log:
Add SPDX license tag to the ENA driver files
Refering to guide: https://wiki.freebsd.org/SPDX the SPDX tag should not
replace the standard license text, however it
Author: mw
Date: Wed Nov 18 15:02:12 2020
New Revision: 367800
URL: https://svnweb.freebsd.org/changeset/base/367800
Log:
Add Rx offsets support for the ENA driver
For the first descriptor in a chain the data may start at an offset.
It is optional feature of some devices, so the driver
Author: mw
Date: Wed Nov 18 14:59:22 2020
New Revision: 367799
URL: https://svnweb.freebsd.org/changeset/base/367799
Log:
Adjust ENA driver files to latest ena-com changes
* Use the new API of ena_trace_*
* Fix typo syndrom --> syndrome
* Remove validation of the Rx req ID (already
Author: gallatin
Date: Wed Nov 18 14:55:49 2020
New Revision: 367797
URL: https://svnweb.freebsd.org/changeset/base/367797
Log:
LACP: When suppressing distributing, return ENOBUFS
When links come and go, lacp goes into a "suppress distributing" mode
where it drops traffic for 3 seconds.
Author: mw
Date: Wed Nov 18 14:50:12 2020
New Revision: 367795
URL: https://svnweb.freebsd.org/changeset/base/367795
Log:
Fix completion descriptors alignment for the ENA
The latest generation hardware requires IO CQ (completion queue)
descriptors memory to be aligned to a 4K. It needs
Author: hselasky
Date: Wed Nov 18 13:47:11 2020
New Revision: 367789
URL: https://svnweb.freebsd.org/changeset/base/367789
Log:
Allow LinuxKPI types to be used in bootloaders, by checking for the
_STANDALONE definition.
No functional change intended.
MFC after:1 week
Sponsored
Author: hselasky
Date: Wed Nov 18 13:45:32 2020
New Revision: 367788
URL: https://svnweb.freebsd.org/changeset/base/367788
Log:
Add missing header file when building the LinuxKPI module separately.
MFC after:1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Modified:
Author: hselasky
Date: Wed Nov 18 13:22:22 2020
New Revision: 367787
URL: https://svnweb.freebsd.org/changeset/base/367787
Log:
Fix build of USB bootloader code by adding checks for _STANDALONE being
defined.
Currently the USB bootloader code is not part of buildworld.
MFC after:1
60 matches
Mail list logo