Page MenuHomeFreeBSD

rmacklem (Rick Macklem)
User

Projects

User Details

User Since
Jan 13 2015, 10:58 PM (565 w, 2 d)

Recent Activity

Sat, Nov 8

rmacklem committed rGfdd30e0670d1: pathconf: Define a new name called _PC_CASE_INSENSITIVE (authored by rmacklem).
pathconf: Define a new name called _PC_CASE_INSENSITIVE
Sat, Nov 8, 1:17 AM

Wed, Nov 5

rmacklem committed rG3a64c667f16f: nfs: Add support for the NFSv4 archive attribute (authored by rmacklem).
nfs: Add support for the NFSv4 archive attribute
Wed, Nov 5, 1:34 AM

Sun, Nov 2

rmacklem committed rG088ced14a69b: UPDATING: Add an entry for e5aa60d06958 (authored by rmacklem).
UPDATING: Add an entry for e5aa60d06958
Sun, Nov 2, 11:23 PM
rmacklem committed rGb3de3c2dea57: param.h: Bump __FreeBSD_version for e5aa60d06958 (authored by rmacklem).
param.h: Bump __FreeBSD_version for e5aa60d06958
Sun, Nov 2, 11:19 PM
rmacklem committed rGe5aa60d06958: nfs: Add support for the new _PC_CASE_INSENSITIVE name (authored by rmacklem).
nfs: Add support for the new _PC_CASE_INSENSITIVE name
Sun, Nov 2, 8:43 PM
rmacklem committed rG26a9d67f6fbb: nfscommon: Update the nfs_bigreply array (authored by ehem_freebsd_m5p.com).
nfscommon: Update the nfs_bigreply array
Sun, Nov 2, 8:25 PM
rmacklem accepted D53536: nfs_clvnops: standardize on EOPNOTSUPP for posix_fallocate(2).
Sun, Nov 2, 3:40 PM

Sat, Nov 1

rmacklem committed rGb473bb274cef: pathconf.2: Document the new _PC_CASE_INSENSITIVE name (authored by rmacklem).
pathconf.2: Document the new _PC_CASE_INSENSITIVE name
Sat, Nov 1, 10:24 PM
rmacklem closed D53508: pathconf.2: Document the new _PC_CASE_INSENSITIVE name.
Sat, Nov 1, 10:24 PM

Fri, Oct 31

rmacklem updated the diff for D53508: pathconf.2: Document the new _PC_CASE_INSENSITIVE name.

Reword the line to say "performs case insensitive lookups,"
as suggested by kib@.

Fri, Oct 31, 11:25 PM
rmacklem added inline comments to D53508: pathconf.2: Document the new _PC_CASE_INSENSITIVE name.
Fri, Oct 31, 10:50 PM
rmacklem added inline comments to D53508: pathconf.2: Document the new _PC_CASE_INSENSITIVE name.
Fri, Oct 31, 10:45 PM
rmacklem requested review of D53508: pathconf.2: Document the new _PC_CASE_INSENSITIVE name.
Fri, Oct 31, 9:15 PM
rmacklem committed rG7a5208998bc9: nfs_clrpcops.c: NFSM_DISSECT() reply for each dir separately (authored by rmacklem).
nfs_clrpcops.c: NFSM_DISSECT() reply for each dir separately
Fri, Oct 31, 1:16 AM
rmacklem committed rGc02fa3f085c6: nfs_clrpcops.c: NFSM_DISSECT() reply for each dir separately (authored by rmacklem).
nfs_clrpcops.c: NFSM_DISSECT() reply for each dir separately
Fri, Oct 31, 1:06 AM

Thu, Oct 30

rmacklem committed rG9a4da735ca97: nfs_commonsubs.c: Add a sanity check for nid_ngroup (authored by rmacklem).
nfs_commonsubs.c: Add a sanity check for nid_ngroup
Thu, Oct 30, 2:26 PM
rmacklem committed rG83a0732a4cfe: nfs_commonsubs.c: Add a sanity check for nid_ngroup (authored by rmacklem).
nfs_commonsubs.c: Add a sanity check for nid_ngroup
Thu, Oct 30, 2:06 PM
rmacklem committed rGf262601ebaff: nfs_clrpcops.c: Check for too large a write reply (authored by rmacklem).
nfs_clrpcops.c: Check for too large a write reply
Thu, Oct 30, 1:24 AM
rmacklem committed rG4f7bd8c77981: nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s (authored by rmacklem).
nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s
Thu, Oct 30, 1:23 AM
rmacklem committed rG1d37ea5e58e8: nfs_clrpcops.c: Add sanity checks for the slot cnts (authored by rmacklem).
nfs_clrpcops.c: Add sanity checks for the slot cnts
Thu, Oct 30, 1:23 AM
rmacklem committed rG7c9d801ed278: nfs_nfsdserv.c: Add a sanity check for layout commit cnt (authored by rmacklem).
nfs_nfsdserv.c: Add a sanity check for layout commit cnt
Thu, Oct 30, 1:22 AM
rmacklem committed rGb5b6ddfc9981: nfs_clrpcops.c: Check for too large a write reply (authored by rmacklem).
nfs_clrpcops.c: Check for too large a write reply
Thu, Oct 30, 1:05 AM
rmacklem committed rG609c4eb70afe: nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s (authored by rmacklem).
nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s
Thu, Oct 30, 1:04 AM
rmacklem committed rG14148591b951: nfs_clrpcops.c: Add sanity checks for the slot cnts (authored by rmacklem).
nfs_clrpcops.c: Add sanity checks for the slot cnts
Thu, Oct 30, 1:02 AM
rmacklem committed rGc69e0be70f46: nfs_nfsdserv.c: Add a sanity check for layout commit cnt (authored by rmacklem).
nfs_nfsdserv.c: Add a sanity check for layout commit cnt
Thu, Oct 30, 1:01 AM

Wed, Oct 29

rmacklem committed rG8d5a88ac95b2: nfs_clvfsops.c: Allow long directory mount paths (authored by rmacklem).
nfs_clvfsops.c: Allow long directory mount paths
Wed, Oct 29, 9:45 PM
rmacklem committed rG73551cd6eac2: nfs_commonsubs.c: Get rid of variable used as a constant (authored by rmacklem).
nfs_commonsubs.c: Get rid of variable used as a constant
Wed, Oct 29, 12:31 AM

Tue, Oct 28

rmacklem committed rG9d13c87afdb3: nfs_clrpcops.c: NFSM_DISSECT() reply for each dir separately (authored by rmacklem).
nfs_clrpcops.c: NFSM_DISSECT() reply for each dir separately
Tue, Oct 28, 9:35 PM
rmacklem committed rG4672adcea4cf: nfs_commonsubs.c: Add a sanity check for nid_ngroup (authored by rmacklem).
nfs_commonsubs.c: Add a sanity check for nid_ngroup
Tue, Oct 28, 2:48 PM
rmacklem closed D53389: nfs_commonsubs.c: Add a sanity check for nid_ngroup.
Tue, Oct 28, 2:47 PM
rmacklem requested review of D53389: nfs_commonsubs.c: Add a sanity check for nid_ngroup.
Tue, Oct 28, 12:29 AM

Mon, Oct 27

rmacklem committed rG2c82cdd2e29f: nfs_clrpcops.c: Check for too large a write reply (authored by rmacklem).
nfs_clrpcops.c: Check for too large a write reply
Mon, Oct 27, 2:53 PM
rmacklem closed D53368: nfs_clrpcops.c: Check for too large a write reply.
Mon, Oct 27, 2:52 PM
rmacklem committed rGb9e6206f5933: nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s (authored by rmacklem).
nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s
Mon, Oct 27, 2:46 PM
rmacklem closed D53367: nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s.
Mon, Oct 27, 2:46 PM
rmacklem committed rG3053b2a3dcab: nfs_clrpcops.c: Add sanity checks for the slot cnts (authored by rmacklem).
nfs_clrpcops.c: Add sanity checks for the slot cnts
Mon, Oct 27, 2:39 PM
rmacklem closed D53363: nfs_clrpcops.c: Add sanity checks for the slot cnt.
Mon, Oct 27, 2:38 PM
rmacklem committed rG1a679fb90796: nfs_nfsdserv.c: Add a sanity check for layout commit cnt (authored by rmacklem).
nfs_nfsdserv.c: Add a sanity check for layout commit cnt
Mon, Oct 27, 2:28 PM
rmacklem closed D53354: nfs_nfsdserv.c: Add sanity check for layout commit cnt.
Mon, Oct 27, 2:28 PM
rmacklem added a comment to D53368: nfs_clrpcops.c: Check for too large a write reply.

There is a similar pattern in nfsrpc_writeds(). Does that need to be fixed too?

Mon, Oct 27, 2:08 PM
rmacklem updated the diff for D53368: nfs_clrpcops.c: Check for too large a write reply.

Add the same fix to nfsrpc_writeds().

Mon, Oct 27, 2:07 PM
rmacklem added inline comments to D53367: nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s.
Mon, Oct 27, 1:55 PM
rmacklem added inline comments to D53354: nfs_nfsdserv.c: Add sanity check for layout commit cnt.
Mon, Oct 27, 1:39 PM

Sun, Oct 26

rmacklem requested review of D53368: nfs_clrpcops.c: Check for too large a write reply.
Sun, Oct 26, 8:52 PM
rmacklem requested review of D53367: nfs_clrpcops.c: Fix two possible large NFSM_DISSECT()s.
Sun, Oct 26, 8:48 PM
rmacklem added a comment to D53361: write.2: explain the atomicity guarantees of the writes.

Oh, and it needs the date to be updated.

Sun, Oct 26, 3:30 PM
rmacklem accepted D53361: write.2: explain the atomicity guarantees of the writes.
Sun, Oct 26, 3:15 PM
rmacklem requested review of D53363: nfs_clrpcops.c: Add sanity checks for the slot cnt.
Sun, Oct 26, 3:05 PM

Sat, Oct 25

rmacklem committed rGd6864221d884: pathconf: Define a new name called _PC_CASE_INSENSITIVE (authored by rmacklem).
pathconf: Define a new name called _PC_CASE_INSENSITIVE
Sat, Oct 25, 8:42 PM
rmacklem closed D53349: pathconf: Define a new name called _PC_CASE_INSENSITIVE.
Sat, Oct 25, 8:41 PM
rmacklem requested review of D53354: nfs_nfsdserv.c: Add sanity check for layout commit cnt.
Sat, Oct 25, 8:17 PM
rmacklem requested review of D53349: pathconf: Define a new name called _PC_CASE_INSENSITIVE.
Sat, Oct 25, 1:55 AM

Wed, Oct 22

rmacklem committed rG3b6d4c6cdffd: nfs: Add support for the NFSv4 archive attribute (authored by rmacklem).
nfs: Add support for the NFSv4 archive attribute
Wed, Oct 22, 9:20 PM

Sun, Oct 19

rmacklem committed rGa6369fb9e4b4: nfscommon: Update the nfs_bigreply array (authored by ehem_freebsd_m5p.com).
nfscommon: Update the nfs_bigreply array
Sun, Oct 19, 8:34 PM

Oct 13 2025

rmacklem accepted D52961: sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME}.
Oct 13 2025, 10:41 PM
rmacklem accepted D52963: sys/rpc: UNIX auth: Use AUTH_SYS_MAX_{GROUPS,HOSTNAME} as limits (2/2).
Oct 13 2025, 10:40 PM
rmacklem committed rG4fc1e7546f12: RELNOTES: Fix a typo in the 5000d023a446 entry (authored by rmacklem).
RELNOTES: Fix a typo in the 5000d023a446 entry
Oct 13 2025, 10:08 PM
rmacklem added inline comments to D52962: sys/rpc: UNIX auth: Use AUTH_SYS_MAX_{GROUPS,HOSTNAME} as limits (1/2).
Oct 13 2025, 1:57 PM
rmacklem committed rGa7fc4e326c8d: rpc.tlsservd.c: Pin max threads at 1 for now (authored by rmacklem).
rpc.tlsservd.c: Pin max threads at 1 for now
Oct 13 2025, 12:33 AM

Oct 12 2025

rmacklem accepted D52960: sys/rpc: UNIX auth: Fix OOB accesses, notably writes on decode.

Looks ok to me. I'll leave min vs MIN up to you.

Oct 12 2025, 11:50 PM
rmacklem committed rG1129bf441e99: RELNOTES: Fix up the entry for 5000d023a446 (authored by rmacklem).
RELNOTES: Fix up the entry for 5000d023a446
Oct 12 2025, 12:48 AM
rmacklem committed rG9504e956c508: RELNOTES: Add an entry for commit 5000d023a446 (authored by rmacklem).
RELNOTES: Add an entry for commit 5000d023a446
Oct 12 2025, 12:41 AM

Oct 10 2025

rmacklem committed rG7a289fe3cd5c: rpc.tlsservd.c: Pin max threads at 1 for now (authored by rmacklem).
rpc.tlsservd.c: Pin max threads at 1 for now
Oct 10 2025, 11:33 PM
rmacklem accepted D52962: sys/rpc: UNIX auth: Use AUTH_SYS_MAX_{GROUPS,HOSTNAME} as limits (1/2).

Looks ok to me. You can decide whether or not to add the
KASSERT for x_op != XDR_FREE?

Oct 10 2025, 10:29 PM

Oct 8 2025

rmacklem accepted D52964: sys/rpc: UNIX auth: Fix OOB reads on too short message.

Looks fine to me. Feel free to ignore the minor comments.

Oct 8 2025, 2:04 PM
rmacklem committed rG23fbea8cf2f3: kadmin.8: Document the new dump -f flag (authored by rmacklem).
kadmin.8: Document the new dump -f flag
Oct 8 2025, 1:54 AM
rmacklem committed rG9fd3b28d4e0d: heimdal-kadmin: Add support for the -f dump option (authored by rmacklem).
heimdal-kadmin: Add support for the -f dump option
Oct 8 2025, 1:53 AM

Oct 7 2025

rmacklem added a comment to D52970: krb5: create the KDC database directory.
In D52970#1210155, @cy wrote:

Looks fine to me. Is there somewhere that we can stick
examples for krb5.conf, kdc.conf and kadm5.acl?

In share/examples/krb5 maybe?

Oct 7 2025, 9:50 PM
rmacklem accepted D52970: krb5: create the KDC database directory.

Looks fine to me. Is there somewhere that we can stick
examples for krb5.conf, kdc.conf and kadm5.acl?

Oct 7 2025, 9:13 PM

Oct 5 2025

rmacklem committed rG03da141d59ae: kadmin.8: Document the new dump -f flag (authored by rmacklem).
kadmin.8: Document the new dump -f flag
Oct 5 2025, 9:10 PM
rmacklem committed rG5000d023a446: heimdal-kadmin: Add support for the -f dump option (authored by rmacklem).
heimdal-kadmin: Add support for the -f dump option
Oct 5 2025, 4:22 PM

Oct 1 2025

rmacklem committed rG4771b65fde48: rpc_generic.c: Fix a rpcbind core dump when rpcinfo is done (authored by rmacklem).
rpc_generic.c: Fix a rpcbind core dump when rpcinfo is done
Oct 1 2025, 12:56 AM

Sep 28 2025

rmacklem closed D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.
Sep 28 2025, 3:01 PM
rmacklem committed rG70730cd21c9f: rpc_generic.c: Fix a rpcbind core dump when rpcinfo is done (authored by rmacklem).
rpc_generic.c: Fix a rpcbind core dump when rpcinfo is done
Sep 28 2025, 3:01 PM
rmacklem added inline comments to D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.
Sep 28 2025, 2:44 PM
rmacklem added inline comments to D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.
Sep 28 2025, 1:35 PM

Sep 27 2025

rmacklem added a comment to D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.

Just fyi. Unless I hear otherwise I am going to commit
this patch Monday, so that it can be MFC'd to stable/15.
It stops rpcbind from crashing. If others don't like the
choice of address string for netlink, that can be changed
later.

Sep 27 2025, 7:24 PM

Sep 25 2025

rmacklem added a comment to D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.

What code does call into this function with netlink argument? IMHO, this transport layer abstraction of RPC is a big code bloat where most of the code is never executed. Of course a crash if it happens needs to be fixed.

Sep 25 2025, 10:49 PM
rmacklem added a comment to D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.

What code does call into this function with netlink argument? IMHO, this transport layer abstraction of RPC is a big code bloat where most of the code is never executed. Of course a crash if it happens needs to be fixed.

Sep 25 2025, 10:05 PM

Sep 20 2025

rmacklem updated the summary of D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.
Sep 20 2025, 11:11 PM
rmacklem requested review of D52651: rpcbind: Fix a coredump that occurs when rpcinfo is done.
Sep 20 2025, 11:10 PM

Sep 9 2025

rmacklem committed rGbda48373633c: exports.5: Add a paragraph clarifying the use of "V4:" (authored by rmacklem).
exports.5: Add a paragraph clarifying the use of "V4:"
Sep 9 2025, 1:03 AM
rmacklem committed rGcaf162412dbc: exports.5: Add a paragraph clarifying the use of "V4:" (authored by rmacklem).
exports.5: Add a paragraph clarifying the use of "V4:"
Sep 9 2025, 12:55 AM

Sep 7 2025

rmacklem committed rGb84156e7f136: nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir (authored by rmacklem).
nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir
Sep 7 2025, 1:38 AM

Sep 4 2025

rmacklem committed rG1c52d525f064: nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir (authored by rmacklem).
nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir
Sep 4 2025, 1:52 AM
rmacklem closed D52370: nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir.
Sep 4 2025, 1:52 AM

Sep 3 2025

rmacklem requested review of D52370: nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir.
Sep 3 2025, 10:40 PM

Sep 2 2025

rmacklem added inline comments to D52263: krpc: UNIX auth: Prevent DoS, fix various OOB accesses.
Sep 2 2025, 2:51 PM
rmacklem added a comment to D52263: krpc: UNIX auth: Prevent DoS, fix various OOB accesses.

So, while I'm here, I'd also like to know what you think about discarding groups exceeding the NGROUPS limit.
(snip)

According to RFC 5531, the authsys_parms structure for AUTH_SYS contains in fact the effective group ID (spelled out exactly like this in the RFC) and then an array of 16 groups "that contain the caller as a member". But we only have XU_NGROUPS (16) in total in struct xucred.

So, what do you think of:

  1. To support the protocol, we accept up to 17 groups (1 + 16), but no more (extensions are not supported).
  2. But we discard the 17th one, as we don't have room to store it.

This is in fact what the inline decode version is already doing.

Sep 2 2025, 2:38 PM
rmacklem added a comment to D52263: krpc: UNIX auth: Prevent DoS, fix various OOB accesses.

I made a few comments, but stopped there.
You seem to be confusing the 16 which is
a hardwired RPC constant with what happens
to be defined elsewhere.
(Even if XU_NGROUPS == 16 there is nothing
stopping someone from changing that someday.)

Sep 2 2025, 1:06 AM

Aug 29 2025

rmacklem resigned from D52273: NFS users: Do not pass effective GID in group list, fill all fields.

I'll admit I do not understand what your recent gid
changes are, so I will resign as a reviewer.

Aug 29 2025, 11:56 PM
rmacklem committed rGb06973a2f2a8: nfsd: Fix slow leaks of NAMEI buffers (authored by rmacklem).
nfsd: Fix slow leaks of NAMEI buffers
Aug 29 2025, 3:23 AM

Aug 27 2025

rmacklem accepted D52195: nfs client: switch nfs_advlock() to use exclusive vnode lock.

Looks fine to me.

Aug 27 2025, 10:32 PM

Aug 26 2025

rmacklem committed rG200730f29dbc: exports.5: Add a paragraph clarifying the use of "V4:" (authored by rmacklem).
exports.5: Add a paragraph clarifying the use of "V4:"
Aug 26 2025, 1:43 AM
rmacklem closed D52141: exports.5: Add a paragraph clarifying the use of "V4:".
Aug 26 2025, 1:43 AM

Aug 24 2025

rmacklem requested review of D52141: exports.5: Add a paragraph clarifying the use of "V4:".
Aug 24 2025, 11:14 PM

Aug 23 2025

rmacklem added a comment to D51845: vfs_syscalls.c: Fix handling of offset arguments for copy_file_range.

The not so good news is that this bug made it out into 14.3.

I'll submit an EN since this is my bug (unless you'd really like to).

You are more than welcome to do so.
I'll give it a 2week MFC and you'll see it go into stable/14 in two weeks.

Aug 23 2025, 9:49 PM
rmacklem committed rGea35c5b54fcc: UPDATING: Add an entry for commit 3f61ececacd8 (authored by rmacklem).
UPDATING: Add an entry for commit 3f61ececacd8
Aug 23 2025, 9:36 PM
rmacklem committed rG4f22d274ab0d: param.h: Bump __FreeBSD_version for 3f61ececacd8 (authored by rmacklem).
param.h: Bump __FreeBSD_version for 3f61ececacd8
Aug 23 2025, 9:34 PM
rmacklem committed rG2fd0083fcc23: vfs_syscalls.c: Fix handling of offset args for copy_file_range (authored by rmacklem).
vfs_syscalls.c: Fix handling of offset args for copy_file_range
Aug 23 2025, 9:25 PM