Author: jilles
Date: Fri Nov 3 22:41:31 2017
New Revision: 325372
URL: https://svnweb.freebsd.org/changeset/base/325372
Log:
MFC r325017: libnv: Fix strict-aliasing violation with cookie
In r323851 (MFC'ed to stable/11 as r324831), some casts were adjusted in
calls to nvlist_next() and n
Author: jilles
Date: Thu Oct 26 18:32:04 2017
New Revision: 325017
URL: https://svnweb.freebsd.org/changeset/base/325017
Log:
libnv: Fix strict-aliasing violation with cookie
In rS323851, some casts were adjusted in calls to nvlist_next() and
nvlist_get_pararr() in order to make scan-buil
Author: jilles
Date: Sun Oct 22 20:01:07 2017
New Revision: 324866
URL: https://svnweb.freebsd.org/changeset/base/324866
Log:
libc: Do not refer to _DefaultRuneLocale in ctype inlines
Referring to _DefaultRuneLocale causes this >4KB structure to be copied to
all executables that use inli
Author: jilles
Date: Sun Oct 15 11:28:41 2017
New Revision: 324625
URL: https://svnweb.freebsd.org/changeset/base/324625
Log:
rc.subr: Remove test that is always true.
The code above always sets _pidcmd to a non-empty value.
Modified:
head/etc/rc.subr
Modified: head/etc/rc.subr
for these changes was performance.
Unfortunately, I do not have concrete benchmarks in the CloudABI
context.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: jilles
Date: Sun Aug 13 14:36:10 2017
New Revision: 322455
URL: https://svnweb.freebsd.org/changeset/base/322455
Log:
sh: Add test for sh -c with missing command string.
This already works correctly.
Added:
head/bin/sh/tests/invocation/sh-c-missing1.0 (contents, props changed)
Author: jilles
Date: Sat Aug 12 19:17:48 2017
New Revision: 322438
URL: https://svnweb.freebsd.org/changeset/base/322438
Log:
sh: Add tests for sh -c that already pass.
PR: 220587
Submitted by: Ryan Moeller
Added:
head/bin/sh/tests/invocation/
head/bin/sh/tests/invocation/M
Author: jilles
Date: Tue Jul 18 19:00:15 2017
New Revision: 321171
URL: https://svnweb.freebsd.org/changeset/base/321171
Log:
sh: Remove broken #ifdef NOHACK code (related to sh -c).
Apart from the fact that subtle syntactic changes make a poor compile-time
option, the NOHACK case has bee
Author: jilles
Date: Sat Jul 1 13:03:02 2017
New Revision: 320532
URL: https://svnweb.freebsd.org/changeset/base/320532
Log:
MFC r318592: compress: Allow uncompress -c with multiple pathnames,
as required by POSIX.
Per POSIX, allow passing multiple pathnames to uncompress -c, concatenati
Author: jilles
Date: Sat Jul 1 12:57:00 2017
New Revision: 320531
URL: https://svnweb.freebsd.org/changeset/base/320531
Log:
MFC r317912: sh: Fix INTOFF leak after a builtin with different locale
settings.
After executing a builtin with different locale settings such as
LC_ALL=C true
Author: jilles
Date: Fri Jun 30 22:16:28 2017
New Revision: 320518
URL: https://svnweb.freebsd.org/changeset/base/320518
Log:
MFC r318591: compress: Add basic tests.
Added:
stable/10/usr.bin/compress/tests/
- copied from r318591, head/usr.bin/compress/tests/
Modified:
stable/10/etc/mtr
Author: jilles
Date: Fri Jun 30 21:32:48 2017
New Revision: 320510
URL: https://svnweb.freebsd.org/changeset/base/320510
Log:
MFC r315005: sh: Fix executing wrong command with ${x#$(y)}$(z).
The parsed internal representation of words consists of a byte string with a
list of nodes (comman
Author: jilles
Date: Sun Jun 25 21:53:08 2017
New Revision: 320340
URL: https://svnweb.freebsd.org/changeset/base/320340
Log:
sh: Ignore error when cd writes the directory actually switched to.
If CDPATH is used non-trivially or the operand is "-", cd writes the
directory actually switche
Author: jilles
Date: Sun Jun 11 19:06:07 2017
New Revision: 319828
URL: https://svnweb.freebsd.org/changeset/base/319828
Log:
rc.subr: Optimize repeated sourcing.
When /etc/rc runs all /etc/rc.d scripts, it has already loaded /etc/rc.subr
but each /etc/rc.d script sources it again (since
Author: jilles
Date: Sun Jun 11 16:54:04 2017
New Revision: 319826
URL: https://svnweb.freebsd.org/changeset/base/319826
Log:
sh: Enable interrupts before executing EXIT trap and doing final flush.
Modified:
head/bin/sh/trap.c
Modified: head/bin/sh/trap.c
Author: jilles
Date: Wed Jun 7 21:21:14 2017
New Revision: 319663
URL: https://svnweb.freebsd.org/changeset/base/319663
Log:
libc: Remove futimens() and utimensat() compat stubs.
The futimens() and utimensat() compat stubs allowed using these functions on
kernels that did not have the sy
Author: jilles
Date: Tue Jun 6 21:08:05 2017
New Revision: 319635
URL: https://svnweb.freebsd.org/changeset/base/319635
Log:
sh: Call fc -e editor with interrupts enabled.
Starting the fc -e editor can execute arbitrary script, and executing
arbitrary script with INTOFF in effect may cau
Author: jilles
Date: Sun Jun 4 21:58:02 2017
New Revision: 319591
URL: https://svnweb.freebsd.org/changeset/base/319591
Log:
sh: Make sure to process SIGINT if SETINTON re-enables processing.
If INTON re-enables interrupts, it processes any interrupt that occurred
while interrupts were d
Author: jilles
Date: Sun Jun 4 21:39:37 2017
New Revision: 319590
URL: https://svnweb.freebsd.org/changeset/base/319590
Log:
tests/sys/aio: Add missing mode to open() calls with O_CREAT.
Modified:
head/tests/sys/aio/aio_test.c
Modified: head/tests/sys/aio/aio_test.c
Author: jilles
Date: Sun Jun 4 20:52:55 2017
New Revision: 319575
URL: https://svnweb.freebsd.org/changeset/base/319575
Log:
sh: Fix INTOFF leak when a redirection on a compound command fails.
Reported by: bdrewery
Added:
head/bin/sh/tests/errors/redirection-error8.0 (contents, props
Author: jilles
Date: Wed May 31 21:54:21 2017
New Revision: 319362
URL: https://svnweb.freebsd.org/changeset/base/319362
Log:
MFC r318592: compress: Allow uncompress -c with multiple pathnames,
as required by POSIX.
Per POSIX, allow passing multiple pathnames to uncompress -c, concatenati
Author: jilles
Date: Mon May 29 21:48:02 2017
New Revision: 319163
URL: https://svnweb.freebsd.org/changeset/base/319163
Log:
MFC r318591: compress: Add basic tests.
Added:
stable/11/usr.bin/compress/tests/
- copied from r318591, head/usr.bin/compress/tests/
Modified:
stable/11/etc/mtr
Author: jilles
Date: Sun May 21 14:35:16 2017
New Revision: 318592
URL: https://svnweb.freebsd.org/changeset/base/318592
Log:
compress: Allow uncompress -c with multiple pathnames, as required by POSIX.
Per POSIX, allow passing multiple pathnames to uncompress -c, concatenating
the uncomp
ress/tests/compress_test.shSun May 21 14:05:32
2017(r318591)
@@ -0,0 +1,174 @@
+# Copyright (c) 2017 Jilles Tjoelker
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are
Author: jilles
Date: Thu May 18 22:10:04 2017
New Revision: 318502
URL: https://svnweb.freebsd.org/changeset/base/318502
Log:
sh: Keep output buffer across builtins.
Allocating and deallocating repeatedly the 1024-byte buffer for stdout from
builtins costs CPU time for little or no benefi
Author: jilles
Date: Thu May 18 21:44:14 2017
New Revision: 318501
URL: https://svnweb.freebsd.org/changeset/base/318501
Log:
sh: Ensure memout.bufsize matches allocated buffer, if it exists.
Modified:
head/bin/sh/eval.c
head/bin/sh/output.c
Modified: head/bin/sh/eval.c
===
Author: jilles
Date: Tue May 16 21:54:51 2017
New Revision: 318385
URL: https://svnweb.freebsd.org/changeset/base/318385
Log:
sh: Simplify output buffering.
Similarly to how STPUTC was changed, change struct output to store the
pointer just past the end of the available space instead of t
Author: jilles
Date: Sun May 14 20:17:50 2017
New Revision: 318279
URL: https://svnweb.freebsd.org/changeset/base/318279
Log:
MFC r317912: sh: Fix INTOFF leak after a builtin with different locale
settings.
After executing a builtin with different locale settings such as
LC_ALL=C true
Author: jilles
Date: Sun May 14 13:14:19 2017
New Revision: 318269
URL: https://svnweb.freebsd.org/changeset/base/318269
Log:
sh: Fix '-' from quoted arithmetic in case/glob pattern range.
It does not make much sense to generate the '-' in a pattern bracket
expression using arithmetic exp
Author: jilles
Date: Sat May 13 20:28:32 2017
New Revision: 318258
URL: https://svnweb.freebsd.org/changeset/base/318258
Log:
sh: Add test for arithmetic expansion in [x-y] pattern range.
It does not make much sense to generate the '-' in a pattern bracket
expression using arithmetic expa
Author: jilles
Date: Fri May 12 14:38:09 2017
New Revision: 318238
URL: https://svnweb.freebsd.org/changeset/base/318238
Log:
MFC r317709: csplit: Fix check of fputs() return value, making csplit work
again.
As of r295638, fputs() returns the number of bytes written (if not more than
IN
Author: jilles
Date: Sun May 7 19:52:56 2017
New Revision: 317913
URL: https://svnweb.freebsd.org/changeset/base/317913
Log:
glob: Fix comment about collapsing asterisks after r317749.
After r317749, collapsing adjacent asterisks is still required, but for a
different reason.
Modified:
Author: jilles
Date: Sun May 7 19:49:46 2017
New Revision: 317912
URL: https://svnweb.freebsd.org/changeset/base/317912
Log:
sh: Fix INTOFF leak after a builtin with different locale settings.
After executing a builtin with different locale settings such as
LC_ALL=C true
SIGINT handl
rror = ioctl(fd, TIOCFLUSH, &what);
> This is correctly spelled tcflush(fd, TCIOFLUSH);
Alternatively, the above TCSANOW could be changed to TCSAFLUSH. The
effect is slightly different in that pending output is drained instead
of discarded.
In any case, the TIOCFLUSH ioctl is non-s
Author: jilles
Date: Sat May 6 13:28:42 2017
New Revision: 317882
URL: https://svnweb.freebsd.org/changeset/base/317882
Log:
sh: Update TOUR and comments for some code changes, some of them old.
Also, improve some terminology in TOUR and comments.
Modified:
head/bin/sh/TOUR
head/bin/s
Author: jilles
Date: Fri May 5 21:52:14 2017
New Revision: 317855
URL: https://svnweb.freebsd.org/changeset/base/317855
Log:
MFC r307769: daemon: Allow logging daemon stdout/stderr to file or syslog.
There are various new options, documented in the man page, to send the
daemon's standard
Author: jilles
Date: Tue May 2 21:56:20 2017
New Revision: 317709
URL: https://svnweb.freebsd.org/changeset/base/317709
Log:
csplit: Fix check of fputs() return value, making csplit work again.
As of r295638, fputs() returns the number of bytes written (if not more than
INT_MAX). This br
Author: jilles
Date: Sat Apr 29 21:48:11 2017
New Revision: 317598
URL: https://svnweb.freebsd.org/changeset/base/317598
Log:
printf: Output formatted data directly, instead of via asprintf.
Long ago, sh used to have its own optimized and restricted string formatting
implementation, which
Author: jilles
Date: Fri Apr 28 16:16:22 2017
New Revision: 317559
URL: https://svnweb.freebsd.org/changeset/base/317559
Log:
sh: Simplify handling of newlines in command substitution.
Unless we need to split on newlines, just append them as normal and remove
them at the end.
Modified:
Author: jilles
Date: Thu Apr 27 18:52:18 2017
New Revision: 317514
URL: https://svnweb.freebsd.org/changeset/base/317514
Log:
sh: Add some tests for command substitution final newline stripping.
Added:
head/bin/sh/tests/expansion/cmdsubst25.0 (contents, props changed)
head/bin/sh/tests/ex
Author: jilles
Date: Sun Apr 23 21:58:17 2017
New Revision: 317347
URL: https://svnweb.freebsd.org/changeset/base/317347
Log:
sh: Add tests for NUL byte in command substitution output.
Added:
head/bin/sh/tests/expansion/cmdsubst24.0 (contents, props changed)
Modified:
head/bin/sh/tests/ex
t returns -1 (if sysctl CTL_HW HW_PAGESIZE fails). It
probably makes more sense to abort() here to avoid confusing both humans
and static analyzers, and allow easier debugging if a bug causes it to
fail (instead of calculating bogus sizes from the -1 return value).
--
Jilles Tjoelker
_
Author: jilles
Date: Sat Apr 22 21:31:37 2017
New Revision: 317298
URL: https://svnweb.freebsd.org/changeset/base/317298
Log:
sh: Simplify setinteractive().
setsignal() does nothing if the signal disposition is already set correctly.
Modified:
head/bin/sh/options.c
head/bin/sh/trap.c
Author: jilles
Date: Sun Apr 16 22:10:02 2017
New Revision: 317039
URL: https://svnweb.freebsd.org/changeset/base/317039
Log:
sh: Fix use after free when resetting an in-use alias.
The special case of modifying an existing alias does not work correctly if
the alias is currently in use. In
Author: jilles
Date: Sun Apr 16 21:57:25 2017
New Revision: 317038
URL: https://svnweb.freebsd.org/changeset/base/317038
Log:
sh: Link the new test to the build.
Modified:
head/bin/sh/tests/parser/Makefile
Modified: head/bin/sh/tests/parser/Makefile
==
Author: jilles
Date: Sun Apr 16 21:42:43 2017
New Revision: 317037
URL: https://svnweb.freebsd.org/changeset/base/317037
Log:
sh: Fix unalias -a while an alias is currently in use.
It is a rare situation to modify aliases while an alias is currently in use,
but this is handled for plain u
Author: jilles
Date: Fri Apr 14 21:42:27 2017
New Revision: 316942
URL: https://svnweb.freebsd.org/changeset/base/316942
Log:
MFC r314686: sh: Fix crash if a -T trap is taken during command substitution.
Code like t=$(stat -f %m "$file") segfaulted if -T was active and a trap
was taken
Author: jilles
Date: Wed Apr 12 21:15:55 2017
New Revision: 316744
URL: https://svnweb.freebsd.org/changeset/base/316744
Log:
sh: Reduce size of limits table.
Modified:
head/bin/sh/miscbltin.c
Modified: head/bin/sh/miscbltin.c
=
Author: jilles
Date: Sat Apr 8 21:57:59 2017
New Revision: 316646
URL: https://svnweb.freebsd.org/changeset/base/316646
Log:
sh: Add test for unaliasing an alias that is currently in use.
This already works correctly.
Added:
head/bin/sh/tests/parser/alias16.0 (contents, props changed)
Author: jilles
Date: Sun Apr 2 15:53:11 2017
New Revision: 316421
URL: https://svnweb.freebsd.org/changeset/base/316421
Log:
sh: Remove an XXX comment: it is normal for builtins to use argptr.
Modified:
head/bin/sh/alias.c
Modified: head/bin/sh/alias.c
==
Author: jilles
Date: Sun Apr 2 14:02:10 2017
New Revision: 316418
URL: https://svnweb.freebsd.org/changeset/base/316418
Log:
sh: Remove global state from collate_range_cmp().
The global state is not used across invocations of collate_range_cmp().
Modified:
head/bin/sh/expand.c
Modified
Author: jilles
Date: Sun Apr 2 13:43:45 2017
New Revision: 316417
URL: https://svnweb.freebsd.org/changeset/base/316417
Log:
sh: Don't scan word twice in ${param=word}.
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
Author: jilles
Date: Sun Apr 2 13:29:27 2017
New Revision: 316416
URL: https://svnweb.freebsd.org/changeset/base/316416
Log:
sh: Don't scan word twice in ${param#%##%%word}.
If word is expanded, use the found end instead of iterating over the data
again.
Modified:
head/bin/sh/expand.c
Author: jilles
Date: Sun Apr 2 12:37:43 2017
New Revision: 316414
URL: https://svnweb.freebsd.org/changeset/base/316414
Log:
sh: Don't scan word twice in ${param+-word}.
There is no longer a case where argbackq has already been advanced but the
string pointer needs to be advanced.
Modif
Author: jilles
Date: Sun Mar 26 19:47:43 2017
New Revision: 316002
URL: https://svnweb.freebsd.org/changeset/base/316002
Log:
diff: Show nanoseconds in -u/-c header line.
Show nanoseconds in the -u/-c header line.
The present portability conditionals cannot handle the POSIX standard
Author: jilles
Date: Sun Mar 26 14:09:25 2017
New Revision: 315985
URL: https://svnweb.freebsd.org/changeset/base/315985
Log:
diff: Fix mtime of file1 in -u/-c header line.
PR: 218018
Reviewed by: bapt
Differential Revision:https://reviews.freebsd.org/D10140
Added:
Author: jilles
Date: Sun Mar 19 21:18:53 2017
New Revision: 315585
URL: https://svnweb.freebsd.org/changeset/base/315585
Log:
sh: Fix build with -DDEBUG=2.
With the new expansion code (word splitting during instead of after other
expansion processing), tracing the result of command substi
Author: jilles
Date: Sat Mar 18 20:41:07 2017
New Revision: 315511
URL: https://svnweb.freebsd.org/changeset/base/315511
Log:
sh: Remove unused function declaration for arith_lex_reset().
Reported by: Robert Elz
Modified:
head/bin/sh/arith.h
Modified: head/bin/sh/arith.h
==
Author: jilles
Date: Sat Mar 18 16:09:30 2017
New Revision: 315487
URL: https://svnweb.freebsd.org/changeset/base/315487
Log:
sh: Remove unused return value of subevalvar_misc().
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
===
Author: jilles
Date: Sat Mar 18 16:07:28 2017
New Revision: 315486
URL: https://svnweb.freebsd.org/changeset/base/315486
Log:
MFC r315005: sh: Fix executing wrong command with ${x#$(y)}$(z).
The parsed internal representation of words consists of a byte string with a
list of nodes (comman
Author: jilles
Date: Thu Mar 16 22:15:43 2017
New Revision: 315429
URL: https://svnweb.freebsd.org/changeset/base/315429
Log:
rtld(1): Document that LD_BIND_NOT is unset for setugid processes.
MFC after:2 weeks
Modified:
head/libexec/rtld-elf/rtld.1
Modified: head/libexec/rtld-elf/r
Author: jilles
Date: Thu Mar 16 21:53:55 2017
New Revision: 315428
URL: https://svnweb.freebsd.org/changeset/base/315428
Log:
sh: Get rid of global variable argbackq.
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
===
ts on Linux and Solaris.
Since this feature heavily affects timing (possibly making race
conditions easier to exploit) and may prevent making parts of the GOT
read-only, it seems a good idea to treat this environment variable as
dangerous for setuid and se
Author: jilles
Date: Sun Mar 12 19:49:08 2017
New Revision: 315179
URL: https://svnweb.freebsd.org/changeset/base/315179
Log:
MFC r314637: sh: Add some already working tests that exercise new code paths
Added:
stable/10/bin/sh/tests/expansion/cmdsubst18.0
- copied unchanged from r314637,
Author: jilles
Date: Sun Mar 12 18:38:03 2017
New Revision: 315169
URL: https://svnweb.freebsd.org/changeset/base/315169
Log:
MFC r314686: sh: Fix crash if a -T trap is taken during command substitution
Code like t=$(stat -f %m "$file") segfaulted if -T was active and a trap
was taken w
Author: jilles
Date: Sun Mar 12 18:24:45 2017
New Revision: 315168
URL: https://svnweb.freebsd.org/changeset/base/315168
Log:
MFC r314637: sh: Add some already working tests that exercise new code paths
Added:
stable/11/bin/sh/tests/expansion/cmdsubst18.0
- copied unchanged from r314637,
Author: jilles
Date: Fri Mar 10 16:04:00 2017
New Revision: 315005
URL: https://svnweb.freebsd.org/changeset/base/315005
Log:
sh: Fix executing wrong command with ${unsetvar#$(cmdsubst)}$(cmdsubst).
The parsed internal representation of words consists of a byte string with a
list of nodes
X5675 @ 3.07GHz
On the other hand, the old method is slower on an old
hw.model: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Apparently, LLVM has decided to trade considerably worse performance on
CPUs such as Core2 for better performance on newer and older CPUs. What
is somewhat surprising is that there is no way to use the GCC method.
Then again, LLVM does not support bypassing the PLT either (loading the
address from the GOT directly).
Given that the old method is quite commonly used, it does not seem very
likely that CPU manufacturers will pessimize it in future.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: jilles
Date: Sat Mar 4 22:58:34 2017
New Revision: 314686
URL: https://svnweb.freebsd.org/changeset/base/314686
Log:
sh: Fix crash if a -T trap is taken during command substitution.
Code like t=$(stat -f %m "$file") segfaulted if -T was active and a trap
was taken while the she
Author: jilles
Date: Fri Mar 3 22:46:20 2017
New Revision: 314637
URL: https://svnweb.freebsd.org/changeset/base/314637
Log:
sh: Add some already working tests that exercise new code paths.
Added:
head/bin/sh/tests/expansion/cmdsubst18.0 (contents, props changed)
head/bin/sh/tests/expans
Author: jilles
Date: Sun Feb 12 18:52:01 2017
New Revision: 313685
URL: https://svnweb.freebsd.org/changeset/base/313685
Log:
MFC r313174: Clean up documentation of AF_UNIX control messages.
Document AF_UNIX control messages in unix(4) only, not split between unix(4)
and recv(2).
Als
Author: jilles
Date: Fri Feb 10 15:03:54 2017
New Revision: 313553
URL: https://svnweb.freebsd.org/changeset/base/313553
Log:
MFC r313174: Clean up documentation of AF_UNIX control messages.
Document AF_UNIX control messages in unix(4) only, not split between unix(4)
and recv(2).
Als
Author: jilles
Date: Sun Feb 5 21:31:40 2017
New Revision: 313303
URL: https://svnweb.freebsd.org/changeset/base/313303
Log:
MFC r310096: reaper: Make REAPER_KILL_SUBTREE actually work.
Modified:
stable/10/sys/kern/kern_procctl.c
stable/10/tests/sys/kern/reaper.c
Directory Properties:
st
Author: jilles
Date: Sun Feb 5 20:55:01 2017
New Revision: 313302
URL: https://svnweb.freebsd.org/changeset/base/313302
Log:
MFC r310096: reaper: Make REAPER_KILL_SUBTREE actually work.
Modified:
stable/11/sys/kern/kern_procctl.c
stable/11/tests/sys/kern/reaper.c
Directory Properties:
st
Author: jilles
Date: Sun Feb 5 15:46:05 2017
New Revision: 313288
URL: https://svnweb.freebsd.org/changeset/base/313288
Log:
MFC r312721: skel: Remove reference to deleted part in previous commit
to this file.
Modified:
stable/10/share/skel/dot.shrc
Directory Properties:
stable/10/ (pr
Author: jilles
Date: Sun Feb 5 14:25:31 2017
New Revision: 313286
URL: https://svnweb.freebsd.org/changeset/base/313286
Log:
MFC r312721: skel: Remove reference to deleted part in previous commit
to this file.
Modified:
stable/11/share/skel/dot.shrc
Directory Properties:
stable/11/ (pr
Author: jilles
Date: Fri Feb 3 20:33:23 2017
New Revision: 313174
URL: https://svnweb.freebsd.org/changeset/base/313174
Log:
Clean up documentation of AF_UNIX control messages.
Document AF_UNIX control messages in unix(4) only, not split between unix(4)
and recv(2).
Also, warn about
enable the builtin vi(1) command
> ^^^
> documentation error please correct that too.
Fixed, thanks.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-al
Author: jilles
Date: Tue Jan 24 21:07:13 2017
New Revision: 312721
URL: https://svnweb.freebsd.org/changeset/base/312721
Log:
skel: Remove reference to deleted part in previous commit to this file.
Reported by: Rodney W. Grimes
MFC after:1 week
Modified:
head/share/skel/dot.shrc
Author: jilles
Date: Sun Jan 22 21:34:26 2017
New Revision: 312654
URL: https://svnweb.freebsd.org/changeset/base/312654
Log:
MFC r312230: skel: Do not set -o emacs in .shrc.
sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set
this again in .shrc, since that only s
Author: jilles
Date: Sun Jan 22 21:31:32 2017
New Revision: 312653
URL: https://svnweb.freebsd.org/changeset/base/312653
Log:
MFC r312230: skel: Do not set -o emacs in .shrc.
sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set
this again in .shrc, since that only s
Author: jilles
Date: Sun Jan 15 13:40:14 2017
New Revision: 312230
URL: https://svnweb.freebsd.org/changeset/base/312230
Log:
skel: Do not set -o emacs in .shrc.
sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set
this again in .shrc, since that only serves to prev
On Wed, Jan 11, 2017 at 02:14:13AM -0800, Ngie Cooper (yaneurabeya) wrote:
> > On Aug 11, 2015, at 6:45 PM, Craig Rodrigues wrote:
> >
> > On Tue, Aug 11, 2015 at 2:59 PM, Jilles Tjoelker > <mailto:jil...@freebsd.org>> wrote:
> > Author: jilles
> &
ong; it should be the length
of the whole structure and not just the sun_path part. Fortunately, the
field is ignored by bind(), which uses the addrlen parameter instead.
On a more general note, refactoring tests without a way to verify they
have not been changed to always pass is risky :(
--
> -
> - WantReapchild = signo;
I think setting a volatile sig_atomic_t variable in a signal handler is
fine. This would avoid dropping different signal numbers if many signals
arrive before the main loop gets around to process them.
> - /* Send an wake-up signal to the select() loop. */
&
Author: jilles
Date: Mon Dec 26 17:26:25 2016
New Revision: 310610
URL: https://svnweb.freebsd.org/changeset/base/310610
Log:
MFC r309957: Add tests for reaper receiving SIGCHLD (r309886).
PR: 213928
Modified:
stable/10/tests/sys/kern/reaper.c
Directory Properties:
stable/10/
Author: jilles
Date: Mon Dec 26 14:39:05 2016
New Revision: 310601
URL: https://svnweb.freebsd.org/changeset/base/310601
Log:
MFC r309957: Add tests for reaper receiving SIGCHLD (r309886).
PR: 213928
Modified:
stable/11/tests/sys/kern/reaper.c
Directory Properties:
stable/11/
ewly added)
+++ stable/10/tests/sys/kern/reaper.c Sun Dec 25 22:32:16 2016
(r310558, copy of r309836, head/tests/sys/kern/reaper.c)
@@ -0,0 +1,494 @@
+/*-
+ * Copyright (c) 2016 Jilles Tjoelker
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with
disabled for any serious software development, in my humble opinion.
It will build, but not in a way I can call "fine".
This indeed makes it very hard to justify extensions to format strings.
Special formatting will need to use new functions.
--
Jilles Tjoelker
_
newly added)
+++ stable/11/tests/sys/kern/reaper.c Sun Dec 18 15:10:08 2016
(r310231, copy of r309836, head/tests/sys/kern/reaper.c)
@@ -0,0 +1,494 @@
+/*-
+ * Copyright (c) 2016 Jilles Tjoelker
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or
Author: jilles
Date: Wed Dec 14 22:49:20 2016
New Revision: 310096
URL: https://svnweb.freebsd.org/changeset/base/310096
Log:
reaper: Make REAPER_KILL_SUBTREE actually work.
MFC after:2 weeks
Modified:
head/sys/kern/kern_procctl.c
head/tests/sys/kern/reaper.c
Modified: head/sys/ke
( wpa_cli ifname | tail -1 )
> + INPUT=$( ifconfig $WLAN_IFACE list regdomain | head -1 )
> DEF_REGDOMAIN=$( echo $INPUT | cut -w -f 2 )
> DEF_COUNTRY=$( echo $INPUT | cut -w -f 4 )
> [ "$DEF_REGDOMAIN" = 0 ] && DEF_REGDOMAIN=&qu
Author: jilles
Date: Mon Dec 12 22:51:29 2016
New Revision: 309957
URL: https://svnweb.freebsd.org/changeset/base/309957
Log:
Add tests for reaper receiving SIGCHLD (r309886).
PR: 213928
MFC after:2 weeks
Modified:
head/tests/sys/kern/reaper.c
Modified: head/tests/sys/ke
Jilles Tjoelker
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of
Author: jilles
Date: Sun Dec 4 16:00:25 2016
New Revision: 309536
URL: https://svnweb.freebsd.org/changeset/base/309536
Log:
MFC r309026: open(2): Clarify non-POSIX error when opening a symlink with
O_NOFOLLOW.
We return [EMLINK] instead of [ELOOP] when trying to open a symlink with
O_
Author: jilles
Date: Sun Dec 4 15:59:04 2016
New Revision: 309535
URL: https://svnweb.freebsd.org/changeset/base/309535
Log:
Add missing mergeinfo for r309533.
Modified:
Directory Properties:
stable/11/ (props changed)
___
svn-src-all@freebsd.org
Author: jilles
Date: Sun Dec 4 15:55:59 2016
New Revision: 309533
URL: https://svnweb.freebsd.org/changeset/base/309533
Log:
MFC r309026: open(2): Clarify non-POSIX error when opening a symlink with
O_NOFOLLOW.
We return [EMLINK] instead of [ELOOP] when trying to open a symlink with
O_
by: Panzura, Tama Communications Corporation
Consider making this a static-only library or a part of an existing
library such as libc or libutil, since the overhead of a shared object
is rather big compared to the amount of code here.
Thanks for not linking this to the build right away.
--
Author: jilles
Date: Tue Nov 22 22:30:55 2016
New Revision: 309026
URL: https://svnweb.freebsd.org/changeset/base/309026
Log:
open(2): Clarify non-POSIX error when opening a symlink with O_NOFOLLOW.
We return [EMLINK] instead of [ELOOP] when trying to open a symlink with
O_NOFOLLOW, so th
Author: jilles
Date: Sun Nov 20 18:21:05 2016
New Revision: 308896
URL: https://svnweb.freebsd.org/changeset/base/308896
Log:
rc.subr: $(ps -p $$ -o jid=) is always 0, so do not fork ps for it.
The JID keyword writes 0 for a process also in the host system or in the
same jail.
Modified:
101 - 200 of 1824 matches
Mail list logo