On Sun, Sep 18, 2016 at 11:44 PM, Warner Losh wrote:
> On Sun, Sep 18, 2016 at 6:24 PM, Allan Jude wrote:
>> On 2016-09-18 15:16, Baptiste Daroussin wrote:
>>> Author: bapt
>>> Date: Sun Sep 18 19:16:48 2016
>>> New Revision: 305949
>>> URL: https://svnweb.freebsd.org/changeset/base/305949
>>>
>>
On Sun, Sep 18, 2016 at 11:52 PM, Warner Losh wrote:
> On Sun, Sep 18, 2016 at 11:44 PM, Warner Losh wrote:
>> On Sun, Sep 18, 2016 at 6:24 PM, Allan Jude wrote:
>>> On 2016-09-18 15:16, Baptiste Daroussin wrote:
Author: bapt
Date: Sun Sep 18 19:16:48 2016
New Revision: 305949
>>>
Author: sephe
Date: Mon Sep 19 07:07:23 2016
New Revision: 305962
URL: https://svnweb.freebsd.org/changeset/base/305962
Log:
hyperv/hn: Don't allow NVS and NDIS version change upon reinitailization
NVS and NDIS version change would break too much assumption and static
configuration.
Author: ngie
Date: Mon Sep 19 07:07:55 2016
New Revision: 305963
URL: https://svnweb.freebsd.org/changeset/base/305963
Log:
Reindent TESTSDIR definition for consistency/readability
MFC after:3 days
Sponsored by: Dell EMC Isilon
Modified:
head/tests/sys/Makefile
Mod
Author: sephe
Date: Mon Sep 19 07:17:43 2016
New Revision: 305964
URL: https://svnweb.freebsd.org/changeset/base/305964
Log:
hyperv/hn: Save capabilities for later use.
And don't allow capability changes during reinitialization, which
breaks too much static configuration.
MFC after:
Author: sephe
Date: Mon Sep 19 07:32:08 2016
New Revision: 305965
URL: https://svnweb.freebsd.org/changeset/base/305965
Log:
hyperv/hn: Don't allow MTU change, if it is not supported by the NVS.
MFC after:1 week
Sponsored by: Microsoft
Differential Revision:https://reviews.f
Author: sephe
Date: Mon Sep 19 07:39:42 2016
New Revision: 305966
URL: https://svnweb.freebsd.org/changeset/base/305966
Log:
hyperv/hn: Stringent RSS sysctl checks
- Don't change RNDIS RSS configuration for RSS key sysctl, if the
interface is not capable of RSS yet.
- Don't change RSS
Author: sephe
Date: Mon Sep 19 07:47:56 2016
New Revision: 305967
URL: https://svnweb.freebsd.org/changeset/base/305967
Log:
hyperv/hn: Allow RSS capability flipping upon attach/reinit.
MFC after:1 week
Sponsored by: Microsoft
Differential Revision:https://reviews.freebsd.or
Author: trasz
Date: Mon Sep 19 08:51:27 2016
New Revision: 305968
URL: https://svnweb.freebsd.org/changeset/base/305968
Log:
Make autofs use the "async" flag for msdosfs and ufs filesystems mounted
on /media.
MFC after:1 month
Modified:
head/etc/autofs/special_media
Modified: head
Author: trasz
Date: Mon Sep 19 08:55:36 2016
New Revision: 305969
URL: https://svnweb.freebsd.org/changeset/base/305969
Log:
Make autofs use the "noatime" flag for msdosfs, ntfs, and ufs
filesystems mounted on /media.
MFC after:1 month
Modified:
head/etc/autofs/special_media
Modif
Author: ngie
Date: Mon Sep 19 09:15:12 2016
New Revision: 305970
URL: https://svnweb.freebsd.org/changeset/base/305970
Log:
Remove change accidentally committed via r305963 for upcoming tests/sys/fs/...
work
MFC after:3 days
Sponsored by: Dell EMC Isilon
Modified:
head/tests/sys/
Author: andrew
Date: Mon Sep 19 13:12:09 2016
New Revision: 305972
URL: https://svnweb.freebsd.org/changeset/base/305972
Log:
Import the Linaro Cortex Strings library into contrib.
Sponsored by: The FreeBSD Foundation
Added:
head/contrib/cortex-strings/
- copied from r305970, vendor
Author: andrew
Date: Mon Sep 19 14:36:16 2016
New Revision: 305973
URL: https://svnweb.freebsd.org/changeset/base/305973
Log:
Fix the asm on the memchr and strchr functions.
Add an alias from index to strchr as is done in the libc C implementation.
Obtained from:ABT Systems Ltd
Author: andrew
Date: Mon Sep 19 15:08:03 2016
New Revision: 305974
URL: https://svnweb.freebsd.org/changeset/base/305974
Log:
Attach the cortex strings library to the build. Only a subset of functions
have been added as some don't seem to be improvements over the libc C
implementation.
Author: kib
Date: Mon Sep 19 15:58:33 2016
New Revision: 305977
URL: https://svnweb.freebsd.org/changeset/base/305977
Log:
Be more strict when selecting between snapshot/regular mount.
Reclaimed vnode type is VBAD, so succesful comparision like
devvp->v_type != VREG does not imply that th
Author: kib
Date: Mon Sep 19 15:58:45 2016
New Revision: 305978
URL: https://svnweb.freebsd.org/changeset/base/305978
Log:
Detect x2APIC mode on boot and obey it.
If BIOS performed hand-off to OS with BSP LAPIC in the x2APIC mode,
system usually consumes such configuration without a notic
Author: emaste
Date: Mon Sep 19 16:07:32 2016
New Revision: 305980
URL: https://svnweb.freebsd.org/changeset/base/305980
Log:
uefisign: Remove backwards-compatibility sys/capability.h support
uefisign previously included sys/capability.h or sys/capsicum.h based
on __FreeBSD_version in ord
Author: cem
Date: Mon Sep 19 16:13:00 2016
New Revision: 305981
URL: https://svnweb.freebsd.org/changeset/base/305981
Log:
cmp(1): Capsicumify
Reviewed by: allanjude, bapt, oshogbo
Sponsored by: Dell EMC Isilon
Differential Revision:https://reviews.freebsd.org/D7912
Modified:
Author: cem
Date: Mon Sep 19 16:14:38 2016
New Revision: 305982
URL: https://svnweb.freebsd.org/changeset/base/305982
Log:
tr(1): Capsicumify
This is a straightforward single input, single output program for
capsicum.
Reviewed by: bapt
Sponsored by: Dell EMC Isilon
Differential
Author: cem
Date: Mon Sep 19 16:16:14 2016
New Revision: 305983
URL: https://svnweb.freebsd.org/changeset/base/305983
Log:
indent(1): Capsicumify
This is a nice and trivial program for sandboxing. One input file, one
output file.
Reviewed by: pfg
Sponsored by: Dell EMC Isilon
D
On 19.09.2016 19:13, Conrad E. Meyer wrote:
> + /*
> + * Cache NLS data, for strerror, for err(3), before entering capability
> + * mode.
> + */
> + (void)catopen("libc", NL_CAT_LOCALE);
This code should be common for all programs which use err(), perror()
etc. since they al
On Sunday, September 18, 2016 08:47:55 PM Ed Schouten wrote:
> Author: ed
> Date: Sun Sep 18 20:47:55 2016
> New Revision: 305952
> URL: https://svnweb.freebsd.org/changeset/base/305952
>
> Log:
> Replace dirname(3) by a copy that complies to POSIX.
>
> It turns out that the path normalizat
Author: np
Date: Mon Sep 19 17:16:51 2016
New Revision: 305985
URL: https://svnweb.freebsd.org/changeset/base/305985
Log:
cxgbe(4): Fixes to wrq stats.
- Increment tx_wrs_copied in the correct place.
- Add tx_wrs_sspace to the sysctl MIB.
Sponsored by: Chelsio Communications
Modifie
Author: ed
Date: Mon Sep 19 17:31:05 2016
New Revision: 305987
URL: https://svnweb.freebsd.org/changeset/base/305987
Log:
Sync in latest vDSOs from upstream.
- Use conditional instruction to simplify the ARMv6 vDSO. This means
that we no longer perform any branching. In the failure case
2016-09-19 18:06 GMT+02:00 John Baldwin :
> Don't you need the _Generic hack we have for basename now?
The _Generic() hack that we have in place is for dirname() right now.
I'll extend it to also cover basename() when replacing that function
as well.
While we're on the subject, anyone willing to
Author: trasz
Date: Mon Sep 19 17:46:15 2016
New Revision: 305988
URL: https://svnweb.freebsd.org/changeset/base/305988
Log:
Remove unused bio_taskqueue().
MFC after:1 month
Modified:
head/sys/geom/geom_io.c
head/sys/sys/bio.h
Modified: head/sys/geom/geom_io.c
Author: emaste
Date: Mon Sep 19 17:51:56 2016
New Revision: 305989
URL: https://svnweb.freebsd.org/changeset/base/305989
Log:
tcpdump: remove sys/capability.h #include
sys/capability.h is just a backwards compatibility wrapper around
sys/capsicum.h, which is already #included.
Modified:
Author: pfg
Date: Mon Sep 19 18:35:22 2016
New Revision: 305990
URL: https://svnweb.freebsd.org/changeset/base/305990
Log:
hexdump(1): Simplify by using asprintf(3)
Instead of strlen() + calloc() + snprintf, just use asprintf().
No functional change.
Obtained from:OpenBSD (CV
Author: avos
Date: Mon Sep 19 18:36:26 2016
New Revision: 305991
URL: https://svnweb.freebsd.org/changeset/base/305991
Log:
dev/usb: add USB IDs for Realtek 802.11ac wireless adapters.
They are will be used by the updated rtwn(4) / urtwn(4) driver.
Suggested by: adrian
Modified:
hea
Author: pfg
Date: Mon Sep 19 18:42:58 2016
New Revision: 305993
URL: https://svnweb.freebsd.org/changeset/base/305993
Log:
mount(1): Simplify by using asprintf(3)
Instead of strlen() + malloc() + snprintf, just use asprintf().
No functional change.
Obtained from:OpenBSD (CVS
Author: emaste
Date: Mon Sep 19 18:44:43 2016
New Revision: 305994
URL: https://svnweb.freebsd.org/changeset/base/305994
Log:
Catch up to sys/capability.h rename to sys/capsicum.h in r263232
MFC after:1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/linux/linux
Author: emaste
Date: Mon Sep 19 18:45:57 2016
New Revision: 305995
URL: https://svnweb.freebsd.org/changeset/base/305995
Log:
revert unintended change from r305994
Modified:
head/sys/boot/efi/loader/arch/amd64/ldscript.amd64
head/sys/boot/efi/loader/arch/i386/ldscript.i386
Modified: head/s
Hi,
Your commit message says in words exactly what the diff says in code.
Would you like to elaborate on why the change is made? I'm curious
because this could cause severe damage to the filesystem on unclean eject
of the media.
Regards,
Ronald.
On Mon, 19 Sep 2016 10:51:27 +0200, Edwa
On Monday, September 19, 2016 04:13:00 PM Conrad E. Meyer wrote:
> Author: cem
> Date: Mon Sep 19 16:13:00 2016
> New Revision: 305981
> URL: https://svnweb.freebsd.org/changeset/base/305981
>
> Log:
> cmp(1): Capsicumify
>
> Reviewed by:allanjude, bapt, oshogbo
> Sponsored by:
On 9/18/2016 8:40 AM, Baptiste Daroussin wrote:
> Author: bapt
> Date: Sun Sep 18 15:40:36 2016
> New Revision: 305933
> URL: https://svnweb.freebsd.org/changeset/base/305933
>
> Log:
> Modify manually given makeman is broken due to errors in share/mk/*
I don't get the errors you reported. Did
On Monday, September 19, 2016 07:34:54 PM Ed Schouten wrote:
> 2016-09-19 18:06 GMT+02:00 John Baldwin :
> > Don't you need the _Generic hack we have for basename now?
>
> The _Generic() hack that we have in place is for dirname() right now.
> I'll extend it to also cover basename() when replacing
Author: cem
Date: Mon Sep 19 20:43:03 2016
New Revision: 305998
URL: https://svnweb.freebsd.org/changeset/base/305998
Log:
Move sys/capsicum.h includes after types.h or param.h
This is not actually documented or even implied in style(9). Make the change
to match convention. Someone shou
> On Sep 19, 2016, at 1:43 PM, Conrad E. Meyer wrote:
>
> Author: cem
> Date: Mon Sep 19 20:43:03 2016
> New Revision: 305998
> URL: https://svnweb.freebsd.org/changeset/base/305998
>
> Log:
> Move sys/capsicum.h includes after types.h or param.h
>
> This is not actually documented or even i
On Monday, September 19, 2016 01:45:01 PM Ngie Cooper wrote:
>
> > On Sep 19, 2016, at 1:43 PM, Conrad E. Meyer wrote:
> >
> > Author: cem
> > Date: Mon Sep 19 20:43:03 2016
> > New Revision: 305998
> > URL: https://svnweb.freebsd.org/changeset/base/305998
> >
> > Log:
> > Move sys/capsicum.h
> On Sep 19, 2016, at 2:22 PM, John Baldwin wrote:
>
> On Monday, September 19, 2016 01:45:01 PM Ngie Cooper wrote:
>>
>>> On Sep 19, 2016, at 1:43 PM, Conrad E. Meyer wrote:
>>>
>>> Author: cem
>>> Date: Mon Sep 19 20:43:03 2016
>>> New Revision: 305998
>>> URL: https://svnweb.freebsd.org/ch
Author: ivadasz
Date: Mon Sep 19 22:06:00 2016
New Revision: 305999
URL: https://svnweb.freebsd.org/changeset/base/305999
Log:
[iwm] Use htole16 for policy field in struct iwm_time_event_cmd_v2.
The htole32 was working fine for little-endian machines, but would have
been broken on big-end
Author: ivadasz
Date: Mon Sep 19 22:08:47 2016
New Revision: 306000
URL: https://svnweb.freebsd.org/changeset/base/306000
Log:
[iwm] Remove unused field from iwm_rx_data. Use uint32_t instead of enum type.
The wantresp field in struct iwm_rx_data has never been used for anything,
so we ca
Author: ivadasz
Date: Mon Sep 19 22:11:34 2016
New Revision: 306001
URL: https://svnweb.freebsd.org/changeset/base/306001
Log:
[iwm] Fix off-by-one check in iwm_read_firmware().
This fixes a potential buffer overrun in the firmware parsing code.
Reported by: Coverity
Approved by: a
Author: ivadasz
Date: Mon Sep 19 22:13:08 2016
New Revision: 306002
URL: https://svnweb.freebsd.org/changeset/base/306002
Log:
[iwm] Fix iwm_poll_bit() error value check in iwm_attach().
The iwm(4) iwm_poll_bit() function returns 1 on success, and 0 on failure,
whereas the iwl_poll_bit()
If you re-read the sentences you've pasted carefully, I think you'll
find it doesn't actually say that the types or param headers come
before other sys/ headers. Just that sys/ headers come before
non-sys/ headers.
Best,
Conrad
On Mon, Sep 19, 2016 at 1:45 PM, Ngie Cooper (yaneurabeya)
wrote:
>
Author: ivadasz
Date: Mon Sep 19 22:16:03 2016
New Revision: 306003
URL: https://svnweb.freebsd.org/changeset/base/306003
Log:
[iwm] Remove wrappers around iwm_dma_contig_free() calls.
No functional changes.
Inspired by: OpenBSD
Approved by: adrian (mentor)
Differential Revision:
Author: ivadasz
Date: Mon Sep 19 22:20:46 2016
New Revision: 306004
URL: https://svnweb.freebsd.org/changeset/base/306004
Log:
[iwm] Remove deprecated scan API definitions.
* This removes deprecated scan API definitions, which have been unused
since the upgrade to version 16 firmware in
Author: ivadasz
Date: Mon Sep 19 22:23:46 2016
New Revision: 306005
URL: https://svnweb.freebsd.org/changeset/base/306005
Log:
[iwm] Use IWM_DEFAULT_SCAN_CHANNELS define as default for
sc_capa_n_scan_channels.
Approved by: adrian (mentor)
Obtained from:Linux iwlwifi
Differenti
Author: ivadasz
Date: Mon Sep 19 22:26:37 2016
New Revision: 306006
URL: https://svnweb.freebsd.org/changeset/base/306006
Log:
[iwm] Remove dead fw_totlen from struct iwm_fw_sects; clean up struct
iwm_nvm_data.
* No functional change, none of these values were ever read.
* The values
Author: ivadasz
Date: Mon Sep 19 22:36:30 2016
New Revision: 306007
URL: https://svnweb.freebsd.org/changeset/base/306007
Log:
[iwm] Improve reliability of iwm_release on disassociation a bit.
* We need to first call ivp->iv_newstate(), to enqueue the deauth/deassoc
mgmt frame, then flu
Author: markj
Date: Tue Sep 20 00:22:35 2016
New Revision: 306008
URL: https://svnweb.freebsd.org/changeset/base/306008
Log:
libdwarf: Add definitions for Apple's DWARF extension attributes.
Reviewed by: emaste
MFC after:1 week
Modified:
head/contrib/elftoolchain/libdwarf/dwarf.h
Mounting removable media async improves performance and reduces wear.
And AFAIK that's what most Linux distros used to do.
On 0919T2032, Ronald Klop wrote:
> Hi,
>
> Your commit message says in words exactly what the diff says in code.
> Would you like to elaborate on why the change is made? I'
On Mon, Sep 19, 2016 at 2:43 PM, Conrad E. Meyer wrote:
> Author: cem
> Date: Mon Sep 19 20:43:03 2016
> New Revision: 305998
> URL: https://svnweb.freebsd.org/changeset/base/305998
>
> Log:
> Move sys/capsicum.h includes after types.h or param.h
>
> This is not actually documented or even imp
If you read style(9) as an annotated example of best practices, you'll
see that it is actually documented there, but poorly. It's the first
one after cdefs for the FreeBSD ID. It says to include one or the
other, with the implication it's first. It's the common interpretation
of the project (this i
For MSDOS it's one thing and likely helps. But for ufs it doesn't
help. Soft updates already does an excellent job at reducing wear and
all async does is give added danger of dataloss. Linux distros don't
matter for UFS because different design decisions have been made for
ext[234] and UFS.
Warner
Author: trasz
Date: Tue Sep 20 04:33:58 2016
New Revision: 306009
URL: https://svnweb.freebsd.org/changeset/base/306009
Log:
Make autofs(5) -media map also use "async" and "noatime" for ext2fs(5).
Suggested by: pfg@
MFC after:1 month
Modified:
head/etc/autofs/special_media
Modifie
Author: imp
Date: Tue Sep 20 04:50:53 2016
New Revision: 306010
URL: https://svnweb.freebsd.org/changeset/base/306010
Log:
Document existing practice and be more clear about sys/foo.h files
being alphabetical with sys/param.h or sys/types.h being first. Expand
the example to hopefully make t
Author: trasz
Date: Tue Sep 20 04:52:01 2016
New Revision: 306011
URL: https://svnweb.freebsd.org/changeset/base/306011
Log:
Stop appending "noatime" in the autofs -media map, and instead add it
to auto_master, since all filesystems seem to support it. It's cleaner
this way, and easier to c
Thanks!
On Mon, Sep 19, 2016 at 9:50 PM, Warner Losh wrote:
> Author: imp
> Date: Tue Sep 20 04:50:53 2016
> New Revision: 306010
> URL: https://svnweb.freebsd.org/changeset/base/306010
>
> Log:
> Document existing practice and be more clear about sys/foo.h files
> being alphabetical with sys
Author: trasz
Date: Tue Sep 20 04:54:00 2016
New Revision: 306012
URL: https://svnweb.freebsd.org/changeset/base/306012
Log:
Fix -media to not mount ufs with "async"; it doesn't make sense when
there is softupdates.
Suggested by: imp@
MFC after:1 month
Modified:
head/etc/autofs/s
Good point; fixed.
On 0919T2219, Warner Losh wrote:
> For MSDOS it's one thing and likely helps. But for ufs it doesn't
> help. Soft updates already does an excellent job at reducing wear and
> all async does is give added danger of dataloss. Linux distros don't
> matter for UFS because different
Author: sephe
Date: Tue Sep 20 05:26:40 2016
New Revision: 306013
URL: https://svnweb.freebsd.org/changeset/base/306013
Log:
hyperv/hn: Fix ifnet hwassist setup.
MFC after:1 week
Sponsored by: Microsoft
Differential Revision:https://reviews.freebsd.org/D7948
Modified:
hea
Author: sephe
Date: Tue Sep 20 05:45:18 2016
New Revision: 306014
URL: https://svnweb.freebsd.org/changeset/base/306014
Log:
hyperv/hn: Let the caller of hn_nvs_doinit() do the error logging.
So that NVS version probing failure does not look too scary.
MFC after:1 week
Sponsored
On Mon, 19 Sep 2016, John Baldwin wrote:
On Monday, September 19, 2016 01:45:01 PM Ngie Cooper wrote:
On Sep 19, 2016, at 1:43 PM, Conrad E. Meyer wrote:
Log:
Move sys/capsicum.h includes after types.h or param.h
This is not actually documented or even implied in style(9). Make the chang
On Tue, 20 Sep 2016, Edward Tomasz Napierala wrote:
Log:
Fix -media to not mount ufs with "async"; it doesn't make sense when
there is softupdates.
It does make sense when there isn't soft updates. With soft updates, it
is silently ignored.
However, I don't like changing the default. asyn
65 matches
Mail list logo