Page MenuHomeFreeBSD
Feed Advanced Search

May 5 2016

jilles added a comment to D6221: Wait for root mount hold release in etc/rc.d/fsck..

In rare situations, this might cause 2 times a root_hold_delay: if devices that need fsck appear later and other devices for mountcritlocal appear even later. I suppose it is not a major issue. Fixing it would probably require giving up the separation of fsck and mountcritlocal.

May 5 2016, 10:13 PM

May 3 2016

jilles accepted D6188: sh: Handle empty hostname and $PWD when building prompt.

OK for the bin/sh/parser.c change.

May 3 2016, 9:47 PM

Apr 30 2016

jilles added inline comments to D5846: Fix for ports/208534.
Apr 30 2016, 9:22 PM
jilles accepted D6093: Remove useless calls to basename()..

This may lead to somewhat ugly messages like

-/bin/sh: Syntax error: ")" unexpected

for newgrp -l (where -sh: used to appear) but I think newgrp is not used often enough to warrant making this more complicated.

Apr 30 2016, 1:51 PM

Apr 29 2016

jilles added inline comments to D5846: Fix for ports/208534.
Apr 29 2016, 7:54 PM

Apr 25 2016

jilles accepted D5977: msdosfs: Prevent buffer overflow when expanding win95 names.
In D5977#129534, @kristof wrote:

This is good because it looks like it will at least prevent the panic, but it may not make the files accessible since there need not be a short name. Adding a comment may be appropriate.

It's my understanding that there should always be a short filename (to keep the fs usable as a plain fat fs). I've deliberately chosen to use that one instead of truncating the name (as netbsd does) to avoid getting in the situation where two directory entries have the same (truncated) name.

Apr 25 2016, 2:10 PM

Apr 24 2016

jilles added a comment to D5977: msdosfs: Prevent buffer overflow when expanding win95 names.

This is good because it looks like it will at least prevent the panic, but it may not make the files accessible since there need not be a short name. Adding a comment may be appropriate.

Apr 24 2016, 10:58 PM
jilles requested changes to D5846: Fix for ports/208534.

I think the idea of sourcing the rc.d script is good but the implementation here has some issues.

Apr 24 2016, 10:42 PM

Apr 17 2016

jilles committed rS298157: mail: Don't truncate mtime of mailbox to microseconds..
mail: Don't truncate mtime of mailbox to microseconds.
Apr 17 2016, 8:00 PM

Apr 16 2016

jilles committed rS298109: sh: Write LINENO value to stack string directly..
sh: Write LINENO value to stack string directly.
Apr 16 2016, 12:15 PM

Apr 13 2016

jilles committed rS297937: sh: Simplify code by removing variable bracketed_name..
sh: Simplify code by removing variable bracketed_name.
Apr 13 2016, 8:32 PM

Apr 10 2016

jilles committed rS297783: MFC r278817: touch: Fix some subtle bugs related to NULL times fallback:.
MFC r278817: touch: Fix some subtle bugs related to NULL times fallback:
Apr 10 2016, 3:24 PM
jilles committed rS297782: MFC r277645: cp,mv,touch: Set timestamps with nanosecond precision..
MFC r277645: cp,mv,touch: Set timestamps with nanosecond precision.
Apr 10 2016, 3:02 PM

Apr 9 2016

jilles committed rS297767: MFC r259017: test: Avoid looking up again the type of a known binary.
MFC r259017: test: Avoid looking up again the type of a known binary
Apr 9 2016, 9:56 PM
jilles committed rS297766: MFC r258799: test: Simplify the code by unifying op_num and op_type..
MFC r258799: test: Simplify the code by unifying op_num and op_type.
Apr 9 2016, 9:50 PM
jilles committed rS297765: MFC r281086: utimensat: Correct Capsicum required capability rights..
MFC r281086: utimensat: Correct Capsicum required capability rights.
Apr 9 2016, 9:05 PM
jilles committed rS297759: MFC r287753: setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD)..
MFC r287753: setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD).
Apr 9 2016, 7:29 PM
jilles committed rS297752: sh: Fix some unquoted variables in tests..
sh: Fix some unquoted variables in tests.
Apr 9 2016, 4:06 PM
jilles committed rS297750: MFC r297360: sh: Fix use-after-free if a trap replaces itself..
MFC r297360: sh: Fix use-after-free if a trap replaces itself.
Apr 9 2016, 2:24 PM
jilles committed rS297749: MFC r278818: sh: Add stsavestr(), like savestr() but allocates using.
MFC r278818: sh: Add stsavestr(), like savestr() but allocates using
Apr 9 2016, 2:09 PM
jilles committed rS297747: MFC r295385: semget(): Check for [EEXIST] error first..
MFC r295385: semget(): Check for [EEXIST] error first.
Apr 9 2016, 1:32 PM

Apr 8 2016

jilles committed rS297719: MFC r295384: semget(2): Add missing [EINVAL] conditions..
MFC r295384: semget(2): Add missing [EINVAL] conditions.
Apr 8 2016, 3:44 PM

Mar 29 2016

jilles accepted D5774: libc: stop exporting cerror.

Looks good to me (but probably avoid MFC).

Mar 29 2016, 7:01 PM

Mar 28 2016

jilles committed rS297360: sh: Fix use-after-free if a trap replaces itself..
sh: Fix use-after-free if a trap replaces itself.
Mar 28 2016, 6:59 PM

Mar 27 2016

jilles committed rS297314: rc.d: Make msgs a proper rc.d script..
rc.d: Make msgs a proper rc.d script.
Mar 27 2016, 4:28 PM

Mar 13 2016

jilles committed rS296813: sh: Fix copying uninitialized field 'special'..
sh: Fix copying uninitialized field 'special'.
Mar 13 2016, 10:54 PM

Mar 12 2016

jilles accepted D5610: Fix handling of umtxp resource limit in sh(1), limits(1), and login.conf(5)..
Mar 12 2016, 1:37 PM · manpages

Mar 11 2016

jilles requested changes to D5610: Fix handling of umtxp resource limit in sh(1), limits(1), and login.conf(5)..
Mar 11 2016, 11:24 PM · manpages

Mar 9 2016

jilles committed rS296578: sh: Add test for 'set -o nolog'..
sh: Add test for 'set -o nolog'.
Mar 9 2016, 9:05 PM
jilles committed rS296577: sh: Avoid out-of-bounds access in setoptionbyindex() for 'set -o nolog'..
sh: Avoid out-of-bounds access in setoptionbyindex() for 'set -o nolog'.
Mar 9 2016, 9:01 PM

Mar 7 2016

jilles accepted D5571: libc/{i386,amd64}: Do not export .cerror when building WITHOUT_SYMVER.
Mar 7 2016, 10:30 PM

Mar 6 2016

jilles committed rS296434: libc: Add some tests for memcmp()..
libc: Add some tests for memcmp().
Mar 6 2016, 6:42 PM
jilles committed rS296429: sh: Fix some dead stores..
sh: Fix some dead stores.
Mar 6 2016, 5:24 PM

Mar 2 2016

jilles committed rS296327: sh: Remove a redundant STPUTC check..
sh: Remove a redundant STPUTC check.
Mar 2 2016, 10:53 PM
jilles committed rS296326: sh: Don't trust that signal descriptions fit within 49 bytes..
sh: Don't trust that signal descriptions fit within 49 bytes.
Mar 2 2016, 9:25 PM

Feb 29 2016

jilles accepted D5289: Refactor the AIO code..
Feb 29 2016, 10:49 PM

Feb 23 2016

jilles committed rS295937: sh: Fix set -v and multiline history after r295825..
sh: Fix set -v and multiline history after r295825.
Feb 23 2016, 10:44 PM

Feb 21 2016

jilles committed rS295868: sh: Don't hash alias name when there are no aliases..
sh: Don't hash alias name when there are no aliases.
Feb 21 2016, 8:58 PM
jilles committed rS295866: sh: Optimize setprompt(0)..
sh: Optimize setprompt(0).
Feb 21 2016, 6:54 PM
jilles committed rS295862: sh: Remove unnecessary flushouts while reading script..
sh: Remove unnecessary flushouts while reading script.
Feb 21 2016, 4:48 PM

Feb 19 2016

jilles committed rS295825: sh: Rework code to remove '\0' from shell input..
sh: Rework code to remove '\0' from shell input.
Feb 19 2016, 9:53 PM
jilles committed rS295818: sh: Add tests for comments in sh -c..
sh: Add tests for comments in sh -c.
Feb 19 2016, 4:56 PM

Feb 11 2016

jilles added inline comments to D5255: Replace all resource occurrences of '0UL/~0UL' with '0/~0'..
Feb 11 2016, 11:23 PM

Feb 7 2016

jilles committed rS295385: semget(): Check for [EEXIST] error first..
semget(): Check for [EEXIST] error first.
Feb 7 2016, 10:12 PM
jilles committed rS295384: semget(2): Add missing [EINVAL] conditions..
semget(2): Add missing [EINVAL] conditions.
Feb 7 2016, 9:25 PM

Jan 30 2016

jilles committed rS295085: sh: Don't allocate a redirtab if there are no redirections..
sh: Don't allocate a redirtab if there are no redirections.
Jan 30 2016, 9:21 PM
jilles committed rS295083: sh(1): Document 'cd -'..
sh(1): Document 'cd -'.
Jan 30 2016, 8:10 PM
jilles committed rS295082: test: Optimize operator lookup..
test: Optimize operator lookup.
Jan 30 2016, 8:00 PM
jilles added inline comments to D4843: net/svnup: Fix libssl linking.
Jan 30 2016, 12:53 PM

Jan 27 2016

jilles committed rS294963: MFC r294565: sem: Don't free nameinfo that is still in list when open().
MFC r294565: sem: Don't free nameinfo that is still in list when open()
Jan 27 2016, 10:56 PM

Jan 24 2016

jilles committed rS294692: sh: Constify internal representation in expand.c..
sh: Constify internal representation in expand.c.
Jan 24 2016, 10:26 PM
jilles committed rS294667: sh: Remove a global variable from cd.c..
sh: Remove a global variable from cd.c.
Jan 24 2016, 5:01 PM

Jan 23 2016

jilles committed rS294649: sh: Use OLDPWD shell variable for 'cd -'..
sh: Use OLDPWD shell variable for 'cd -'.
Jan 23 2016, 11:00 PM

Jan 22 2016

jilles committed rS294593: sh: Clean a readonly local, even if the variable does not exist outside..
sh: Clean a readonly local, even if the variable does not exist outside.
Jan 22 2016, 8:10 PM
jilles committed rS294582: sh: Add already working test for local-readonly interaction..
sh: Add already working test for local-readonly interaction.
Jan 22 2016, 6:11 PM
jilles committed rS294565: sem: Don't free nameinfo that is still in list when open() fails..
sem: Don't free nameinfo that is still in list when open() fails.
Jan 22 2016, 2:52 PM

Jan 21 2016

jilles committed rS294532: MFC r294234: utimensat(2): Correct description of [EINVAL] error..
MFC r294234: utimensat(2): Correct description of [EINVAL] error.
Jan 21 2016, 9:17 PM

Jan 19 2016

jilles committed rS294348: sh: Simplify some code related to positional parameters..
sh: Simplify some code related to positional parameters.
Jan 19 2016, 10:41 PM
jilles accepted D4862: Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp..

Looks good to me.

Jan 19 2016, 10:02 PM

Jan 17 2016

jilles committed rS294234: utimensat(2): Correct description of [EINVAL] error..
utimensat(2): Correct description of [EINVAL] error.
Jan 17 2016, 9:14 PM

Jan 15 2016

jilles committed rS294099: MFC r293783: futimens/utimensat: Use the new system calls..
MFC r293783: futimens/utimensat: Use the new system calls.
Jan 15 2016, 8:56 PM
jilles added a comment to D4862: Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp..

This adds a requirement that the test be run as root and that securelevel be -1 or 0, which may not be desirable. To prevent compatibility problems, a line

TEST_METADATA.truncate_test+=  required_user="root"

should be added to usr.bin/truncate/tests/Makefile.

Jan 15 2016, 8:39 PM

Jan 12 2016

jilles committed rS293783: Update futimens/utimensat for MFC to stable/10:.
Update futimens/utimensat for MFC to stable/10:
Jan 12 2016, 8:54 PM

Jan 10 2016

jilles committed rS293635: sh: Update associated state when restoring locals while leaving a function..
sh: Update associated state when restoring locals while leaving a function.
Jan 10 2016, 4:31 PM

Jan 7 2016

jilles committed rS293392: sh: Reduce size of options table..
sh: Reduce size of options table.
Jan 7 2016, 11:13 PM
jilles committed rS293371: sh: Add a test for 'cd -'..
sh: Add a test for 'cd -'.
Jan 7 2016, 9:46 PM
jilles committed rS293359: sh: Ensure OPTIND=1 in subshell without forking does not affect outer env..
sh: Ensure OPTIND=1 in subshell without forking does not affect outer env.
Jan 7 2016, 8:48 PM

Jan 5 2016

jilles committed rS293204: Add sbin and /usr/local directories to _PATH_DEFPATH..
Add sbin and /usr/local directories to _PATH_DEFPATH.
Jan 5 2016, 4:21 PM

Jan 3 2016

jilles committed rS293120: sh: Link tests/builtins/getopts9.0 to the build..
sh: Link tests/builtins/getopts9.0 to the build.
Jan 3 2016, 10:16 PM
jilles committed rS293118: sh: Reduce size of builtins table..
sh: Reduce size of builtins table.
Jan 3 2016, 9:30 PM

Dec 31 2015

jilles committed rS293002: sh: Remove redundant CTLQUOTEMARK checks..
sh: Remove redundant CTLQUOTEMARK checks.
Dec 31 2015, 8:16 PM
jilles committed rS292995: sh: Reindent expandmeta()..
sh: Reindent expandmeta().
Dec 31 2015, 6:56 PM
jilles committed rS292994: sh: Perform pathname generation during the first expansion phases..
sh: Perform pathname generation during the first expansion phases.
Dec 31 2015, 6:48 PM
jilles committed rS292991: sh: Perform IFS splitting during the first expansion phases..
sh: Perform IFS splitting during the first expansion phases.
Dec 31 2015, 5:51 PM

Dec 29 2015

jilles committed rS292887: sh: Split subevalvar() in #/##/%/%% and =/? parts..
sh: Split subevalvar() in #/##/%/%% and =/? parts.
Dec 29 2015, 8:51 PM

Dec 28 2015

jilles committed rS292841: MFC r290515: periodic: Fix backwards compatibility for.
MFC r290515: periodic: Fix backwards compatibility for
Dec 28 2015, 9:35 PM

Dec 27 2015

jilles committed rS292786: MFC r292517: sh/mknodes: Close files and check for errors when writing..
MFC r292517: sh/mknodes: Close files and check for errors when writing.
Dec 27 2015, 5:53 PM
jilles committed rS292776: MFC r292513: clock_gettime(2),gettimeofday(2): Remove [EFAULT] error..
MFC r292513: clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.
Dec 27 2015, 3:30 PM

Dec 26 2015

jilles committed rS292758: sh: Add tests for #/##/%/%% on $* and $@..
sh: Add tests for #/##/%/%% on $* and $@.
Dec 26 2015, 10:28 PM
jilles accepted D4644: Replace implementation of hsearch() by one that scales..

Looks good to me.

Dec 26 2015, 2:51 PM

Dec 23 2015

jilles committed rS292664: MFC r292360: sh: Fix use-after-free when attempting to modify a read-only.
MFC r292360: sh: Fix use-after-free when attempting to modify a read-only
Dec 23 2015, 6:24 PM

Dec 22 2015

jilles added a comment to D4412: Let tsearch()/tdelete() use an AVL tree..
In D4412#98339, @ed wrote:

Done! I think that for now it makes sense to pick the following middle ground:

  • Let the tests use nrand48().
  • Initialize the random state with arc4random_buf().

This means that we still have the advantage of not fixing the test to a single sequence (which may not provide full coverage), but still allow for changing the test to use a fixed sequence in case we want to narrow down problems. Is this acceptable?

Dec 22 2015, 3:32 PM

Dec 21 2015

jilles added a comment to D4412: Let tsearch()/tdelete() use an AVL tree..
In D4412#97602, @ed wrote:
In D4412#97496, @jilles wrote:

A deterministic random number generator may be more useful for the test, so that runs can be reproduced.

Looks good to me otherwise.

Which random number generator do you suggest should be used in this case? Are *rand48() good for this purpose?

Dec 21 2015, 1:41 PM

Dec 20 2015

jilles committed rS292521: libc: Use namespace.h in a few more files..
libc: Use namespace.h in a few more files.
Dec 20 2015, 11:06 PM
jilles committed rS292517: sh/mknodes: Close files and check for errors when writing..
sh/mknodes: Close files and check for errors when writing.
Dec 20 2015, 4:40 PM
jilles committed rS292516: libthr: Don't use both __sys_open() and __sys_openat()..
libthr: Don't use both __sys_open() and __sys_openat().
Dec 20 2015, 4:34 PM
jilles committed rS292513: clock_gettime(2),gettimeofday(2): Remove [EFAULT] error..
clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.
Dec 20 2015, 3:11 PM
jilles committed rS292511: MFC r292130: exec(3): Fix COMPATIBILITY section: default path does not.
MFC r292130: exec(3): Fix COMPATIBILITY section: default path does not
Dec 20 2015, 1:41 PM

Dec 18 2015

jilles committed rS292450: MFC r291770: rc.subr: Check for running daemons before a custom start_cmd.
MFC r291770: rc.subr: Check for running daemons before a custom start_cmd
Dec 18 2015, 7:59 PM
jilles added a comment to D4412: Let tsearch()/tdelete() use an AVL tree..

A deterministic random number generator may be more useful for the test, so that runs can be reproduced.

Dec 18 2015, 5:01 PM

Dec 16 2015

jilles committed rS292360: sh: Fix use-after-free when attempting to modify a read-only variable..
sh: Fix use-after-free when attempting to modify a read-only variable.
Dec 16 2015, 10:10 PM

Dec 12 2015

jilles committed rS292130: exec(3): Fix COMPATIBILITY section: default path does not contain cwd..
exec(3): Fix COMPATIBILITY section: default path does not contain cwd.
Dec 12 2015, 3:58 PM

Dec 6 2015

jilles accepted D4405: Fix leak in mkfs_msdos(..).
Dec 6 2015, 8:11 PM
jilles committed rS291903: sh: Add limited test for ${#@} and ${#*}..
sh: Add limited test for ${#@} and ${#*}.
Dec 6 2015, 2:09 PM
jilles requested changes to D4405: Fix leak in mkfs_msdos(..).

I noticed two unexpected return -1. They are not a memory leak but inconsistent.

Dec 6 2015, 1:24 PM

Dec 5 2015

jilles committed rS291857: sh: Link tests/parameters/positional8.0 to the build..
sh: Link tests/parameters/positional8.0 to the build.
Dec 5 2015, 12:55 PM

Dec 4 2015

jilles committed rS291770: rc.subr: Check for running daemons before a custom start_cmd is executed..
rc.subr: Check for running daemons before a custom start_cmd is executed.
Dec 4 2015, 4:32 PM
jilles closed D4156: Check for running daemons before a custom start_cmd is executed by committing rS291770: rc.subr: Check for running daemons before a custom start_cmd is executed..
Dec 4 2015, 4:32 PM

Nov 27 2015

jilles added a comment to D4239: Fix alignment in ls -l with cldr locales.

I tried various locales and the output looks good to me. I found one minor nit in the code.

Nov 27 2015, 10:26 PM

Nov 24 2015

jilles committed rS291267: sh: Remove global state from nodes.c..
sh: Remove global state from nodes.c.
Nov 24 2015, 10:47 PM