Page MenuHomeFreeBSD

jlduran (Jose Luis Duran)
User

Projects

User Details

User Since
May 30 2017, 11:42 AM (469 w, 1 d)

Recent Activity

Yesterday

jlduran abandoned D57218: nanobsd: Unify makefs(8) ffs options.
Wed, May 27, 4:02 AM
jlduran committed rGf1de8e3511d0: nanobsd: Register the boot.config file in the metalog (authored by jlduran).
nanobsd: Register the boot.config file in the metalog
Wed, May 27, 12:38 AM
jlduran committed rGc579927ac591: nanobsd: Use makefs -R flag to honor rounded sizes (authored by jlduran).
nanobsd: Use makefs -R flag to honor rounded sizes
Wed, May 27, 12:37 AM
jlduran committed rG54359982309e: nanobsd: Adjust the order of the flags in makefs (authored by jlduran).
nanobsd: Adjust the order of the flags in makefs
Wed, May 27, 12:37 AM
jlduran committed rG87150a2ed140: nanobsd: Refactor secondary code partition logic (authored by jlduran).
nanobsd: Refactor secondary code partition logic
Wed, May 27, 12:37 AM
jlduran committed rGca2d4026c3f2: nanobsd: Fix code image size formatting (authored by jlduran).
nanobsd: Fix code image size formatting
Wed, May 27, 12:37 AM
jlduran committed rG318a85d4b201: nanobsd: Explicitly set image size and secsz in mkimg (authored by jlduran).
nanobsd: Explicitly set image size and secsz in mkimg
Wed, May 27, 12:37 AM
jlduran committed rGf1de49f50871: nanobsd: Offset code partition to a track boundary (authored by jlduran).
nanobsd: Offset code partition to a track boundary
Wed, May 27, 12:37 AM
jlduran committed rGdadbbccd8049: nanobsd: Account for metadata overhead in code slice (authored by jlduran).
nanobsd: Account for metadata overhead in code slice
Wed, May 27, 12:37 AM
jlduran committed rGbeddf2c59173: nanobsd: Use rounded sizes for cfg and data slices (authored by jlduran).
nanobsd: Use rounded sizes for cfg and data slices
Wed, May 27, 12:37 AM
jlduran closed D57225: nanobsd: Use makefs -R flag to honor rounded sizes.
Wed, May 27, 12:37 AM
jlduran committed rGd2a9ad033c3c: nanobsd: Remove spurious exit call (authored by jlduran).
nanobsd: Remove spurious exit call
Wed, May 27, 12:37 AM
jlduran closed D57226: nanobsd: Adjust the order of the flags in makefs.
Wed, May 27, 12:37 AM
jlduran closed D57224: nanobsd: Fix code image size formatting.
Wed, May 27, 12:37 AM
jlduran closed D57223: nanobsd: Refactor secondary code partition logic.
Wed, May 27, 12:37 AM
jlduran closed D57222: nanobsd: Explicitly set image size and secsz in mkimg.
Wed, May 27, 12:37 AM
jlduran closed D57221: nanobsd: Offset code partition to a track boundary.
Wed, May 27, 12:37 AM
jlduran committed rG9d133c76402e: nanobsd: Get the code size by its partition index (authored by jlduran).
nanobsd: Get the code size by its partition index
Wed, May 27, 12:37 AM
jlduran committed rG689f7466c1ae: nanobsd: Use NANO_IMG1NAME (authored by jlduran).
nanobsd: Use NANO_IMG1NAME
Wed, May 27, 12:37 AM
jlduran committed rG1dac971fbdfb: nanobsd: Minor style fixes (authored by jlduran).
nanobsd: Minor style fixes
Wed, May 27, 12:37 AM
jlduran closed D57220: nanobsd: Account for metadata overhead in code slice.
Wed, May 27, 12:37 AM
jlduran closed D57219: nanobsd: Use rounded sizes for cfg and data slices.
Wed, May 27, 12:37 AM
jlduran closed D57217: nanobsd: Remove spurious exit call.
Wed, May 27, 12:37 AM
jlduran closed D57216: nanobsd: Get the code size by its partition index.
Wed, May 27, 12:37 AM
jlduran closed D57040: nanobsd: Use NANO_IMG1NAME.
Wed, May 27, 12:37 AM
jlduran closed D57039: nanobsd: Minor style fixes.
Wed, May 27, 12:37 AM

Tue, May 26

jlduran committed rG7669a182c232: mtree: usr: Add missing pkg/triggers entry (authored by jlduran).
mtree: usr: Add missing pkg/triggers entry
Tue, May 26, 10:21 PM
jlduran added a comment to D57042: nanobsd: Fix NANO_MD_BACKING_SWAP md issues.

OK, thank you! Let's not go the tar route.

Tue, May 26, 8:32 PM
jlduran added a comment to D57218: nanobsd: Unify makefs(8) ffs options.
In D57218#1311215, @imp wrote:

So minfree=1 or =2 will avoid n^2 behavior in block allocations. If it's a read-only image, then that doesn't matter, but if the final image does a lot of that minfree=0 could be a problem and at least needs an note somewhere.

Tue, May 26, 8:28 PM
jlduran added a comment to D57042: nanobsd: Fix NANO_MD_BACKING_SWAP md issues.

Tue, May 26, 7:26 PM

Mon, May 25

jlduran added a comment to D57218: nanobsd: Unify makefs(8) ffs options.
In D57218#1311215, @imp wrote:

So minfree=1 or =2 will avoid n^2 behavior in block allocations. If it's a read-only image, then that doesn't matter, but if the final image does a lot of that minfree=0 could be a problem and at least needs an note somewhere.

Mon, May 25, 12:04 AM

Sun, May 24

jlduran added a comment to D57221: nanobsd: Offset code partition to a track boundary.
In D57221#1311207, @imp wrote:

With the proviso that track boundaries are almost useless today, even for MBR which once upon a time was tied to track boundaries.

Sun, May 24, 11:32 PM
jlduran added a comment to D57220: nanobsd: Account for metadata overhead in code slice.
In D57220#1311210, @imp wrote:

ok, but maybe 16 is better encoded as a variable name.

Sun, May 24, 11:29 PM
jlduran added a comment to D57226: nanobsd: Adjust the order of the flags in makefs.

Finally I was able to "unveil" the mystery of makefs' partition alignment. This was the actual issue: the -t ffs option should appear before the -o option. In my brief testing, I was finally able to produce an image that is partitioned exactly as the root-built one, doing it as an unprivileged user. While at it, I also fixed a number of other tangentially-related issues regarding non-privileged builds on NanoBSD (the rest of the stack). As well as preparing the ground for some changes that are yet to come as part of the GSoC project.

Sun, May 24, 6:54 PM
jlduran updated the test plan for D57226: nanobsd: Adjust the order of the flags in makefs.
Sun, May 24, 6:45 PM
jlduran requested review of D57226: nanobsd: Adjust the order of the flags in makefs.
Sun, May 24, 11:01 AM
jlduran requested review of D57225: nanobsd: Use makefs -R flag to honor rounded sizes.
Sun, May 24, 11:01 AM
jlduran requested review of D57224: nanobsd: Fix code image size formatting.
Sun, May 24, 11:01 AM
jlduran requested review of D57223: nanobsd: Refactor secondary code partition logic.
Sun, May 24, 11:00 AM
jlduran requested review of D57222: nanobsd: Explicitly set image size and secsz in mkimg.
Sun, May 24, 11:00 AM
jlduran requested review of D57221: nanobsd: Offset code partition to a track boundary.
Sun, May 24, 11:00 AM
jlduran requested review of D57220: nanobsd: Account for metadata overhead in code slice.
Sun, May 24, 11:00 AM
jlduran requested review of D57219: nanobsd: Use rounded sizes for cfg and data slices.
Sun, May 24, 10:59 AM
jlduran requested review of D57218: nanobsd: Unify makefs(8) ffs options.
Sun, May 24, 10:59 AM
jlduran requested review of D57217: nanobsd: Remove spurious exit call.
Sun, May 24, 10:59 AM
jlduran requested review of D57216: nanobsd: Get the code size by its partition index.
Sun, May 24, 10:59 AM

Fri, May 22

jlduran added a comment to D57042: nanobsd: Fix NANO_MD_BACKING_SWAP md issues.

After testing this patch during this week's NanoBSD call, it worked, but it is still slow during populate_slice because it writes to the disk. @senguptaangshuman17_gmail.com would you mind also applying this patch:

--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -739,7 +739,8 @@ populate_slice() {
        if [ -n "${dir}" -a -d "${dir}" ]; then
                echo "Populating ${lbl} from ${dir}"
                cd "${dir}"
-               find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)/' | cpio ${CPIO_SYMLINK} -dumpv ${mnt}
+               find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)/' |
+                   tar -cf - -T - | tar -xpvf - -C ${mnt}
        fi
        df -i ${mnt}
        nano_umount ${mnt}

Instead of using cpio, we use tar to streamline the entire copy operation; by streaming the files into a single continuous sequential write, we allow the operating system's write caching to work much more efficiently.
Please let me know if this works, so I can clean up this patch (and test the previous one).

Fri, May 22, 7:20 PM

Thu, May 21

jlduran added a comment to D56773: blocklistd: Fix RFC1918 typo.

To be honest, I really doubt it was the intention to have the RFC 1918 address block in this example. You should ask Christos about it. An excellent pool for documentation and examples is one of the RFC 5737 blocks, for example, 192.0.2.0/24.

Thu, May 21, 4:30 PM
jlduran updated the test plan for D57061: makefs: ffs: Print all options when debugging.
Thu, May 21, 4:22 PM
jlduran added a comment to D57061: makefs: ffs: Print all options when debugging.

Although NetBSD is no longer a direct upstream for makefs(8), an equivalent patch was submitted to NetBSD first, to avoid introducing unnecessary differences between the two code bases (GNATS bin/60285).

Thu, May 21, 4:20 PM

Tue, May 19

jlduran added a comment to D57096: Close files that were opened by guest VM via 9pfs.

I think you have a race and will need to introduce locking or find a clever use of atomics for vofid->v_opens.

Tue, May 19, 6:19 PM

Mon, May 18

jlduran requested review of D57061: makefs: ffs: Print all options when debugging.
Mon, May 18, 7:12 AM
jlduran updated the diff for D49194: ipfw: Add ICMPv6 type(s) to ipfw syntax summary usage.

Address sugesstions:

Mon, May 18, 2:21 AM
jlduran updated the diff for D49192: ipfw.8: Add icmptype/icmp6type command modifiers.
  • Rebase
  • Bump date
Mon, May 18, 2:20 AM

Sun, May 17

jlduran accepted D57053: openssh: Fix i386 SIZEOF_TIME_T in freebsd-configure.sh.

Yes, this is much better. A "permanent" fix.
It has bitten us before (D49739#1134004).
Thank you!

Sun, May 17, 5:18 PM
jlduran updated the test plan for D57042: nanobsd: Fix NANO_MD_BACKING_SWAP md issues.
Sun, May 17, 7:52 AM
jlduran requested review of D57042: nanobsd: Fix NANO_MD_BACKING_SWAP md issues.
Sun, May 17, 7:47 AM
jlduran requested review of D57041: nanobsd: Avoid duplicate dd operations.
Sun, May 17, 7:47 AM
jlduran requested review of D57040: nanobsd: Use NANO_IMG1NAME.
Sun, May 17, 7:47 AM
jlduran requested review of D57039: nanobsd: Minor style fixes.
Sun, May 17, 7:47 AM

Sat, May 16

jlduran committed rG3d246db08333: blocklist: Add back probes (authored by jlduran).
blocklist: Add back probes
Sat, May 16, 10:03 PM
jlduran closed D57027: blocklist: Add back probes.
Sat, May 16, 10:03 PM
jlduran added a comment to D57027: blocklist: Add back probes.

Upstream has already applied the patch.

Sat, May 16, 7:26 PM
jlduran added reviewers for D57027: blocklist: Add back probes: emaste, christos_netbsd.org.
Sat, May 16, 6:36 AM
jlduran added a comment to D57027: blocklist: Add back probes.

The equivalent fix has been reported upstream as: bin/60270 (GNATS)

Sat, May 16, 6:35 AM
jlduran requested review of D57027: blocklist: Add back probes.
Sat, May 16, 6:34 AM

Thu, May 14

jlduran accepted D56999: Merged OpenSSH 10.3p1 diff against upstream.

Looks good.
I get an extra diff after freebsd-configure.sh and freebsd-namespace.sh:

diff --git a/crypto/openssh/krb5_config.h b/crypto/openssh/krb5_config.h
index d95deef0b087..21fde75751e9 100644
--- a/crypto/openssh/krb5_config.h
+++ b/crypto/openssh/krb5_config.h
@@ -1,5 +1,14 @@
+#define ENABLE_SK_INTERNAL /**/
 #define GSSAPI 1
 #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE 1
+#define HAVE_FIDO_ASSERT_SET_CLIENTDATA 1
+#define HAVE_FIDO_CRED_PROT 1
+#define HAVE_FIDO_CRED_SET_CLIENTDATA 1
+#define HAVE_FIDO_CRED_SET_PROT 1
+#define HAVE_FIDO_DEV_GET_TOUCH_BEGIN 1
+#define HAVE_FIDO_DEV_GET_TOUCH_STATUS 1
+#define HAVE_FIDO_DEV_IS_WINHELLO 1
+#define HAVE_FIDO_DEV_SUPPORTS_CRED_PROT 1
 #define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
 #define HAVE_GSSAPI_GSSAPI_H 1
 #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
diff --git a/crypto/openssh/ssh_namespace.h b/crypto/openssh/ssh_namespace.h
index 71b53d286dbf..c18171ba7807 100644
--- a/crypto/openssh/ssh_namespace.h
+++ b/crypto/openssh/ssh_namespace.h
@@ -399,6 +399,7 @@
 #define libcrux_ml_kem_ntt_ntt_at_layer_4_plus_ea Fssh_libcrux_ml_kem_ntt_ntt_at_layer_4_plus_ea
 #define libcrux_ml_kem_polynomial_ntt_multiply_d6_ea Fssh_libcrux_ml_kem_polynomial_ntt_multiply_d6_ea
 #define libcrux_ml_kem_polynomial_poly_barrett_reduce_d6_ea Fssh_libcrux_ml_kem_polynomial_poly_barrett_reduce_d6_ea
+#define libcrux_ml_kem_sampling_sample_from_binomial_distribution_a0 Fssh_libcrux_ml_kem_sampling_sample_from_binomial_distribution_a0
 #define libcrux_ml_kem_serialize_deserialize_ring_elements_reduced_1b Fssh_libcrux_ml_kem_serialize_deserialize_ring_elements_reduced_1b
 #define libcrux_sha3_generic_keccak_keccakf1600_80_04 Fssh_libcrux_sha3_generic_keccak_keccakf1600_80_04
 #define load_hostkeys                          Fssh_load_hostkeys

I'm only testing on aarch64 (extra ssh_namespace entries may appear).

Thu, May 14, 3:53 AM

Tue, May 12

jlduran added inline comments to D56717: bsdinstall: do pkgbase installations with the "script" command.
Tue, May 12, 12:18 AM

Mon, May 11

jlduran accepted D56717: bsdinstall: do pkgbase installations with the "script" command.

Yes, thank you for the feedback and thank you for working on this.
I think from the user's perspective, this is much better!

Mon, May 11, 11:41 PM

Sun, May 10

jlduran committed rG8fe76a3c1240: blacklistd: Fix RFC1918 typo (authored by jlduran).
blacklistd: Fix RFC1918 typo
Sun, May 10, 1:01 AM
jlduran committed rG0f36cf87a5a2: blocklistd: Fix RFC1918 typo (authored by jlduran).
blocklistd: Fix RFC1918 typo
Sun, May 10, 1:00 AM

Fri, May 8

jlduran added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

I can understand we want to keep it as close as to what it currently is. And now I agree that this should be the way to go.
In the pull request you asked me if I had a different take on it: so, originally my approach was, given that they're all packages, regardless of their repo, a user could define something like:

PARTITIONS=DEFAULT
PACKAGES="FreeBSD-set-base FreeBSD-kernel-generic puppet" # Or PKG_LIST
#METHOD="packages" # This is the default
Fri, May 8, 12:47 PM

Thu, May 7

jlduran committed R11:4f2017a8f1df: ftp/freebsd-ftpd: Include blacklist patches (authored by jlduran).
ftp/freebsd-ftpd: Include blacklist patches
Thu, May 7, 5:29 PM
jlduran committed R11:fbe86c4decb6: ftp/freebsd-ftpd: Use blocklist (authored by jlduran).
ftp/freebsd-ftpd: Use blocklist
Thu, May 7, 2:40 PM

Sun, May 3

jlduran committed rG5a6d9479ae22: blocklistd: Fix RFC1918 typo (authored by jlduran).
blocklistd: Fix RFC1918 typo
Sun, May 3, 5:34 AM
jlduran closed D56773: blocklistd: Fix RFC1918 typo.
Sun, May 3, 5:33 AM

Sat, May 2

jlduran added a reviewer for D56773: blocklistd: Fix RFC1918 typo: emaste.
Sat, May 2, 7:51 PM
jlduran requested review of D56773: blocklistd: Fix RFC1918 typo.
Sat, May 2, 7:49 PM
jlduran added a comment to D56768: 15.1/relnotes: initial informaton added (135 entries, SA and EN).

Not sure about the snapshot wording, but that's similar to what we've don in the past.
Thank you for creating this revision!

Sat, May 2, 5:20 PM · releng
jlduran added a comment to D55152: nanobsd: Change the mode in tgt_dir2symlink().

I had more time to test this change. I might change it to:

chmod "$mode" "$dir"
[ -L "$dir" ] && chmod -h "$mode" "$dir"

because it produces the "right" mtree, so that when it is a symbolic link, it takes the mode of the symbolic link itself and not the target (that is why I'm inclined to also add chmod -h so both, the target directory and the symlink have the desired mode).

Sat, May 2, 3:15 PM
jlduran added reviewers for D55152: nanobsd: Change the mode in tgt_dir2symlink(): imp, senguptaangshuman17_gmail.com.
Sat, May 2, 2:59 PM

Thu, Apr 30

jlduran added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

We're trying to avoid making pkgbase a proper user facing noun

What do you suggest instead? Is there a different phrase to use, or should I make pkgbase mandatory in bsdinstall and remove mention from the man page?

I recently learned that the official term is freebsd-base(7).

Thu, Apr 30, 6:16 PM

Wed, Apr 29

jlduran updated subscribers of D56717: bsdinstall: do pkgbase installations with the "script" command.

cc/ @senguptaangshuman17_gmail.com

Wed, Apr 29, 8:32 PM

Apr 24 2026

jlduran abandoned D56595: release: Do not select kernel-dbg.txz by default.

Thank you for the input.
I will note that in the documentation patch for bsdinstall(8). This patch will be abandoned, the other two in the stack will remain, because they are essentially a cleanup with no functional changes.

Apr 24 2026, 6:42 PM
jlduran committed rGc2b4fbdb45e9: ping6: treat setsockopt failures as fatal (authored by chris.longros_gmail.com).
ping6: treat setsockopt failures as fatal
Apr 24 2026, 12:55 AM
jlduran committed rG2d2f92194f07: ping6: treat setsockopt failures as fatal (authored by chris.longros_gmail.com).
ping6: treat setsockopt failures as fatal
Apr 24 2026, 12:55 AM
jlduran committed rG5fd7eb1b8996: ping6: treat setsockopt failures as fatal (authored by chris.longros_gmail.com).
ping6: treat setsockopt failures as fatal
Apr 24 2026, 12:55 AM

Apr 23 2026

jlduran updated the diff for D56596: release: Explicitly enable lib32 in make-manifest.sh.

Address suggestions:

Apr 23 2026, 6:21 PM
jlduran retitled D56596: release: Explicitly enable lib32 in make-manifest.sh from release: Do not select lib32.txz by default to release: Explicitly enable lib32 in make-manifest.sh.
Apr 23 2026, 6:20 PM
jlduran updated the summary of D56595: release: Do not select kernel-dbg.txz by default.
Apr 23 2026, 6:18 PM
jlduran added a comment to D56596: release: Explicitly enable lib32 in make-manifest.sh.

Yes, I agree. My original plan was to only select the MANDATORY options by default.
But giving it a second thought, maybe I should change it to explicitly set default_lib32 to on (it is currently set to on because there is no default_lib32), and clearly state in the commit that this is to have 32-bit support for some popular ports by default (wine, steam, etc.)?

Apr 23 2026, 5:59 PM
jlduran removed a reviewer for D56597: tests: Manually assign the tests distribution: melifaro.
Apr 23 2026, 5:53 AM
jlduran updated subscribers of D56597: tests: Manually assign the tests distribution.

Hi @senguptaangshuman17_gmail.com, this revision is still missing a few tests. I plan to add them after this week's meeting.

Apr 23 2026, 5:52 AM
jlduran requested review of D56597: tests: Manually assign the tests distribution.
Apr 23 2026, 5:50 AM
jlduran added a reviewer for D56595: release: Do not select kernel-dbg.txz by default: releng.
Apr 23 2026, 5:48 AM
jlduran added a reviewer for D56594: release: Remove doc.txz from make-manifest.sh: releng.
Apr 23 2026, 5:47 AM
jlduran updated the test plan for D56596: release: Explicitly enable lib32 in make-manifest.sh.
Apr 23 2026, 5:47 AM
jlduran requested review of D56596: release: Explicitly enable lib32 in make-manifest.sh.
Apr 23 2026, 5:37 AM
jlduran requested review of D56595: release: Do not select kernel-dbg.txz by default.
Apr 23 2026, 5:37 AM
jlduran requested review of D56594: release: Remove doc.txz from make-manifest.sh.
Apr 23 2026, 5:37 AM