Author: ed
Date: Sat Aug 1 07:21:14 2015
New Revision: 286146
URL: https://svnweb.freebsd.org/changeset/base/286146
Log:
Add kern_shm_open().
This allows you to specify the capabilities that the new file descriptor
should have. This allows us to create shared memory objects that only
h
Author: ed
Date: Sat Aug 1 07:51:48 2015
New Revision: 286147
URL: https://svnweb.freebsd.org/changeset/base/286147
Log:
Allow CloudABI processes to create shared memory objects.
Summary:
Use the newly created `kern_shm_open()` function to create objects with
just the rights that are a
Author: bapt
Date: Sat Aug 1 08:35:20 2015
New Revision: 286148
URL: https://svnweb.freebsd.org/changeset/base/286148
Log:
Use strtoumax instead of strtoul
Modified:
head/usr.sbin/chkgrp/chkgrp.c
Modified: head/usr.sbin/chkgrp/chkgrp.c
===
Author: bapt
Date: Sat Aug 1 08:39:55 2015
New Revision: 286149
URL: https://svnweb.freebsd.org/changeset/base/286149
Log:
Handle +:*:: the same way we handle +::: when checking group file
The first is what the documentation recommands for NIS client
Modified:
head/usr.sbin/chkgrp/chkgr
Hi Luiz,
2015-07-31 23:43 GMT+02:00 Luiz Otavio O Souza :
> - while (d->bd_hbuf_in_use)
> - mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock,
> - PRINET, "bd_hbuf", 0);
Would it make sense to replace them by an assertion, instead of
omitting
Author: bapt
Date: Sat Aug 1 09:55:47 2015
New Revision: 286150
URL: https://svnweb.freebsd.org/changeset/base/286150
Log:
Cast uid/git to uintmax_t when using printf-like functions so the size of
uid/gid size remains a implementation detail
Modified:
head/usr.sbin/pw/pw_conf.c
head/usr.
Author: bapt
Date: Sat Aug 1 10:10:13 2015
New Revision: 286151
URL: https://svnweb.freebsd.org/changeset/base/286151
Log:
Validate the max_uid/max_gid boundaries and entry type in pw.conf
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/usr.sbin/pw/pw_conf.c
Author: bapt
Date: Sat Aug 1 10:25:55 2015
New Revision: 286152
URL: https://svnweb.freebsd.org/changeset/base/286152
Log:
Validate expiration days and password days from commmand line and pw.conf
Modified:
head/usr.sbin/pw/pw.c
head/usr.sbin/pw/pw_conf.c
head/usr.sbin/pw/pw_user.c
hea
On Sat, 1 Aug 2015, Baptiste Daroussin wrote:
Log:
Use strtoumax instead of strtoul
This does nothing good, and breaks 32-bit arches.
Modified: head/usr.sbin/chkgrp/chkgrp.c
==
--- head/usr.sbin/chkgrp/chkgrp.c
Author: bapt
Date: Sat Aug 1 10:40:17 2015
New Revision: 286153
URL: https://svnweb.freebsd.org/changeset/base/286153
Log:
Revert r286148
Modified:
head/usr.sbin/chkgrp/chkgrp.c
Modified: head/usr.sbin/chkgrp/chkgrp.c
=
Author: bapt
Date: Sat Aug 1 11:31:59 2015
New Revision: 286154
URL: https://svnweb.freebsd.org/changeset/base/286154
Log:
Fix formatting of new code
Fix sorting or errstr
Remove useless initialisation or errstr
Reported by: bde
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/
Author: bapt
Date: Sat Aug 1 11:52:48 2015
New Revision: 286155
URL: https://svnweb.freebsd.org/changeset/base/286155
Log:
Fix build
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/usr.sbin/pw/pw_conf.c
==
--- h
Author: bapt
Date: Sat Aug 1 12:18:48 2015
New Revision: 286156
URL: https://svnweb.freebsd.org/changeset/base/286156
Log:
Partial revert of r286152
More work needed on the cli validation
Modified:
head/usr.sbin/pw/pw.c
head/usr.sbin/pw/pw_conf.c
head/usr.sbin/pw/pw_user.c
head/us
Author: bapt
Date: Sat Aug 1 12:20:55 2015
New Revision: 286157
URL: https://svnweb.freebsd.org/changeset/base/286157
Log:
Remove things that crept in after badly checked revert
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/usr.sbin/pw/pw_conf.c
===
On Wed, Jul 29, 2015 at 08:52:52AM +1000, Bruce Evans wrote:
> On Tue, 28 Jul 2015, Baptiste Daroussin wrote:
> > Added: head/usr.sbin/pw/tests/pw_groupadd.sh
> > ==
> > --- /dev/null 00:00:00 1970 (empty, because f
On 7/31/15 8:29 PM, Pedro F. Giffuni wrote:
Author: pfg
Date: Sat Aug 1 01:29:55 2015
New Revision: 286144
URL: https://svnweb.freebsd.org/changeset/base/286144
Log:
Buffer overflow in wall(1).
Revert r286102 and apply a cleaner fix.
Tested for overflows by FORTIFY_SOURCE GSoC (with c
On 08/01/15 09:34, Eric van Gyzen wrote:
On 7/31/15 8:29 PM, Pedro F. Giffuni wrote:
Author: pfg
Date: Sat Aug 1 01:29:55 2015
New Revision: 286144
URL: https://svnweb.freebsd.org/changeset/base/286144
Log:
Buffer overflow in wall(1).
Revert r286102 and apply a cleaner fix.
Tested
Author: jhb
Date: Sat Aug 1 16:27:52 2015
New Revision: 286158
URL: https://svnweb.freebsd.org/changeset/base/286158
Log:
Clear P_TRACED before reparenting a detached process back to its
original parent. Otherwise the debugee will be set as an orphan of
the debugger.
Add tests for trac
On Sat, 1 Aug 2015, Jilles Tjoelker wrote:
On Wed, Jul 29, 2015 at 08:52:52AM +1000, Bruce Evans wrote:
On Tue, 28 Jul 2015, Baptiste Daroussin wrote:
Added: head/usr.sbin/pw/tests/pw_groupadd.sh
==
--- /dev/null 00:
Author: jmg
Date: Sat Aug 1 17:27:47 2015
New Revision: 286159
URL: https://svnweb.freebsd.org/changeset/base/286159
Log:
use : instead of true...
Change file file to file1 file2, partly for igor, and partly because
it's odd to pass the same file to a command twice..
Modified:
head/us
Author: junovitch (ports committer)
Date: Sat Aug 1 17:29:52 2015
New Revision: 286160
URL: https://svnweb.freebsd.org/changeset/base/286160
Log:
- Add myself to the committers-ports.dot and add my mentor relationship.
- Add myself to the calendar.freebsd.
Approved by: delphij (mentor)
On Saturday, August 01, 2015 07:51:48 AM Ed Schouten wrote:
> Author: ed
> Date: Sat Aug 1 07:51:48 2015
> New Revision: 286147
> URL: https://svnweb.freebsd.org/changeset/base/286147
>
> Log:
> Allow CloudABI processes to create shared memory objects.
>
> Summary:
> Use the newly create
Author: junovitch (ports committer)
Date: Sat Aug 1 17:48:35 2015
New Revision: 286161
URL: https://svnweb.freebsd.org/changeset/base/286161
Log:
- Add myself to the calendar.freebsd. (fix typo in r286160)
Approved by: delphij (mentor)
Differential Revision:https://reviews.FreeB
On Sun, Aug 02, 2015 at 02:59:00AM +1000, Bruce Evans wrote:
> On Sat, 1 Aug 2015, Jilles Tjoelker wrote:
> > These values are easily written using arithmetic expansion, for example
> > largeid=$((0x1)).
> Not really. Shells are also very buggy or limited in this area. I
> often use old
Author: hselasky
Date: Sat Aug 1 20:40:37 2015
New Revision: 286162
URL: https://svnweb.freebsd.org/changeset/base/286162
Log:
Free mbufs when busdma loading fails.
Reviewed by: erj, sbruno
MFC after:1 month
Modified:
head/sys/dev/e1000/if_em.c
head/sys/dev/e1000/if_igb.c
Modi
2015-08-01 17:34 GMT+02:00 John Baldwin :
> Can you please not use 'arc commit'?
Sure!
That said, maybe there is something we can do to make it integrate
with our workflow so that it does work the way we want. Or maybe we
could somehow administratively disable 'arc commit', so that others
don't d
> On Aug 1, 2015, at 4:50 AM, Ed Schouten wrote:
>
> Hi Luiz,
>
> 2015-07-31 23:43 GMT+02:00 Luiz Otavio O Souza :
>> - while (d->bd_hbuf_in_use)
>> - mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock,
>> - PRINET, "bd_hbuf", 0);
>
> Would
Author: jilles
Date: Sat Aug 1 22:00:25 2015
New Revision: 286163
URL: https://svnweb.freebsd.org/changeset/base/286163
Log:
rc.subr: Allow rc.conf.d with multi-directory local_startup.
I also changed ${...%*/rc.d} to ${...%/rc.d} since the shortest match always
has an empty string for t
Author: gonzo
Date: Sat Aug 1 23:10:36 2015
New Revision: 286165
URL: https://svnweb.freebsd.org/changeset/base/286165
Log:
Set output pin initial value based on pin's pinmux pullup/pulldown setup
Some of FDT blobs for AM335x-based devices use pinmux pullup/pulldown
flag to setup initial
On 01/08/2015 10:01 a.m., Pedro Giffuni wrote:
On 08/01/15 09:34, Eric van Gyzen wrote:
On 7/31/15 8:29 PM, Pedro F. Giffuni wrote:
Author: pfg
Date: Sat Aug 1 01:29:55 2015
New Revision: 286144
URL: https://svnweb.freebsd.org/changeset/base/286144
Log:
Buffer overflow in wall(1).
Author: markj
Date: Sun Aug 2 00:03:08 2015
New Revision: 286166
URL: https://svnweb.freebsd.org/changeset/base/286166
Log:
Don't modify curthread->td_locks unless INVARIANTS is enabled.
This field is only used in a KASSERT that verifies that no locks are held
when returning to user mode
Author: markj
Date: Sun Aug 2 00:11:56 2015
New Revision: 286167
URL: https://svnweb.freebsd.org/changeset/base/286167
Log:
Avoid dereferencing curthread->td_proc->p_cred in DTrace probe context.
When a process is exiting, there is a narrow window where p_cred may be
NULL while its threa
Author: jmg
Date: Sun Aug 2 00:15:52 2015
New Revision: 286168
URL: https://svnweb.freebsd.org/changeset/base/286168
Log:
convert to C11's _Static_assert, and pull in sys/cdefs.h for
compatibility w/ older non-C11 compilers...
passed make tinerdbox..
Suggested by: imp
Modified:
h
Author: markj
Date: Sun Aug 2 00:18:48 2015
New Revision: 286169
URL: https://svnweb.freebsd.org/changeset/base/286169
Log:
Perform bounds checking when constructing a format string.
This was detected by the FORTIFY_SOURCE build.
PR: 201657
Reported by: pfg
MFC after:
Author: jmg
Date: Sun Aug 2 00:22:14 2015
New Revision: 286170
URL: https://svnweb.freebsd.org/changeset/base/286170
Log:
mark this function as deprecated, and put the warning first, since I
doubt most people will read to the end... Note the use of sys/cdefs.h
for pre-C11 compilers...
Author: markj
Date: Sun Aug 2 00:23:18 2015
New Revision: 286171
URL: https://svnweb.freebsd.org/changeset/base/286171
Log:
- Remove hardcoded paths for the perl executable.
- Rather than assuming that a process is listening on 127.0.0.1:22, use
nc(1) to find an available port and bind to
Author: markj
Date: Sun Aug 2 00:24:21 2015
New Revision: 286172
URL: https://svnweb.freebsd.org/changeset/base/286172
Log:
Don't hardcode the module or function component of lockstat probes.
MFC after:1 week
Modified:
head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
Author: bapt
Date: Sun Aug 2 00:33:34 2015
New Revision: 286173
URL: https://svnweb.freebsd.org/changeset/base/286173
Log:
Remove netbsd tests on pw(8)
First they are redundant with the tests we currently have on pw(8)
Second they to modify the host database instead of being self contain
Author: markj
Date: Sun Aug 2 00:37:33 2015
New Revision: 286174
URL: https://svnweb.freebsd.org/changeset/base/286174
Log:
Add a src.conf option to build and install the DTrace test suite.
Reviewed by: gnn, ngie
Differential Revision:https://reviews.freebsd.org/D3195
Added:
Author: markj
Date: Sun Aug 2 00:56:16 2015
New Revision: 286175
URL: https://svnweb.freebsd.org/changeset/base/286175
Log:
Regenerate after r286174.
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/man/man5/src.conf.5
===
Author: marcel
Date: Sun Aug 2 01:09:30 2015
New Revision: 286176
URL: https://svnweb.freebsd.org/changeset/base/286176
Log:
Rename busdma_sync() to busdma_sync_range() and rename the
base and size parameters to ofs and len (resp). Add a new
busdma_sync() that makes the entire MD coherent.
Author: jhb
Date: Sun Aug 2 02:00:20 2015
New Revision: 286177
URL: https://svnweb.freebsd.org/changeset/base/286177
Log:
Fix a couple of markup typos.
MFC after:2 weeks
Modified:
head/lib/libc/stdio/open_memstream.3
Modified: head/lib/libc/stdio/open_memstream.3
==
> On Aug 1, 2015, at 17:33, Baptiste Daroussin wrote:
>
> Author: bapt
> Date: Sun Aug 2 00:33:34 2015
> New Revision: 286173
> URL: https://svnweb.freebsd.org/changeset/base/286173
>
> Log:
> Remove netbsd tests on pw(8)
>
> First they are redundant with the tests we currently have on pw(8
Author: bapt
Date: Sun Aug 2 02:23:30 2015
New Revision: 286178
URL: https://svnweb.freebsd.org/changeset/base/286178
Log:
Add removed tests to ObsoleteFiles.inc
Submitted by: ngie
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFiles.inc
===
Baptiste Daroussin wrote:
> This breaks using fmake from ports because of usage of :U in sys.mk
Oops - sorry.
I saw Warner posted a patch for this which looked ok, but doesn't appear
to have been committed.
> is compatible with FreeBSD 9 (not that I'm just speaking about sys.mk not
> other
> pa
On Sun, 2 Aug 2015, John-Mark Gurney wrote:
Log:
convert to C11's _Static_assert, and pull in sys/cdefs.h for
compatibility w/ older non-C11 compilers...
This include is bogus. already depends on the includer
including other headers that include . Mainly .
defined massive namespace pollu
Bryan Drewery wrote:
> > head/share/mk/local.sys.mk
>
> I'm bothered by the amount of local.* files committed in the tree. I
> expect, as a user and working in a downstream product, that a local.*
> file is MINE, not FREEBSD. The pattern of using 'local' is quite common
> as a *user* file.
Yes
Bruce Evans wrote this message on Sun, Aug 02, 2015 at 14:10 +1000:
> On Sun, 2 Aug 2015, John-Mark Gurney wrote:
>
> > Log:
> > convert to C11's _Static_assert, and pull in sys/cdefs.h for
> > compatibility w/ older non-C11 compilers...
>
> This include is bogus. already depends on the inclu
On Sat, 1 Aug 2015, Jilles Tjoelker wrote:
On Sun, Aug 02, 2015 at 02:59:00AM +1000, Bruce Evans wrote:
On Sat, 1 Aug 2015, Jilles Tjoelker wrote:
These values are easily written using arithmetic expansion, for example
largeid=$((0x1)).
Not really. Shells are also very buggy or lim
On Sun, 2 Aug 2015, John-Mark Gurney wrote:
Log:
mark this function as deprecated, and put the warning first, since I
doubt most people will read to the end... Note the use of sys/cdefs.h
for pre-C11 compilers...
This function shouldn't be deprecated. It is a kernel wrapper with a
good na
50 matches
Mail list logo