Page MenuHomeFreeBSD
Feed Advanced Search

Sat, Jul 20

delphij added a comment to D20721: motd: Generate from template to /var/run.

LGTM, thanks!

Sat, Jul 20, 1:44 AM
D20721: motd: Generate from template to /var/run is now accepted and ready to land.
Sat, Jul 20, 1:43 AM

Fri, Jul 19

delphij added a comment to D20721: motd: Generate from template to /var/run.

Thanks! Please see my comment inline.

Fri, Jul 19, 8:31 PM

Thu, Jul 18

delphij committed rS350109: errno.h is no longer needed as of r340239 so remove it..
errno.h is no longer needed as of r340239 so remove it.
Thu, Jul 18, 7:37 AM
delphij committed rS350108: Remove support for FreeBSD 10.x..
Remove support for FreeBSD 10.x.
Thu, Jul 18, 7:26 AM

Mon, Jul 8

delphij accepted D19706: Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib..
Mon, Jul 8, 9:25 PM
delphij added a comment to D19706: Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib..

Thanks! This looks mostly good to me. I intend to commit this version with some minor tweaks after some testing in a day or two, so please yell if you don't agree with some change proposals (commented inline).

Mon, Jul 8, 9:25 PM

Thu, Jul 4

delphij committed rS349719: MFC r349505: Upgrade to Bzip2 version 1.0.7..
MFC r349505: Upgrade to Bzip2 version 1.0.7.
Thu, Jul 4, 7:36 AM
delphij committed rS349718: MFC r349505: Upgrade to Bzip2 version 1.0.7..
MFC r349505: Upgrade to Bzip2 version 1.0.7.
Thu, Jul 4, 7:32 AM
delphij committed rS349717: MFC r349505: Upgrade to Bzip2 version 1.0.7..
MFC r349505: Upgrade to Bzip2 version 1.0.7.
Thu, Jul 4, 7:29 AM

Mon, Jul 1

D19706: Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib. now requires changes to proceed.
Mon, Jul 1, 4:40 PM

Sat, Jun 29

delphij committed rS349549: MFV r349535: less v551..
MFV r349535: less v551.
Sat, Jun 29, 6:42 PM
delphij committed rS349536: Tag less v551..
Tag less v551.
Sat, Jun 29, 4:43 AM
delphij committed rS349535: Vendor import of less v551..
Vendor import of less v551.
Sat, Jun 29, 4:39 AM

Fri, Jun 28

delphij committed rS349505: Upgrade to Bzip2 version 1.0.7..
Upgrade to Bzip2 version 1.0.7.
Fri, Jun 28, 5:11 AM
delphij committed rS349497: "Tag" the Bzip2 1.0.7 vendor import..
"Tag" the Bzip2 1.0.7 vendor import.
Fri, Jun 28, 1:58 AM
delphij committed rS349496: Vendor import bzip2 -- upgrade to version 1.0.7..
Vendor import bzip2 -- upgrade to version 1.0.7.
Fri, Jun 28, 1:54 AM
delphij committed rS349495: Update upgrade instructions..
Update upgrade instructions.
Fri, Jun 28, 1:53 AM

Thu, Jun 27

D20780: Add support for getting early entropy from the UEFI RNG protocol now requires changes to proceed.
Thu, Jun 27, 10:22 PM ยท security, arm64

Tue, Jun 25

D20721: motd: Generate from template to /var/run now requires changes to proceed.
Tue, Jun 25, 4:37 PM

Jun 20 2019

delphij added a comment to D19918: sys: Remove DEV_RANDOM device option.

I think I have accepted back in April but let's make it an explicit one. Be sure to update the dates though.

Jun 20 2019, 5:59 PM

Jun 19 2019

delphij added a comment to D20698: Make it possible not to send MFH emails.
In D20698#447294, @mat wrote:

I don't know about this, I think it is better to send an email that is ignored than silently doing things.

Jun 19 2019, 3:53 PM
D20698: Make it possible not to send MFH emails is now accepted and ready to land.
Jun 19 2019, 3:49 PM
delphij added a comment to D20193: Relocate crc32 functions from libkern.h to gsb_crc32.h/c.

Committed as rS349151

Jun 19 2019, 2:37 PM
D20193: Relocate crc32 functions from libkern.h to gsb_crc32.h/c is now accepted and ready to land.
Jun 19 2019, 2:37 PM
delphij edited reviewers for D20193: Relocate crc32 functions from libkern.h to gsb_crc32.h/c, added: ota_j.email.ne.jp; removed: delphij.
Jun 19 2019, 2:37 PM

Jun 18 2019

D20686: random(4): Fix a regression in short AES mode reads is now accepted and ready to land.
Jun 18 2019, 6:47 PM

Jun 17 2019

delphij committed rS349151: Separate kernel crc32() implementation to its own header (gsb_crc32.h) and.
Separate kernel crc32() implementation to its own header (gsb_crc32.h) and
Jun 17 2019, 7:49 PM
D20313: Fortuna: allow increased concurrency is now accepted and ready to land.
Jun 17 2019, 7:36 PM
D20313: Fortuna: allow increased concurrency is now accepted and ready to land.
Jun 17 2019, 6:33 PM
D20313: Fortuna: allow increased concurrency now requires changes to proceed.
Jun 17 2019, 5:55 PM

Jun 15 2019

delphij committed rS349048: In ask(): override default option if any of alwaysyes/alwaysno/rdonly is.
In ask(): override default option if any of alwaysyes/alwaysno/rdonly is
Jun 15 2019, 7:23 AM
delphij committed rS349047: Blankspace. No actual code change..
Blankspace. No actual code change.
Jun 15 2019, 6:52 AM

Jun 11 2019

delphij committed rS348967: Avoid out of boundary access when checking invalid long filenames..
Avoid out of boundary access when checking invalid long filenames.
Jun 11 2019, 10:21 PM

Jun 7 2019

delphij accepted D20312: random(4): Generalize algorithm-independent APIs.

For the microoptimization: Note that it's possible to avoid the additional branching by doing unlock in both cases, e.g.:

Jun 7 2019, 10:07 PM
delphij added a comment to D20312: random(4): Generalize algorithm-independent APIs.

Actually, the delay/sleep is probably not necessary (releasing the lock is sufficient for another thread to race in).

Jun 7 2019, 9:05 PM
delphij accepted D20312: random(4): Generalize algorithm-independent APIs.

LGTM but please amend the wmsg message to not exceed 6 characters (see comment inline) prior to commit.

Jun 7 2019, 8:11 PM
delphij committed rS348769: MFC r348302:.
MFC r348302:
Jun 7 2019, 2:36 AM
delphij committed rS348767: preen should work independently with alwaysyes and alwaysno..
preen should work independently with alwaysyes and alwaysno.
Jun 7 2019, 1:39 AM

Jun 4 2019

delphij requested changes to D20517: fsck_msdosfs: Use le32enc/le16enc macros to simplify.
Jun 4 2019, 8:29 PM
delphij committed rS348602: Don't increment cl after increment..
Don't increment cl after increment.
Jun 4 2019, 7:02 AM

May 31 2019

delphij accepted D20466: random(4): Fix RANDOM_LOADABLE build.
May 31 2019, 5:41 PM

May 30 2019

delphij committed rS348382: MFC r348302:.
MFC r348302:
May 30 2019, 4:09 AM
delphij committed rS348381: Unexpand be32dec()..
Unexpand be32dec().
May 30 2019, 2:24 AM
delphij accepted D20466: random(4): Fix RANDOM_LOADABLE build.
May 30 2019, 2:19 AM

May 28 2019

delphij accepted D20448: style.9: Codify tolerance for eliding blank lines.
May 28 2019, 6:19 PM

May 27 2019

delphij committed rS348302: Chase r261913: hardcoded default crypt(3) algorithm is SHA-512 when DES.
Chase r261913: hardcoded default crypt(3) algorithm is SHA-512 when DES
May 27 2019, 6:37 AM

May 25 2019

delphij committed rS348261: MFC r347244:.
MFC r347244:
May 25 2019, 1:58 AM

May 24 2019

delphij added a comment to D20366: Bug 182518: Support crypt parameters in login.conf.

This version does not change the default, but allows users to change the parameters.

May 24 2019, 5:40 PM
delphij requested changes to D20366: Bug 182518: Support crypt parameters in login.conf.

In the Kitchener/Waterloo hackathon we discussed the plan as three parts

  1. (This patch) allow users to overwrite the default parameters through login.conf
May 24 2019, 4:33 PM
delphij added a comment to D17083: Alter the prototype of qsort_r(3) to match glibc..

Ping?

May 24 2019, 5:36 AM
delphij committed rS348225: Remove kgzip and kgzldr..
Remove kgzip and kgzldr.
May 24 2019, 5:35 AM
delphij closed D20248: Delete kgzip and kgzldr..
May 24 2019, 5:34 AM
delphij updated the diff for D20248: Delete kgzip and kgzldr..

Rebase and minor fixup.

May 24 2019, 3:06 AM
delphij commandeered D20248: Delete kgzip and kgzldr..
May 24 2019, 3:04 AM
delphij committed rS348222: cryptodeflate: Drop z_stream zbuf.state->dummy from SDT probe..
cryptodeflate: Drop z_stream zbuf.state->dummy from SDT probe.
May 24 2019, 2:44 AM
delphij closed D20222: Drop z_stream zbuf.state->dummy from SDT probe..
May 24 2019, 2:44 AM

May 23 2019

delphij requested changes to D20366: Bug 182518: Support crypt parameters in login.conf.

(also see D15713)

May 23 2019, 5:24 PM
delphij committed rS348149: MFC r347244:.
MFC r347244:
May 23 2019, 5:50 AM
delphij closed D20190: Delete #include <sys/inflate.h> from sys/mips..
May 23 2019, 5:17 AM
delphij committed rS348148: Delete unneeded #include <sys/inflate.h> from sys/mips..
Delete unneeded #include <sys/inflate.h> from sys/mips.
May 23 2019, 5:17 AM

May 22 2019

delphij accepted D20358: save-entropy(8), rc.d/random: Set nodump flag.
May 22 2019, 9:25 PM
delphij requested changes to D20358: save-entropy(8), rc.d/random: Set nodump flag.

Looks good to me overall, but please remove the warn (see comment inline for reasoning).

May 22 2019, 8:20 PM

May 21 2019

delphij accepted D20344: Add deprecation warnings for weaker algorithms to geli(4)..
May 21 2019, 10:49 PM
delphij accepted D20318: random(4): deduplicate explicit_bzero() in harvest.

Looks good to me in principal.

May 21 2019, 2:16 AM

May 19 2019

delphij committed rS347977: MFC r347488,347606: Update leap-seconds to leap-seconds.3676924800..
MFC r347488,347606: Update leap-seconds to leap-seconds.3676924800.
May 19 2019, 6:31 PM
delphij committed rS347965: MFC r347488,347606: Update leap-seconds to leap-seconds.3676924800..
MFC r347488,347606: Update leap-seconds to leap-seconds.3676924800.
May 19 2019, 4:56 AM

May 16 2019

delphij added inline comments to D20193: Relocate crc32 functions from libkern.h to gsb_crc32.h/c.
May 16 2019, 4:55 PM
delphij committed rP501771: Update to 0.5.2..
Update to 0.5.2.
May 16 2019, 5:50 AM

May 15 2019

delphij committed rS347606: Replace the leap-seconds file in r347488 from USNO with a.
Replace the leap-seconds file in r347488 from USNO with a
May 15 2019, 3:39 AM

May 14 2019

delphij accepted D20222: Drop z_stream zbuf.state->dummy from SDT probe..

LGTM.

May 14 2019, 6:07 PM
delphij added reviewers for D20222: Drop z_stream zbuf.state->dummy from SDT probe.: markj, bz.

+markj and bz@ for the DTrace probe.

May 14 2019, 5:58 PM

May 13 2019

delphij accepted D20248: Delete kgzip and kgzldr..
May 13 2019, 4:13 PM
delphij accepted D20239: Fortuna: Fix false negatives in is_random_seeded().
May 13 2019, 4:11 PM
delphij accepted D20222: Drop z_stream zbuf.state->dummy from SDT probe..

I think this can go independently with other changes: is there some reason that you would like to wait instead of proceeding?

May 13 2019, 3:55 PM

May 12 2019

delphij accepted D20242: Depessimize arc4rand.

Looks reasonable to me.

May 12 2019, 4:09 AM

May 11 2019

delphij committed rS347488: Update leap-seconds to leap-seconds.3757622400..
Update leap-seconds to leap-seconds.3757622400.
May 11 2019, 2:22 PM

May 10 2019

delphij accepted D20218: Do not return NULL from the Intel hw PRNG ifunc resolver..
May 10 2019, 12:15 AM

May 9 2019

delphij accepted D20190: Delete #include <sys/inflate.h> from sys/mips..

Warner -- can you commit this change?

May 9 2019, 4:47 PM

May 8 2019

delphij committed rS347244: Move contrib/zlib to sys/contrib/zlib so that we can use it in kernel..
Move contrib/zlib to sys/contrib/zlib so that we can use it in kernel.
May 8 2019, 4:50 PM
delphij closed D20191: Relocate contrib/zlib to sys/contrib/zlib so that we can use this in kernel..

Committed as rS347244.

May 8 2019, 4:45 PM
delphij accepted D20195: random: Don't complain noisily when an entropy source is slow.

I think the change as-is is fine.

May 8 2019, 8:58 AM
delphij accepted D20191: Relocate contrib/zlib to sys/contrib/zlib so that we can use this in kernel..

I'll commit this after a universe build.

May 8 2019, 8:27 AM
delphij accepted D20192: random: x86 driver: Prefer RDSEED over RDRAND when available.

LGTM in principle

May 8 2019, 12:35 AM

May 6 2019

delphij accepted D20163: Remove IPSEC from GENERIC due to performance issues.

No objection from me.

May 6 2019, 5:57 PM

Apr 21 2019

delphij added inline comments to D19928: random(4): More thoroughly attempt to ensure seeding during priming.
Apr 21 2019, 7:08 AM

Apr 18 2019

delphij accepted D19944: random(4): Restore availability tradeoff prior to r346250.
Apr 18 2019, 7:15 PM
delphij added inline comments to D19944: random(4): Restore availability tradeoff prior to r346250.
Apr 18 2019, 5:22 PM
delphij accepted D19944: random(4): Restore availability tradeoff prior to r346250.

(I'm not against with the overall plan, but see my comments about use of hash function inline).

Apr 18 2019, 5:04 PM

Apr 17 2019

delphij added inline comments to D19928: random(4): More thoroughly attempt to ensure seeding during priming.
Apr 17 2019, 11:29 PM
delphij added inline comments to D19944: random(4): Restore availability tradeoff prior to r346250.
Apr 17 2019, 11:19 PM

Apr 16 2019

delphij requested changes to D19928: random(4): More thoroughly attempt to ensure seeding during priming.
Apr 16 2019, 8:37 PM
delphij accepted D19927: stack_protector: Add tunable to bypass random cookies.

For a stopgap fix I think it's fine. Note that it's probably better to derive __stack_chk_guard from SHA512 of something that we change often (e.g. __FreeBSD_version) concatenate with something that potentially varies, like getcyclecount(), for the fallback guard data: these are not secure random numbers, but would make it harder for an attacker to develop more generic smashing attack.

Apr 16 2019, 6:34 PM
delphij accepted D19926: random(4): Add is_random_seeded(9) KPI.
Apr 16 2019, 4:36 PM

Apr 15 2019

delphij added a comment to D19918: sys: Remove DEV_RANDOM device option.

I'm in favor of this change; please consider this as an explicit "accepted" if nobody objects in a week.

Apr 15 2019, 10:16 PM
delphij accepted D19744: random(4): Block read_random(9) on initial seeding.

The code changes looks good to me -- and thanks for working on this!

Apr 15 2019, 7:09 AM
delphij committed rS346220: Don't cast result from malloc()..
Don't cast result from malloc().
Apr 15 2019, 6:33 AM

Apr 12 2019

delphij accepted D19713: tpm: Prevent session hijack..

I don't really know the internals of this driver (ideally this should be done by someone who is familiar with it), but are we sure that the write method is always called before a read? Also, if the discard callout is fired, should the owner tid be reset (because the contents is now discarded)?

If the write method hasn't been called before a read then there will be nothing in the buffer and the read will fail - as pending_data_length equals 0.
Essentially the way it works is that write is used to do the entire communication with TPM and read just copies the response to userspace.
As for the discard callout, since it also clears the buffer read would fail either way and tid is not checked in write, as it is used only to restrict access to buffer contents which is empty when a write is performed.

Apr 12 2019, 3:49 PM
delphij committed rS346147: MFC r345647:.
MFC r345647:
Apr 12 2019, 2:27 AM
delphij committed rS346146: MFC r345647:.
MFC r345647:
Apr 12 2019, 2:24 AM