Page MenuHomeFreeBSD

rmacklem (Rick Macklem)
User

Projects

User Details

User Since
Jan 13 2015, 10:58 PM (589 w, 1 d)

Recent Activity

Fri, Apr 24

rmacklem added a comment to D56560: kgss: remove KGSS_VNET_* macros family.
In D56560#1296776, @bz wrote:

Sorry but I don't know this code specifically and what these macros are doing or not in the end; unless I am going to read it all to understand I cannot help given there is no high level description of what you are trying to (de-)virtualize here.

I had initially asked if it was possible to run NFS exports from within jails. Rick made that happen in 2003(?). And that's kind-of as much as I know. I believe I had not reviewed any of that code back then; you may want to talk to people who did -- I think @markj , @jamie and @mjg did in the end when it came to jails and mounted and some other bits got refined. But that's just from vague memory.

Fri, Apr 24, 9:50 PM

Wed, Apr 22

rmacklem added a comment to D56562: kgss: de-virtualize kgss_gssd_handle.

For the old way done in FreeBSD-14, the kgss_gssd_handle
would be set NULL when the gssd daemon terminated, at least
when it happened gracefully.

I assume that, for netlink, this never happens?
(ie. Once clnt_nl_create() creates it, it lives forever.)
--> Which means checking for it being non-NULL is a waste

of time?

We have code under #if 0 that implements module unload. It actually should set client to NULL after clnt_destroy(). That's why I left these checks as is, keeping it one change at a time.

However, I agree that we should most likely remove them. As we have rpc_gss module as a proper depend on kggsapi module, and the rpc_gss module always grabs the pointer with kgss_gssd_client() that does CLNT_ACQUIRE()we can actually implement the unload in a manner that through the module lifetime the pointer is never NULL. And module allows unload only when there are no references and no depending modules. But that's definitely a separate patch not to be mixed with this one.

Wed, Apr 22, 3:58 PM

Tue, Apr 21

rmacklem added a comment to D56560: kgss: remove KGSS_VNET_* macros family.

You might want to ask bz@ before getting rid of the
macros, since my recollection was that they were his
idea when I did the code?

Tue, Apr 21, 10:27 PM
rmacklem accepted D56560: kgss: remove KGSS_VNET_* macros family.

I'm fine with getting rid of the macros.

Tue, Apr 21, 10:25 PM
rmacklem accepted D56561: kgss: remove unnecessary CURVNET_SET() and kgss_gssd_handle checks.

Looks ok to me. If kgss_gssd_handle can never
be NULL, removing the checks for non-NULL
might simplify the code a bit?

Tue, Apr 21, 10:17 PM
rmacklem accepted D56562: kgss: de-virtualize kgss_gssd_handle.

This looks fine to me.

Tue, Apr 21, 10:12 PM

Sat, Apr 18

rmacklem accepted D56502: nfs: make no-IP kernels compile.

Actually that function should go away completely.
It is only used for NFSv4.0, which is now considered
deprecated in favour of NFSv4.1/4.2 and it only
deals with a callback address. Callback addresses
are used for NFSv4.0 only when delegations are
enabled and NFSv4.0 delegations are basically
useless.

Sat, Apr 18, 2:31 PM
rmacklem committed rG6ef2df5e8e7a: nfsv4.4: Document setup of a NFSv4 root fs (authored by rmacklem).
nfsv4.4: Document setup of a NFSv4 root fs
Sat, Apr 18, 1:02 AM

Tue, Apr 14

rmacklem committed rG692a289922d2: nfs_diskless: Fix handling of nfsuserd case for NFSv4 (authored by rmacklem).
nfs_diskless: Fix handling of nfsuserd case for NFSv4
Tue, Apr 14, 3:29 AM

Mon, Apr 13

rmacklem committed rGbd6548f4b462: nfsid.h: Put the nfsd_idargs structure in a new .h (authored by rmacklem).
nfsid.h: Put the nfsd_idargs structure in a new .h
Mon, Apr 13, 1:21 AM

Sun, Apr 12

rmacklem committed rGfcec95bca38f: nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fs (authored by rmacklem).
nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fs
Sun, Apr 12, 12:48 AM
rmacklem committed rG2a97b49bc472: nfs_diskless: Add support for an NFSv4 root fs (authored by rmacklem).
nfs_diskless: Add support for an NFSv4 root fs
Sun, Apr 12, 12:43 AM
rmacklem committed rG4beef6a4c567: nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fs (authored by rmacklem).
nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fs
Sun, Apr 12, 12:39 AM

Sat, Apr 11

rmacklem committed rG6698596cd2ab: nfsv4.4: Document setup of a NFSv4 root fs (authored by rmacklem).
nfsv4.4: Document setup of a NFSv4 root fs
Sat, Apr 11, 7:39 PM
rmacklem closed D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.
Sat, Apr 11, 7:38 PM
rmacklem updated the diff for D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.

Added a sentence w.r.t. when vfs.nfs.enable_uidtostring
needs to be set, as suggested by kib@.

Sat, Apr 11, 6:20 PM
rmacklem committed rG1d4e9d2b5ef5: nfs_nfsdsocket.c: Allow Copy across file systems (authored by rmacklem).
nfs_nfsdsocket.c: Allow Copy across file systems
Sat, Apr 11, 3:35 AM
rmacklem committed rG6dddd2503fc7: nfs_nfsdsocket.c: All Copy and Clone across file systems (authored by rmacklem).
nfs_nfsdsocket.c: All Copy and Clone across file systems
Sat, Apr 11, 12:59 AM

Wed, Apr 8

rmacklem added inline comments to D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.
Wed, Apr 8, 11:20 PM
rmacklem updated the diff for D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.

I think I covered kib@'s inline comments.

Wed, Apr 8, 11:10 PM
rmacklem requested review of D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.
Wed, Apr 8, 7:33 PM
rmacklem committed rG6c13732570b7: clnt_bck.c: Delete a couple of old diagnostic printfs (authored by rmacklem).
clnt_bck.c: Delete a couple of old diagnostic printfs
Wed, Apr 8, 12:56 AM

Tue, Apr 7

rmacklem committed rGcc2f8f3786d6: RELNOTES: Update the entry for commit 8b9775912cbc (authored by rmacklem).
RELNOTES: Update the entry for commit 8b9775912cbc
Tue, Apr 7, 8:06 PM
rmacklem committed rGdc752c26b7e5: RELNOTES: Make an entry for supporting an NFSv4 root fs (authored by rmacklem).
RELNOTES: Make an entry for supporting an NFSv4 root fs
Tue, Apr 7, 7:34 PM
rmacklem committed rG53b4ae3bf0f7: nfs_diskless: Fix handling of nfsuserd case for NFSv4 (authored by rmacklem).
nfs_diskless: Fix handling of nfsuserd case for NFSv4
Tue, Apr 7, 3:53 PM

Mon, Apr 6

rmacklem accepted D56273: kgssapi_krb5: Fix a couple of bugs in krb5_import().

Looks ok to me. Of course, since we no longer
use Heimdal, I'm not sure it matters?
(Maybe to MFC to FreeBSD-14?)

Mon, Apr 6, 2:56 PM
rmacklem committed rGe6db4dd9d721: nfsid.h: Put the nfsd_idargs structure in a new .h (authored by rmacklem).
nfsid.h: Put the nfsd_idargs structure in a new .h
Mon, Apr 6, 2:11 PM

Sun, Apr 5

rmacklem committed rG8b9775912cbc: nfs_diskless: Add support for an NFSv4 root fs (authored by rmacklem).
nfs_diskless: Add support for an NFSv4 root fs
Sun, Apr 5, 4:05 PM

Mar 31 2026

rmacklem committed rGcea122acd9be: nfs_nfsdserv.c: Fix handling of archive flag for mkdir (authored by rmacklem).
nfs_nfsdserv.c: Fix handling of archive flag for mkdir
Mar 31 2026, 1:08 AM

Mar 29 2026

rmacklem committed rGb5815ee99a01: nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fs (authored by rmacklem).
nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fs
Mar 29 2026, 9:43 PM

Mar 28 2026

rmacklem committed rGb65e7b4944cc: nfs_nfsdsocket.c: All Copy and Clone across file systems (authored by rmacklem).
nfs_nfsdsocket.c: All Copy and Clone across file systems
Mar 28 2026, 7:41 PM

Mar 25 2026

rmacklem committed rG41b423cc4e4d: clnt_bck.c: Delete a couple of old diagnostic printfs (authored by rmacklem).
clnt_bck.c: Delete a couple of old diagnostic printfs
Mar 25 2026, 9:55 PM

Mar 22 2026

rmacklem committed rGd288383b4d80: nfs_clstate.c: Handle the same stateid case correctly (authored by rmacklem).
nfs_clstate.c: Handle the same stateid case correctly
Mar 22 2026, 1:56 AM
rmacklem committed rGb2fc2556c1ea: nfs_clstate.c: Handle the same stateid case correctly (authored by rmacklem).
nfs_clstate.c: Handle the same stateid case correctly
Mar 22 2026, 1:51 AM

Mar 17 2026

rmacklem committed rG6580d040861d: nfs_nfsdserv.c: Fix handling of archive flag for mkdir (authored by rmacklem).
nfs_nfsdserv.c: Fix handling of archive flag for mkdir
Mar 17 2026, 12:25 AM

Mar 8 2026

rmacklem committed rG016570c4463d: nfs_clstate.c: Handle the same stateid case correctly (authored by rmacklem).
nfs_clstate.c: Handle the same stateid case correctly
Mar 8 2026, 10:12 PM

Mar 7 2026

rmacklem accepted D55681: vn_delayed_setsize(): post-commit review' changes.

Thanks for the atomic_load_short explanation.

Mar 7 2026, 2:47 PM
rmacklem added inline comments to D55681: vn_delayed_setsize(): post-commit review' changes.
Mar 7 2026, 2:32 AM

Mar 6 2026

rmacklem accepted D55681: vn_delayed_setsize(): post-commit review' changes.
Mar 6 2026, 1:18 AM
rmacklem accepted D55681: vn_delayed_setsize(): post-commit review' changes.
Mar 6 2026, 1:09 AM

Mar 2 2026

rmacklem accepted D55595: vn_delayed_setsize().

It all looks good to me, although I won't claim to
understand all the required semantics in
vn_lock_delayed_setsize().

Mar 2 2026, 10:30 PM

Feb 24 2026

rmacklem committed rG5153ca331b44: vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated (authored by rmacklem).
vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated
Feb 24 2026, 10:08 PM
rmacklem committed rG7ae432e6fbb2: vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated (authored by rmacklem).
vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated
Feb 24 2026, 1:45 AM

Feb 21 2026

rmacklem committed rG86a6407d028d: linux_file.c: Fix handling of NFS getdents() emulation (authored by rmacklem).
linux_file.c: Fix handling of NFS getdents() emulation
Feb 21 2026, 5:05 PM

Feb 17 2026

rmacklem committed rG935cf3284f52: vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated (authored by rmacklem).
vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated
Feb 17 2026, 11:01 PM
rmacklem closed D55318: vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated.
Feb 17 2026, 11:01 PM
rmacklem updated the diff for D55318: vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated.

Changed the variable name has_export to only_export,
as suggested by kib@. I also changed the comment
related to this vaiable.

Feb 17 2026, 2:16 PM
rmacklem accepted D55286: find: add -xattr and -xttrname.
Feb 17 2026, 1:43 PM
rmacklem accepted D55323: <sys/extattr.h>: use designated initializers for EXTATTR_NAMESPACE_NAMES.

Thanks for doing this. I think it does clarify
the relationship between EXTATTR_NAMESPACE_EMPTY
and EXTATTR_NAMESPACE_EMPTY_STRING for your
other patch.

Feb 17 2026, 1:41 PM
rmacklem requested review of D55318: vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated.
Feb 17 2026, 12:47 AM

Feb 16 2026

rmacklem accepted D55302: open.2: stop making impression that fd must be directory.
Feb 16 2026, 1:58 PM
rmacklem committed rGb45447c6cc21: runat: Add -h to manipulate a symlink's named attribute dir (authored by rmacklem).
runat: Add -h to manipulate a symlink's named attribute dir
Feb 16 2026, 12:52 AM

Feb 14 2026

rmacklem accepted D55286: find: add -xattr and -xttrname.

It looks ok to me, although I do not know
anything about the atf testing part.

Feb 14 2026, 10:50 PM

Feb 12 2026

rmacklem resigned from D55247: rpc: Improve socket locking in svc_vc_accept().

I probably should resign, since I don't understand
when/if ACCEPT4_INHERIT might be specified
as an argument for solisten_dequeue()?

Feb 12 2026, 1:26 AM

Feb 11 2026

rmacklem added inline comments to D55203: svc_vc.c: Add support for an xp_extpg boolean.
Feb 11 2026, 2:16 AM
rmacklem accepted D55247: rpc: Improve socket locking in svc_vc_accept().

This looks fine to me.
I will note that the NFS server never uses svc_vc_accept().
(The accept() is done in userspace.)

Feb 11 2026, 12:55 AM
rmacklem added inline comments to D55203: svc_vc.c: Add support for an xp_extpg boolean.
Feb 11 2026, 12:37 AM
rmacklem updated the diff for D55203: svc_vc.c: Add support for an xp_extpg boolean.

Added NET_EPOCH_ENTER()/NET_EPOCH_EXIT() and
cleaned up the code a bit.

Feb 11 2026, 12:35 AM

Feb 10 2026

rmacklem added inline comments to D55203: svc_vc.c: Add support for an xp_extpg boolean.
Feb 10 2026, 11:15 PM

Feb 9 2026

rmacklem requested review of D55203: svc_vc.c: Add support for an xp_extpg boolean.
Feb 9 2026, 10:58 PM

Feb 7 2026

rmacklem committed rG110f2567cb51: linux_file.c: Fix handling of NFS getdents() emulation (authored by rmacklem).
linux_file.c: Fix handling of NFS getdents() emulation
Feb 7 2026, 10:15 PM
rmacklem closed D54679: linux_file.c: Fix handling of NFS getdents() emulation.
Feb 7 2026, 10:15 PM

Feb 5 2026

rmacklem committed rG79b28bc8d1b4: nfscl: Fix the build (authored by rmacklem).
nfscl: Fix the build
Feb 5 2026, 7:57 PM
rmacklem committed rG406c98d2ca1d: nfscl: Fix handling of case insensitive file systems (authored by rmacklem).
nfscl: Fix handling of case insensitive file systems
Feb 5 2026, 7:56 PM
rmacklem committed rG2e665ce547b5: nfsd: Fix handling of attributes during Open/Create/Exclusive_41 (authored by rmacklem).
nfsd: Fix handling of attributes during Open/Create/Exclusive_41
Feb 5 2026, 7:54 PM
rmacklem committed rG144c1eda3973: nfs: Add some support for POSIX draft ACLs (authored by rmacklem).
nfs: Add some support for POSIX draft ACLs
Feb 5 2026, 1:30 AM
rmacklem committed rGdccf41dd1834: nfs: Add some support for POSIX draft ACLs (authored by rmacklem).
nfs: Add some support for POSIX draft ACLs
Feb 5 2026, 1:29 AM
rmacklem committed rGd842c511d84c: nfscl: Add some support for POSIX draft ACLs (authored by rmacklem).
nfscl: Add some support for POSIX draft ACLs
Feb 5 2026, 1:28 AM
rmacklem committed rG2eddaeb3e505: nfscommon: Add some support for POSIX draft ACLs (authored by rmacklem).
nfscommon: Add some support for POSIX draft ACLs
Feb 5 2026, 1:27 AM
rmacklem committed rG20bfa56c514b: nfsd: Add some support for POSIX draft ACLs (authored by rmacklem).
nfsd: Add some support for POSIX draft ACLs
Feb 5 2026, 1:26 AM
rmacklem committed rGe00ce2fe6536: nfscommon: Add some support for POSIX draft ACLs (authored by rmacklem).
nfscommon: Add some support for POSIX draft ACLs
Feb 5 2026, 1:23 AM

Feb 2 2026

rmacklem committed rG4bfb7cfb70e6: runat: Add -h to manipulate a symlink's named attribute dir (authored by rmacklem).
runat: Add -h to manipulate a symlink's named attribute dir
Feb 2 2026, 10:41 PM
rmacklem closed D55023: runat: Add -h to manipulate a symbolic link's named attribute dir.
Feb 2 2026, 10:40 PM

Feb 1 2026

rmacklem added inline comments to D55023: runat: Add -h to manipulate a symbolic link's named attribute dir.
Feb 1 2026, 10:08 PM
rmacklem updated the diff for D55023: runat: Add -h to manipulate a symbolic link's named attribute dir.

As suggested by jilles@ and to be more consistent
with rmextattr(8), change "-S/--symlink" to "-h/--nofollow".

Feb 1 2026, 10:05 PM
rmacklem retitled D55023: runat: Add -h to manipulate a symbolic link's named attribute dir from runat: Add -S to manipulate a symbolic link's named attribute dir to runat: Add -h to manipulate a symbolic link's named attribute dir.
Feb 1 2026, 10:01 PM

Jan 31 2026

rmacklem added a comment to D55023: runat: Add -h to manipulate a symbolic link's named attribute dir.
In D55023#1257715, @kib wrote:

BTW, chmod(1), chflags(1), ls(1) and find(1) consistently use -P for the same functionality. ls(1) does not fail if the argument is not a symbolic link.

I can switch it to "-P". It was Lionel Cons that suggested "-S".

Jan 31 2026, 10:28 PM
rmacklem added a comment to D55023: runat: Add -h to manipulate a symbolic link's named attribute dir.
In D55023#1257715, @kib wrote:

BTW, chmod(1), chflags(1), ls(1) and find(1) consistently use -P for the same functionality. ls(1) does not fail if the argument is not a symbolic link.

Jan 31 2026, 10:09 PM
rmacklem requested review of D55023: runat: Add -h to manipulate a symbolic link's named attribute dir.
Jan 31 2026, 9:20 PM
rmacklem accepted D54933: heimdal: Pass the correct pointer to realloc when growing a string buffer.
Jan 31 2026, 9:07 PM
rmacklem abandoned D54994: runat: Add -S for handling the named attribute dir for a symlink.

I'm going to redo this using getopt().
I didn't bother for one option, but I
now think that's silly.

Jan 31 2026, 5:06 AM
rmacklem requested review of D54994: runat: Add -S for handling the named attribute dir for a symlink.
Jan 31 2026, 4:47 AM
rmacklem accepted D54931: heimdal: Add missing function prototypes.

Looks fine to me. I'll admit I didn't bother to look
to see if/where they get called.

Jan 31 2026, 4:41 AM
rmacklem accepted D54932: heimdal: Pass the correct pointer to free in an error case.
Jan 31 2026, 4:39 AM
rmacklem accepted D54933: heimdal: Pass the correct pointer to realloc when growing a string buffer.

I know nothing about gcc flags, but if it gets
rid of the error, that seems fine to me.

Jan 31 2026, 4:38 AM

Jan 24 2026

rmacklem committed rG6fd7e55c9413: nfsd: Fix handling of hidden/system during Open/Create (authored by rmacklem).
nfsd: Fix handling of hidden/system during Open/Create
Jan 24 2026, 12:48 AM

Jan 21 2026

rmacklem committed rG053449fa5c6c: nfscl: Fix the build (authored by rmacklem).
nfscl: Fix the build
Jan 21 2026, 1:35 AM
rmacklem committed rGf2155a6fb568: nfscl: Fix handling of case insensitive file systems (authored by rmacklem).
nfscl: Fix handling of case insensitive file systems
Jan 21 2026, 12:24 AM

Jan 15 2026

rmacklem committed rG4fc11c92d324: nfsd: Fix handling of attributes during Open/Create/Exclusive_41 (authored by rmacklem).
nfsd: Fix handling of attributes during Open/Create/Exclusive_41
Jan 15 2026, 11:31 PM
rmacklem updated the diff for D54679: linux_file.c: Fix handling of NFS getdents() emulation.

Do roundup2() after the min(args->count, MAXBSIZE)
as suggsted by markj@.

Jan 15 2026, 12:13 AM

Jan 14 2026

rmacklem requested review of D54679: linux_file.c: Fix handling of NFS getdents() emulation.
Jan 14 2026, 12:49 AM

Jan 9 2026

rmacklem committed rGa6d57f312f18: nfsd: Fix handling of hidden/system during Open/Create (authored by rmacklem).
nfsd: Fix handling of hidden/system during Open/Create
Jan 9 2026, 12:34 AM

Dec 31 2025

rmacklem committed rGe8567de718a4: nfscl: Fix handling of POSIX draft default ACLs (authored by rmacklem).
nfscl: Fix handling of POSIX draft default ACLs
Dec 31 2025, 2:45 AM
rmacklem committed rGab5ec8ccbcf0: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup (authored by rmacklem).
nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup
Dec 31 2025, 1:33 AM
rmacklem committed rG785d429c2b93: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup (authored by rmacklem).
nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup
Dec 31 2025, 1:25 AM

Dec 24 2025

rmacklem committed rG4f184fd35d81: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup (authored by rmacklem).
nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup
Dec 24 2025, 4:31 PM
rmacklem closed D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.
Dec 24 2025, 4:31 PM
rmacklem updated the diff for D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.

Did formatting changes suggested by Ziaee.

Dec 24 2025, 3:41 PM
rmacklem updated the diff for D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.

Made formatting changes suggested by kib@.

Dec 24 2025, 3:11 AM
rmacklem added a comment to D54279: nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup.

Updated as suggested by kib@.

Dec 24 2025, 1:28 AM