Author: loos
Date: Tue May 16 05:10:15 2017
New Revision: 318337
URL: https://svnweb.freebsd.org/changeset/base/318337
Log:
Add the Marvell SDHCI controller to the list of supported devices in
sdhci_fdt.
Enable the SDHCI controller, bus and devices on ARMADA38X kernel.
Tested on:
Author: loos
Date: Tue May 16 04:47:50 2017
New Revision: 318336
URL: https://svnweb.freebsd.org/changeset/base/318336
Log:
Add the SDHCI Address Decoder registers and routines for ARMADA 38X.
Tested on:ClearFog Pro
Reviewed by: Marcin Wojtas
Sponsored by: Rubicon Communications,
Author: jhibbits
Date: Tue May 16 03:31:49 2017
New Revision: 318335
URL: https://svnweb.freebsd.org/changeset/base/318335
Log:
Correct pa argument type for pmap_kenter_attr()
Physical addresses are vm_paddr_t, not vm_offset_t. This can make a
difference
when sizeof(vm_offset_t) != size
Author: bdrewery
Date: Tue May 16 03:12:51 2017
New Revision: 318334
URL: https://svnweb.freebsd.org/changeset/base/318334
Log:
Enable llvm-objdump by default per r310775
Modified:
head/targets/pseudo/clang/Makefile.depend
Modified: head/targets/pseudo/clang/Makefile.depend
=
Author: cy
Date: Tue May 16 02:48:46 2017
New Revision: 318333
URL: https://svnweb.freebsd.org/changeset/base/318333
Log:
Implement ippool command line IPv6 address parse support (for the -i
option).
PR: 218433
Modified:
head/contrib/ipfilter/tools/ippool.c
Modified: head/co
Konstantin Belousov wrote:
> > Consider a downstream vendor who has support for signed binary
> > executions. If rtld allows a backdoor around exec(2) to run an unsigned
> > binary, that could be a problem for them. It is on them to add support
> > to exec(2) to validate the special case of exec
Hi Stephen,
On Mon, 15 May 2017, 19:32-, Stephen J. Kiernan wrote:
> Author: stevek
> Date: Mon May 15 19:32:26 2017
> New Revision: 318314
> URL: https://svnweb.freebsd.org/changeset/base/318314
>
> Log:
> Add information to open(2) man page about the O_VERIFY flag.
>
> Reviewed by:
Author: jkim
Date: Mon May 15 23:12:04 2017
New Revision: 318326
URL: https://svnweb.freebsd.org/changeset/base/318326
Log:
- Revert r317171. [1]
- Fix overlapping corners and fix an off-by-one bug.
MFC after:3 days
Requested by: emaste [1]
Modified:
head/sys/dev/vt/vt_core.c
Mo
Author: ngie
Date: Mon May 15 22:52:25 2017
New Revision: 318325
URL: https://svnweb.freebsd.org/changeset/base/318325
Log:
Start writing up some basic feature tests for procstat
These tests query a running process for information related to the -b,
-c, -e, and -f flags; the -f testcase i
On Mon, May 15, 2017 at 01:00:48PM -0700, Rodney W. Grimes wrote:
> > On Mon, May 15, 2017 at 03:09:33PM -0400, Nikolai Lifanov wrote:
> > > On 05/15/2017 14:52, Alexey Dokuchaev wrote:
> > ...
> > Because /bin/chmod is owned by root, not because /libexec/ld-elf.so.1 is
> > limiting execution to ro
On Mon, 2017-05-15 at 21:09 +, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 02:49:30PM -0600, Ian Lepore wrote:
> >
> > ...
> > You acknowledge that the situation is different for ports, so does that
> > mean your objections go away when base becomes packaged and faces the
> > same instal
Author: glebius
Date: Mon May 15 21:58:36 2017
New Revision: 318321
URL: https://svnweb.freebsd.org/changeset/base/318321
Log:
Reduce in_pcbinfo_init() by two params. No users supply any flags to this
function (they used to say UMA_ZONE_NOFREE), so flag parameter goes away.
The zone_fini pa
Author: tsoome
Date: Mon May 15 21:50:34 2017
New Revision: 318320
URL: https://svnweb.freebsd.org/changeset/base/318320
Log:
loader: add ip layer code into libstand
Implement simple separate ip module and fragment re-assembly.
The work is based on send and receive previously implement
Author: markj
Date: Mon May 15 21:44:40 2017
New Revision: 318319
URL: https://svnweb.freebsd.org/changeset/base/318319
Log:
Ensure that profile and tick probes provide a non-zero PC value.
The idle thread may process callouts while reloading the timer in
cpu_activeclock(). In this case,
On Mon, May 15, 2017 at 08:28:53PM +, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 02:11:53PM -0600, Ian Lepore wrote:
> > ...
> > Sure, all us old-timers have the finger memory for editing rc.conf and
> > syslog.conf and so on, but how often do you crack open syslog.conf with
> > the plan
On Monday, May 15, 2017 02:11:53 PM Ian Lepore wrote:
> On Mon, 2017-05-15 at 12:22 -0700, John Baldwin wrote:
> > Also, _you_ could just splat an empty /etc/newsyslog.conf file on
> > your
> > appliance and create a bunch of conf.d/foo files if that is easier
> > for
> > you to use on an appliance
On Mon, May 15, 2017 at 02:49:30PM -0600, Ian Lepore wrote:
> ...
> You acknowledge that the situation is different for ports, so does that
> mean your objections go away when base becomes packaged and faces the
> same installation and update issues that packaged ports do? Because I
> was under th
Author: kib
Date: Mon May 15 20:52:43 2017
New Revision: 318318
URL: https://svnweb.freebsd.org/changeset/base/318318
Log:
Ensure that resume path on amd64 only accesses page tables for normal
operation after processor is configured to allow all required
features.
In particular, NX must
On Mon, 2017-05-15 at 20:28 +, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 02:11:53PM -0600, Ian Lepore wrote:
> >
> > ...
> > In general a lot of this feels like "I only needed 6 big config
> > files
> > to control my whole system in 1988, and so I should only need those
> > same 6 file
Author: emaste
Date: Mon May 15 20:41:29 2017
New Revision: 318317
URL: https://svnweb.freebsd.org/changeset/base/318317
Log:
bsdgrep: add more tests for different binary flags
The existing 'binary' test in netbsd-tests/ does a basic check of the
default treatment for binary behavior, but
On Mon, May 15, 2017 at 02:11:53PM -0600, Ian Lepore wrote:
> ...
> In general a lot of this feels like "I only needed 6 big config files
> to control my whole system in 1988, and so I should only need those
> same 6 files now."
Yup; doesn't it feel good? (That's one of our selling points BTW.)
On Mon, 2017-05-15 at 14:11 -0600, Ian Lepore wrote:
> On Mon, 2017-05-15 at 12:22 -0700, John Baldwin wrote:
> >
> > On Monday, May 15, 2017 11:43:21 AM Ian Lepore wrote:
> > >
> > >
[...]
> >
> > Also, _you_ could just splat an empty /etc/newsyslog.conf file on
> > your
> > appliance and crea
Author: emaste
Date: Mon May 15 20:18:14 2017
New Revision: 318316
URL: https://svnweb.freebsd.org/changeset/base/318316
Log:
uniq: allow -c to be used with -d or -u
Bring in some bits from NetBSD and lift the restriction in uniq(1) that
-c cannot be used with the -d and -u options. This
On Mon, 2017-05-15 at 12:22 -0700, John Baldwin wrote:
> On Monday, May 15, 2017 11:43:21 AM Ian Lepore wrote:
> >
> > On Mon, 2017-05-15 at 10:13 -0700, John Baldwin wrote:
> > >
> > > On Saturday, May 13, 2017 10:39:15 AM Warner Losh wrote:
> > > >
> > > >
> > > > >
> > > > >
> > > > > >
>
> On Mon, May 15, 2017 at 03:09:33PM -0400, Nikolai Lifanov wrote:
> > On 05/15/2017 14:52, Alexey Dokuchaev wrote:
> > > Does it mean that old Linux' trick of /lib/ld-linux.so.2 /bin/chmod +x
> > > /bin/chmod would now be possible on FreeBSD as well? Does this have
> > > any security implications
Author: ngie
Date: Mon May 15 19:58:01 2017
New Revision: 318315
URL: https://svnweb.freebsd.org/changeset/base/318315
Log:
lib/libc/gen/realpath_test: make check result from getcwd(3)
This is being done to avoid dereferencing a NULL pointer via strlcat,
obscuring the underlying issue wit
On 05/15/2017 15:52, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 07:42:23PM +, Alexey Dokuchaev wrote:
>> On Mon, May 15, 2017 at 10:40:49PM +0300, Konstantin Belousov wrote:
>>> On Mon, May 15, 2017 at 03:37:42PM -0400, Nikolai Lifanov wrote:
On 05/15/2017 15:36, Alexey Dokuchaev
On Mon, May 15, 2017 at 07:42:23PM +, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 10:40:49PM +0300, Konstantin Belousov wrote:
> > On Mon, May 15, 2017 at 03:37:42PM -0400, Nikolai Lifanov wrote:
> > > On 05/15/2017 15:36, Alexey Dokuchaev wrote:
> > > > ...
> > > > Would this now allow e
On Mon, May 15, 2017 at 10:40:49PM +0300, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 03:37:42PM -0400, Nikolai Lifanov wrote:
> > On 05/15/2017 15:36, Alexey Dokuchaev wrote:
> > > ...
> > > Would this now allow executing binaries (with or without +x bit) from
> > > filesystems mounted wi
On Mon, May 15, 2017 at 03:37:42PM -0400, Nikolai Lifanov wrote:
> On 05/15/2017 15:36, Alexey Dokuchaev wrote:
> > On Mon, May 15, 2017 at 10:25:29PM +0300, Konstantin Belousov wrote:
> >> On Mon, May 15, 2017 at 01:08:55PM -0600, Ian Lepore wrote:
> >>> Well, for example, it seems like it would a
On Mon, May 15, 2017 at 03:37:42PM -0400, Nikolai Lifanov wrote:
> On 05/15/2017 15:36, Alexey Dokuchaev wrote:
> > On Mon, May 15, 2017 at 10:25:29PM +0300, Konstantin Belousov wrote:
> >> ...
> >> The most advanced explanation that I was given in private was among
> >> the lines: "if you have an
On 05/15/2017 15:36, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 10:25:29PM +0300, Konstantin Belousov wrote:
>> On Mon, May 15, 2017 at 01:08:55PM -0600, Ian Lepore wrote:
>>> Well, for example, it seems like it would allow anyone to execute a
>>> binary even if the sysadmin had set it to -x
On 05/15/2017 15:32, Bryan Drewery wrote:
> On 5/15/2017 12:29 PM, Konstantin Belousov wrote:
>> On Mon, May 15, 2017 at 12:25:20PM -0700, Bryan Drewery wrote:
>>> On 5/15/2017 12:00 PM, Konstantin Belousov wrote:
On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> On Mon,
On Mon, May 15, 2017 at 10:25:29PM +0300, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 01:08:55PM -0600, Ian Lepore wrote:
> > Well, for example, it seems like it would allow anyone to execute a
> > binary even if the sysadmin had set it to -x specifically to prevent
> > people from running
Author: stevek
Date: Mon May 15 19:32:26 2017
New Revision: 318314
URL: https://svnweb.freebsd.org/changeset/base/318314
Log:
Add information to open(2) man page about the O_VERIFY flag.
Reviewed by: bjk wblock
Approved by: sjg (mentor)
Obtained from:Juniper Networks, Inc.
Mo
On 5/15/2017 12:29 PM, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 12:25:20PM -0700, Bryan Drewery wrote:
>> On 5/15/2017 12:00 PM, Konstantin Belousov wrote:
>>> On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Bel
On Monday, May 15, 2017 11:43:21 AM Ian Lepore wrote:
> On Mon, 2017-05-15 at 10:13 -0700, John Baldwin wrote:
> > On Saturday, May 13, 2017 10:39:15 AM Warner Losh wrote:
> > >
> > > >
> > > > >
> > > > > - It's really easy to screw up a mergemaster call if you edit
> > > > > the files, and ins
On Mon, May 15, 2017 at 12:25:20PM -0700, Bryan Drewery wrote:
> On 5/15/2017 12:00 PM, Konstantin Belousov wrote:
> > On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> >> On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov wrote:
> >>> New Revision: 318313
> >>> URL: ht
On Mon, May 15, 2017 at 01:08:55PM -0600, Ian Lepore wrote:
> Well, for example, it seems like it would allow anyone to execute a
> binary even if the sysadmin had set it to -x specifically to prevent
> people from running it.
The direct mode does not (and cannot) honor set{u,g}id modes of the
exe
On 5/15/2017 12:00 PM, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
>> On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov wrote:
>>> New Revision: 318313
>>> URL: https://svnweb.freebsd.org/changeset/base/318313
>>>
>>> Log:
>>> Make ld
On Mon, May 15, 2017 at 03:09:33PM -0400, Nikolai Lifanov wrote:
> On 05/15/2017 14:52, Alexey Dokuchaev wrote:
> > Does it mean that old Linux' trick of /lib/ld-linux.so.2 /bin/chmod +x
> > /bin/chmod would now be possible on FreeBSD as well? Does this have
> > any security implications?
>
> Thi
On 05/15/2017 15:18, Jonathan Anderson wrote:
> On 15 May 2017, at 16:44, Jonathan Anderson wrote:
>
>> You can already execute "non-executable" binaries using the `exec`
>> shell built-in:
>>
>> ```
>> $ cp /bin/sh .
>> $ chmod -x sh
>> $ exec sh
>> ```
>
> Er, oops: I ought to have said, you ca
On 15 May 2017, at 16:44, Jonathan Anderson wrote:
You can already execute "non-executable" binaries using the `exec`
shell built-in:
```
$ cp /bin/sh .
$ chmod -x sh
$ exec sh
```
Er, oops: I ought to have said, you can execute non-executable binaries
by copying and marking them `+x`:
``
On 15 May 2017, at 16:38, Ian Lepore wrote:
On Mon, 2017-05-15 at 22:00 +0300, Konstantin Belousov wrote:
On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
Does this have any security implications?
What do you mean ?
Well, for example, it seems like it would allow anyone t
On Mon, May 15, 2017 at 01:08:55PM -0600, Ian Lepore wrote:
> On Mon, 2017-05-15 at 22:00 +0300, Konstantin Belousov wrote:
> > On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> > >
> > > On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov
> > > wrote:
> > > >
> > > >
On Mon, May 15, 2017 at 01:08:55PM -0600, Ian Lepore wrote:
> On Mon, 2017-05-15 at 22:00 +0300, Konstantin Belousov wrote:
> > On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> > > Does this have any security implications?
> >
> > What do you mean ?
>
> Well, for example, it se
On 05/15/2017 14:52, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov wrote:
>> New Revision: 318313
>> URL: https://svnweb.freebsd.org/changeset/base/318313
>>
>> Log:
>> Make ld-elf.so.1 directly executable.
>
> Does it mean that old Linux' trick of /lib/
On Mon, 2017-05-15 at 22:00 +0300, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> >
> > On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov
> > wrote:
> > >
> > > New Revision: 318313
> > > URL: https://svnweb.freebsd.org/changeset/base/
On Mon, May 15, 2017 at 10:00:30PM +0300, Konstantin Belousov wrote:
> On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> > On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov wrote:
> > > New Revision: 318313
> > > URL: https://svnweb.freebsd.org/changeset/base/318313
>
On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote:
> On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov wrote:
> > New Revision: 318313
> > URL: https://svnweb.freebsd.org/changeset/base/318313
> >
> > Log:
> > Make ld-elf.so.1 directly executable.
>
> Does it mean tha
On Mon, May 15, 2017 at 06:48:58PM +, Konstantin Belousov wrote:
> New Revision: 318313
> URL: https://svnweb.freebsd.org/changeset/base/318313
>
> Log:
> Make ld-elf.so.1 directly executable.
Does it mean that old Linux' trick of /lib/ld-linux.so.2 /bin/chmod +x
/bin/chmod would now be pos
On Mon, 2017-05-15 at 11:24 -0700, Ngie Cooper (yaneurabeya) wrote:
> >
> > On May 15, 2017, at 10:47, Ngie Cooper (yaneurabeya) > mail.com> wrote:
> >
> >
> > >
> > > On May 15, 2017, at 10:43, Ian Lepore wrote:
> > …
> >
> > >
> > > That's only a good argument for keeping the lines in the
Author: kib
Date: Mon May 15 18:48:58 2017
New Revision: 318313
URL: https://svnweb.freebsd.org/changeset/base/318313
Log:
Make ld-elf.so.1 directly executable.
Check if passed phdr is actually phdr of the interpreter itself, and
decide that this is the case of direct execution. In this
Author: kib
Date: Mon May 15 18:47:25 2017
New Revision: 318312
URL: https://svnweb.freebsd.org/changeset/base/318312
Log:
Fix the AT_EXECFD functionality.
If the mapped object is linked at specific address, we must obey it.
If AT_EXECFD is not used, only in-kernel ELF image activator nee
On 5/12/2017 8:10 PM, Ngie Cooper wrote:
> Author: ngie
> Date: Sat May 13 03:10:50 2017
> New Revision: 318250
> URL: https://svnweb.freebsd.org/changeset/base/318250
>
> Log:
> Handle the logfiles in newsyslog and syslogd conditionally, based on
> src.conf(5) knobs
>
> This will allow c
> On May 15, 2017, at 10:47, Ngie Cooper (yaneurabeya)
> wrote:
>
>
>> On May 15, 2017, at 10:43, Ian Lepore wrote:
>
> …
>
>> That's only a good argument for keeping the lines in the monolithic
>> file if those lines will be ignored when a file in the .conf.d
>> directory provides conflict
Author: np
Date: Mon May 15 18:18:32 2017
New Revision: 318307
URL: https://svnweb.freebsd.org/changeset/base/318307
Log:
cxgbe(4): Avoid an out of bounds access when an attempt to unbind a tx
queue from a traffic class fails.
Reported by: x ksi
MFC after:3 days
Modified:
head/
Author: emaste
Date: Mon May 15 18:02:13 2017
New Revision: 318305
URL: https://svnweb.freebsd.org/changeset/base/318305
Log:
makeman: reword description, based on feedback from wblock
Modified:
head/tools/build/options/makeman
Modified: head/tools/build/options/makeman
=
Author: emaste
Date: Mon May 15 17:57:09 2017
New Revision: 318304
URL: https://svnweb.freebsd.org/changeset/base/318304
Log:
getusershell: don't write past end of line buffer reading local shells
_local_initshells did not reset cp to the beginning of the line buffer
for every iteration t
Author: kib
Date: Mon May 15 17:54:36 2017
New Revision: 318303
URL: https://svnweb.freebsd.org/changeset/base/318303
Log:
Style.
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/lib/libc/stdlib/realpath.c
Modified: head/lib/libc/stdlib/realpath.c
Author: emaste
Date: Mon May 15 17:51:01 2017
New Revision: 318302
URL: https://svnweb.freebsd.org/changeset/base/318302
Log:
bsdgrep: don't allow negative -A / -B / -C
Previously, when given a negative -A/-B/-C argument bsdgrep would
overflow the respective context flag(s) and exhibited
> On May 15, 2017, at 10:43, Ian Lepore wrote:
…
> That's only a good argument for keeping the lines in the monolithic
> file if those lines will be ignored when a file in the .conf.d
> directory provides conflicting config. Otherwise my embedded product
> that drops different rules for rotati
On Mon, 2017-05-15 at 10:13 -0700, John Baldwin wrote:
> On Saturday, May 13, 2017 10:39:15 AM Warner Losh wrote:
> >
> > >
> > > >
> > > > - It's really easy to screw up a mergemaster call if you edit
> > > > the files, and install the stock version which removes the
> > > > edits.
> > > Also,
Author: kib
Date: Mon May 15 17:34:17 2017
New Revision: 318299
URL: https://svnweb.freebsd.org/changeset/base/318299
Log:
Simplify cleanup on failure in realpath(3).
If realpath() allocated memory for result and failed, the memory is
freed in each place where return is performed. More,
On Saturday, May 13, 2017 10:39:15 AM Warner Losh wrote:
> >> - It's really easy to screw up a mergemaster call if you edit the files,
> >> and install the stock version which removes the edits.
> >
> > Also, programmatically removing the entries means you have to bake the
> > metadata into etc/M
Author: kib
Date: Mon May 15 17:14:53 2017
New Revision: 318298
URL: https://svnweb.freebsd.org/changeset/base/318298
Log:
Fix several buffer overflows in realpath(3).
- The statement "left_len -= s - left;" does not take the slash into
account if one was found. This results in the invaria
Author: tsoome
Date: Mon May 15 16:53:02 2017
New Revision: 318297
URL: https://svnweb.freebsd.org/changeset/base/318297
Log:
e1000api: misleading-indentation
Two blocks in e1000_ich8lan.c are misaligned, causing noise with some
compilers (gcc 6).
Reviewed by: imp, erj
Differentia
Author: gjb
Date: Mon May 15 15:18:36 2017
New Revision: 318294
URL: https://svnweb.freebsd.org/changeset/base/318294
Log:
Correct the URL to instructions for updated system sources.
MFC after:3 days
Submitted by: schaiba gmail com
PR: 219303
Sponsored by: The FreeBSD
Author: rmacklem
Date: Mon May 15 13:14:13 2017
New Revision: 318287
URL: https://svnweb.freebsd.org/changeset/base/318287
Log:
Make nfscl_mtofh() return ENXIO when *nfhpp == NULL.
r317272 introduced a case where nfscl_mtofh() could return 0 when
*nfhpp is NULL. This patch makes it return
On Mon, May 15, 2017 at 10:02:45AM +, Konstantin Belousov wrote:
> Author: kib
> Date: Mon May 15 10:02:45 2017
> New Revision: 318285
> URL: https://svnweb.freebsd.org/changeset/base/318285
>
> Log:
> mnt_vnode_next_active: use conventional lock order when trylock fails.
>
> Previously
Author: kib
Date: Mon May 15 10:02:45 2017
New Revision: 318285
URL: https://svnweb.freebsd.org/changeset/base/318285
Log:
mnt_vnode_next_active: use conventional lock order when trylock fails.
Previously, when the VI_TRYLOCK failed, we would spin under the mutex
that protects the vnode a
71 matches
Mail list logo