Page MenuHomeFreeBSD

rmacklem (Rick Macklem)
User

Projects

User Details

User Since
Jan 13 2015, 10:58 PM (542 w, 6 h)

Recent Activity

Yesterday

rmacklem added a comment to D50627: rpcbind: Ensure krpc is present..
In D50627#1156452, @des wrote:

Are you sure? I didn't think the krpc used rpcbind.

It's the other way around; rpcbind isn't useful without krpc, and while krpc usually ends up getting loaded sooner or later, if it's not present when rpcbind starts, you get error messages on the console.

Tue, Jun 3, 2:38 PM

Mon, Jun 2

rmacklem added a comment to D50627: rpcbind: Ensure krpc is present..

Are you sure? I didn't think the krpc used rpcbind.

Mon, Jun 2, 9:38 PM

Fri, May 30

rmacklem committed rG6f9b2071b843: nfs_clrpcops.c: Fix handling of a CreateLayGet reply (authored by rmacklem).
nfs_clrpcops.c: Fix handling of a CreateLayGet reply
Fri, May 30, 8:37 PM
rmacklem committed rGe5c544f95ab4: nfs_clrpcops.c: Fix acquisition of post-op attributes for link (authored by rmacklem).
nfs_clrpcops.c: Fix acquisition of post-op attributes for link
Fri, May 30, 8:35 PM

Tue, May 27

rmacklem added inline comments to D49654: openzfs: Add support for Solaris style extended attributes.
Tue, May 27, 1:06 AM

Mon, May 26

rmacklem committed rG0596b4a3d42f: vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS (authored by rmacklem).
vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS
Mon, May 26, 3:31 AM
rmacklem closed D50524: vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS.
Mon, May 26, 3:30 AM
rmacklem requested review of D50524: vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS.
Mon, May 26, 2:08 AM

Sun, May 25

rmacklem added inline comments to D49654: openzfs: Add support for Solaris style extended attributes.
Sun, May 25, 7:51 PM
rmacklem updated the diff for D49654: openzfs: Add support for Solaris style extended attributes.

The main change is to zfs_readdir(), so that it skips over
forbidden names for a named attribute directory.

Sun, May 25, 7:45 PM

Sat, May 24

rmacklem committed rGbada3811884c: nfs_clvnops.c: Add an initialization mistakenly removed (authored by rmacklem).
nfs_clvnops.c: Add an initialization mistakenly removed
Sat, May 24, 11:27 PM

Fri, May 23

rmacklem added a comment to D49654: openzfs: Add support for Solaris style extended attributes.

Good questions! Maybe they need to be asked on a mailing
list for FreeBSD, but at least I'd like to hear your thoughts.

Fri, May 23, 11:49 PM

Sat, May 17

rmacklem requested review of D50396: rpc_generic.c: Add CURVNET_SET/CURVNET_RESTORE around clnt_call_mbuf.
Sat, May 17, 9:02 PM

Fri, May 16

rmacklem committed rGe647a222a1a7: nfs_clrpcops.c: Fix handling of a CreateLayGet reply (authored by rmacklem).
nfs_clrpcops.c: Fix handling of a CreateLayGet reply
Fri, May 16, 7:39 PM
rmacklem committed rG96af6ac75468: UPDATING: Add an entry for commit 772258c89f28 (authored by rmacklem).
UPDATING: Add an entry for commit 772258c89f28
Fri, May 16, 12:35 AM
rmacklem committed rG772258c89f28: nfs_clrpcops.c: Fix acquisition of post-op attributes for link (authored by rmacklem).
nfs_clrpcops.c: Fix acquisition of post-op attributes for link
Fri, May 16, 12:30 AM

Sat, May 10

rmacklem committed rG511de5b1430e: runat.c: Add an explicit check for snprintf() failure (authored by rmacklem).
runat.c: Add an explicit check for snprintf() failure
Sat, May 10, 2:49 PM

Tue, May 6

rmacklem committed rG0660de8172cd: runat: Add a runat(1) utility similar to the Solaris one (authored by rmacklem).
runat: Add a runat(1) utility similar to the Solaris one
Tue, May 6, 8:39 PM
rmacklem closed D49850: runat: A utility that executes a shell command on a named attribute.
Tue, May 6, 8:39 PM
rmacklem updated the diff for D49654: openzfs: Add support for Solaris style extended attributes.

Added support for _PC_HAS_NAMEDATTR, which is
mainly a new function called zfs_has_namedattr().

Tue, May 6, 2:20 PM

Mon, May 5

rmacklem committed rGe4c7b2b6053f: nfsv4: Add support to NFSv4 for named attributes (authored by rmacklem).
nfsv4: Add support to NFSv4 for named attributes
Mon, May 5, 11:10 PM
rmacklem accepted D50169: mountd, showmount: move to the nfs package.
Mon, May 5, 10:13 PM
rmacklem accepted D50162: rpc.statd: move to nfs package.
Mon, May 5, 12:44 PM

May 5 2025

rmacklem added a reverting change for rG9419e086e1a3: nfscommon: Use _PC_HAS_NAMEDATTR to check for named attributes: rG2c0e6f53171c: Revert "nfscommon: Use _PC_HAS_NAMEDATTR to check for named attributes".
May 5 2025, 2:42 AM
rmacklem committed rG2c0e6f53171c: Revert "nfscommon: Use _PC_HAS_NAMEDATTR to check for named attributes" (authored by rmacklem).
Revert "nfscommon: Use _PC_HAS_NAMEDATTR to check for named attributes"
May 5 2025, 2:42 AM
rmacklem committed rG4a795fb913fe: UPDATING: Add an entry for commit 9419e086e1a3 (authored by rmacklem).
UPDATING: Add an entry for commit 9419e086e1a3
May 5 2025, 1:12 AM
rmacklem committed rG22d4fecbcf57: param.h: Bump __FreeBSD_version to 1500040 (authored by rmacklem).
param.h: Bump __FreeBSD_version to 1500040
May 5 2025, 1:05 AM
rmacklem committed rG9419e086e1a3: nfscommon: Use _PC_HAS_NAMEDATTR to check for named attributes (authored by rmacklem).
nfscommon: Use _PC_HAS_NAMEDATTR to check for named attributes
May 5 2025, 12:56 AM

May 4 2025

rmacklem committed rG38eb41a3897a: pathconf.2: Document the _PC_HAS_NAMEDATTR name (authored by rmacklem).
pathconf.2: Document the _PC_HAS_NAMEDATTR name
May 4 2025, 10:26 PM
rmacklem closed D50141: pathconf.2: Document the _PC_HAS_NAMEDATTR name.
May 4 2025, 10:26 PM
rmacklem committed rG0f12c3cd0ddb: vfs_default.c: Add _PC_HAS_NAMEDATTR pathconf name (authored by rmacklem).
vfs_default.c: Add _PC_HAS_NAMEDATTR pathconf name
May 4 2025, 10:13 PM
rmacklem closed D50140: vfs_default.c: Add _PC_HAS_NAMEDATTR pathconf name.
May 4 2025, 10:13 PM
rmacklem committed rGf61844833ee8: vfs_vnops.c: Make O_NAMEDATTR Solaris compatible (authored by rmacklem).
vfs_vnops.c: Make O_NAMEDATTR Solaris compatible
May 4 2025, 10:02 PM
rmacklem closed D50139: vfs_vnops.c: Make O_NAMEDATTR Solaris compatible.
May 4 2025, 10:01 PM
rmacklem committed rG2773c07181a7: mountd: Fix updating the network/host(s) for an exports line (authored by rmacklem).
mountd: Fix updating the network/host(s) for an exports line
May 4 2025, 7:17 PM
rmacklem added a comment to D50140: vfs_default.c: Add _PC_HAS_NAMEDATTR pathconf name.
In D50140#1143762, @kib wrote:

Does Solaris use the pathconf() to report xattr existence for the specific node?

It seems to do so. Solaris calls it _PC_XATTR_EXISTS.
It seems to work for local files on Solaris, but returns random junk for an NFSv4 mount.
(Since things look correct on the wire, I think this is just a Solaris bug?)

May 4 2025, 3:23 PM
rmacklem committed rG70369e4c2c1a: mountd: Fix updating the network/host(s) for an exports line (authored by rmacklem).
mountd: Fix updating the network/host(s) for an exports line
May 4 2025, 1:11 AM
rmacklem committed rG37abcf06f210: mountd: Fix updating the network/host(s) for an exports line (authored by rmacklem).
mountd: Fix updating the network/host(s) for an exports line
May 4 2025, 1:09 AM
rmacklem added a comment to D50141: pathconf.2: Document the _PC_HAS_NAMEDATTR name.

Are these Function Arguments? Can I alphabetize these?

May 4 2025, 12:55 AM

May 3 2025

rmacklem requested review of D50141: pathconf.2: Document the _PC_HAS_NAMEDATTR name.
May 3 2025, 10:14 PM
rmacklem updated the diff for D49851: Document the named attribute interface.

Clarified when named attributes and named attribute
directories are created.

May 3 2025, 10:05 PM
rmacklem requested review of D50140: vfs_default.c: Add _PC_HAS_NAMEDATTR pathconf name.
May 3 2025, 8:52 PM
rmacklem requested review of D50139: vfs_vnops.c: Make O_NAMEDATTR Solaris compatible.
May 3 2025, 8:39 PM

May 1 2025

rmacklem committed rG68daa781c1f1: mountd: Fix updating the network/host(s) for an exports line (authored by rmacklem).
mountd: Fix updating the network/host(s) for an exports line
May 1 2025, 11:21 PM

Apr 25 2025

rmacklem committed rG4fae019c2b8f: nfscommon: Prepare the NFS common code for named attributes (authored by rmacklem).
nfscommon: Prepare the NFS common code for named attributes
Apr 25 2025, 1:12 AM

Apr 23 2025

rmacklem updated the diff for D49851: Document the named attribute interface.

Replaced the copyright notice with the new recommended
short one, as suggested by ziaee@.

Apr 23 2025, 1:09 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Removed the "." after my name in the copyright.

Apr 23 2025, 12:58 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Added chdir(2) to the SEE ALSO section of the runat.1.

Apr 23 2025, 12:43 AM
rmacklem added a comment to D49850: runat: A utility that executes a shell command on a named attribute.

Marked inline comments as done.

Apr 23 2025, 12:29 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Updated the copyrights, as suggested by ziaa@.

Apr 23 2025, 12:26 AM
rmacklem accepted D49953: mountd: use free_iovec for build_iovec cleanup.

Looks fine to me, rick

Apr 23 2025, 12:08 AM

Apr 22 2025

rmacklem added a comment to D49850: runat: A utility that executes a shell command on a named attribute.

Note that O_CLOEXEC is set in "fmode" near the top of main()
for the second open.

Apr 22 2025, 11:06 AM
rmacklem added a comment to D49850: runat: A utility that executes a shell command on a named attribute.

Marked inline comments as done.

Apr 22 2025, 11:02 AM
rmacklem added inline comments to D49850: runat: A utility that executes a shell command on a named attribute.
Apr 22 2025, 11:01 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Missed a couple of cases for .Ar file. Fixed now.

Apr 22 2025, 10:46 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Updated man page with changes suggested by ziaa@.

Apr 22 2025, 10:39 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Updated the man page to reflect the use of /bin/sh.

Apr 22 2025, 10:27 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

This version just does an execl() as suggested by kib@.

Apr 22 2025, 3:19 AM
rmacklem added inline comments to D49850: runat: A utility that executes a shell command on a named attribute.
Apr 22 2025, 2:45 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Oops, missed the last suggested change from kib@
the last time. It is here now.

Apr 22 2025, 2:39 AM
rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Updated runat.c to apply kib@'s suggestions.
For some reason (don't know where I got it) I
thought that fchdir() directory change would
affect more than the process, which was why I
did the fork(). (I think it came from ancient
recollections of how 6th Edition worked in the
1970s. I'm gettin old;-)

Apr 22 2025, 2:22 AM
rmacklem updated the diff for D49851: Document the named attribute interface.

Re-written to conform to the more Solaris-like
semantics of O_NAMEDATTR that is now implemented
in main.

Apr 22 2025, 1:27 AM

Apr 21 2025

rmacklem updated the diff for D49850: runat: A utility that executes a shell command on a named attribute.

Update runat.c to use the up to date more Solaris-like
O_NAMEDATTR flag.

Apr 21 2025, 1:37 AM
rmacklem updated the diff for D49654: openzfs: Add support for Solaris style extended attributes.

I misinterpreted the Solaris documentation for O_XATTR.
It is used for an openat() where the path is for a file in
the file system's namespace, to open a named attribute
for the file, not a named attribute directory.

Apr 21 2025, 12:03 AM

Apr 20 2025

rmacklem committed rGb1b607bd200f: vfs_vnops.c: Modify the O_NAMEDATTR check for Solaris compatibility (authored by rmacklem).
vfs_vnops.c: Modify the O_NAMEDATTR check for Solaris compatibility
Apr 20 2025, 11:24 PM
rmacklem closed D49899: vfs_vnops.c: Modify the O_NAMEDATTR check for Solaris compatibility.
Apr 20 2025, 11:24 PM
rmacklem committed rGee95e4d02dbd: vfs_vnops.c: Fix the named attribute check for open (authored by rmacklem).
vfs_vnops.c: Fix the named attribute check for open
Apr 20 2025, 11:20 PM
rmacklem closed D49898: vfs_vnops.c: Fix the named attribute check for open.
Apr 20 2025, 11:20 PM

Apr 19 2025

rmacklem updated the diff for D49899: vfs_vnops.c: Modify the O_NAMEDATTR check for Solaris compatibility.

Cleaned up the "if" as suggested by kib@.

Apr 19 2025, 8:58 PM
rmacklem updated the diff for D49898: vfs_vnops.c: Fix the named attribute check for open.

Added a helper function, as suggested by kib@.

Apr 19 2025, 8:51 PM
rmacklem added a comment to D49898: vfs_vnops.c: Fix the named attribute check for open.

I now realize that the check for non-named attribute is in
ZFS's VOP_LOOKUP(), so this patch is not really needed,
but I think it is a good "safety belt" to put in.

Apr 19 2025, 3:23 PM

Apr 18 2025

rmacklem requested review of D49899: vfs_vnops.c: Modify the O_NAMEDATTR check for Solaris compatibility.
Apr 18 2025, 11:32 PM
rmacklem requested review of D49898: vfs_vnops.c: Fix the named attribute check for open.
Apr 18 2025, 11:27 PM
rmacklem updated the diff for D49691: open.2: Document the O_NAMEDATTR flag added recently.

Oops, this is a bit embarrassing. I took another look
at the Solaris doc (which is confusing, too) and realized
I hadn't implemented what they did for their O_XATTR.

Apr 18 2025, 11:17 PM
rmacklem added inline comments to D49691: open.2: Document the O_NAMEDATTR flag added recently.
Apr 18 2025, 3:08 PM
rmacklem updated the diff for D49691: open.2: Document the O_NAMEDATTR flag added recently.

Attempt #2 at explaining the use of O_NAMEDATTR
when opening a named attribute.

Apr 18 2025, 3:01 AM
rmacklem updated the diff for D49691: open.2: Document the O_NAMEDATTR flag added recently.

Added a sentence trying to explain the use
of O_NAMEDATTR for the openat() of a named
attribute. For this case, it performs a sanity check
to ensure the successful open is that of a named
attribute.

Apr 18 2025, 2:29 AM
rmacklem updated the diff for D49691: open.2: Document the O_NAMEDATTR flag added recently.

Rework the description for O_NAMEDATTR to try
and explain how it is used to open named attributes,
as suggested by kib@.

Apr 18 2025, 1:46 AM
rmacklem added inline comments to D49691: open.2: Document the O_NAMEDATTR flag added recently.
Apr 18 2025, 12:32 AM

Apr 16 2025

rmacklem committed rG33e22c4f94d1: pathconf.2: Update man page for the _PC_NAMEDATTR_ENABLED flag (authored by rmacklem).
pathconf.2: Update man page for the _PC_NAMEDATTR_ENABLED flag
Apr 16 2025, 10:38 PM
rmacklem added a reviewer for D49851: Document the named attribute interface: ziaee.
Apr 16 2025, 1:44 PM
rmacklem requested review of D49851: Document the named attribute interface.
Apr 16 2025, 1:44 PM
rmacklem requested review of D49850: runat: A utility that executes a shell command on a named attribute.
Apr 16 2025, 2:16 AM

Apr 15 2025

rmacklem updated the diff for D49691: open.2: Document the O_NAMEDATTR flag added recently.

Tried to clarify when O_NAMEDATTR is used.

Apr 15 2025, 3:01 PM
rmacklem updated the diff for D49654: openzfs: Add support for Solaris style extended attributes.

I am now convinced that the check in zfs_freebsd_open()
for O_NAMEDATTR being set is not necessary at all.

Apr 15 2025, 1:39 AM

Apr 14 2025

rmacklem updated the diff for D49654: openzfs: Add support for Solaris style extended attributes.

Checking for VIRF_NAMEDATTR in zfs_freebsd_open()
was not needed and broke the runat(1) utility I am writing.

Apr 14 2025, 11:47 PM

Apr 11 2025

rmacklem updated the diff for D49691: open.2: Document the O_NAMEDATTR flag added recently.

Add a missing '.' at the end of a statement.

Apr 11 2025, 3:00 AM
rmacklem closed D49719: statfs.2: Document the new MNT_NAMEDATTR mount flag.
Apr 11 2025, 1:03 AM
rmacklem committed rG964d0fd62431: statfs.2: Update man page for the MNT_NAMEDATTR flag (authored by rmacklem).
statfs.2: Update man page for the MNT_NAMEDATTR flag
Apr 11 2025, 1:03 AM

Apr 10 2025

rmacklem added a comment to D49718: fhopen.2: Document the O_NAMEDATTR flag.

Oops. I didn't see emaste@'s comment until after
doing the commit.

Apr 10 2025, 2:02 AM
rmacklem committed rGdedbb972d294: fhopen.2: Update man page for O_NAMEDATTR flag (authored by rmacklem).
fhopen.2: Update man page for O_NAMEDATTR flag
Apr 10 2025, 12:52 AM
rmacklem closed D49718: fhopen.2: Document the O_NAMEDATTR flag.
Apr 10 2025, 12:52 AM

Apr 9 2025

rmacklem added a comment to D49718: fhopen.2: Document the O_NAMEDATTR flag.

I do really love putting the commit that the work depends on in "Fixes: " instead of the introductory sentence of the commit message. It makes me feel like the the sentence is clean and just explaining for me, and very predictable to track the tree of events related to the commit.

Apr 9 2025, 11:06 PM
rmacklem updated the diff for D49718: fhopen.2: Document the O_NAMEDATTR flag.

Removed the sentence w.r.t. the specific error, since
it is covered in the ERROR section. Also, moved the
ENOATTR entries so that they are in alphabetical order,
as suggested by ziaee@.

Apr 9 2025, 8:08 PM
rmacklem updated the diff for D49719: statfs.2: Document the new MNT_NAMEDATTR mount flag.

Moved the MNT_NAMEDATTR entry up, to maintain
alphabetical ordering, as suggested by ziaee@.

Apr 9 2025, 8:05 PM
rmacklem added a comment to D49717: fhopen: Enable handling of O_PATH, fix some bugs.

Just to clarify what the previous comment was talking about.
Without this patch:
fhopen(&fh, O_RDONLY | O_NAMEDATTR | O_PATH) works
but
fhopen(&fh, O_EXEC | O_NAMEDATTR | O_PATH) fails with EINVAL
(You can basically ignore the O_NAMEDATTR. I just did the tests with
some test code I had lying about for O_NAMEDATTR.)

Apr 9 2025, 2:46 AM
rmacklem added a comment to D49717: fhopen: Enable handling of O_PATH, fix some bugs.

Without this patch:
kern_fhopen() requires FREAD or FWRITE.
It checks for these and fails with EINVAL if neither are set.

Apr 9 2025, 2:36 AM

Apr 8 2025

rmacklem accepted D49717: fhopen: Enable handling of O_PATH, fix some bugs.
Apr 8 2025, 11:38 PM
rmacklem requested review of D49719: statfs.2: Document the new MNT_NAMEDATTR mount flag.
Apr 8 2025, 10:12 PM
rmacklem requested review of D49718: fhopen.2: Document the O_NAMEDATTR flag.
Apr 8 2025, 10:07 PM