User Details
- User Since
- May 9 2014, 11:04 PM (581 w, 3 d)
Sat, Jun 28
This is ok. It should normally be unnecessary, though, because ctladm should always be installed. Are you using pkgbase or something? I guess it might be optional in a pkgbase world.
Fri, Jun 27
Thu, Jun 26
Mon, Jun 16
This change is ok with me. But I would still like to see a man page and some usage examples from userland.
Sun, Jun 15
Fri, Jun 13
This is an interesting new feature. But how do we use it? There aren't any examples yet, or any man page. We could easily add test cases for the mount and kqueue errors to the fusefs test suite.
- fixup: output POLLHUP regardless of the contents of events
Thu, Jun 12
- Respond to gleb's comments
Wed, Jun 11
Thu, Jun 5
May 30 2025
May 19 2025
May 16 2025
May 2 2025
Apr 29 2025
Apr 17 2025
Apr 12 2025
Mar 27 2025
Mar 18 2025
A redeclaration of an entity without a linkage specification inherits the language linkage of the entity and its type (if exists).
Mar 15 2025
A few functions, like conf_set_debug, will now be extern "C" in the header file, but not in their implementation. It might work, but I don't think it's right. Also, conf.c seems to have two purposes. It defines C functions used by parse.y, and it also defines C functions used by ctld.cc. Maybe we should leave conf.c as a C file, but move some its ctld functions into ctld.cc itself? OTOH, if you're going for "minimal set of changes necessary to build as C++, it would be easier just to move those prototypes out of the "extern C" section.
Mar 5 2025
Mar 3 2025
This LGTM. C++20 would be nicer, because it would simplify one thing in the fusefs tests, but that would require a whole new tinderbox run.
Feb 27 2025
Feb 24 2025
Feb 17 2025
LGTM. Except that the commit message contains a typo: "uprivileged_user" => "unprivileged_user"
Feb 14 2025
What maintenance burden, @kp? I think it's a worthwhile change. I've run into similar problems myself. I find it easy to have a system where something pulls in, say, lang/python311 but not lang/python3.
Feb 11 2025
Ahh, sorry for the noise.
The old code certainly looks broken. I guess nobody was using it?
It's frustrating that file parsing is so difficult in C.
Yikes. I guess nobody was using those.
Did you check for any similar resource leaks in uclparse.c ?
Thanks for doing all this cleanup.
Feb 7 2025
Feb 4 2025
Feb 2 2025
Feb 1 2025
Jan 31 2025
The only improvement I could suggest would be to factor out the guts of both functions into a third, private function. That would save callers of nvmf_nqn_valid_strict from calling strlen twice. But it's probably premature optimization.
Jan 28 2025
I think this is ok. Losing the ability to apply configuration once before daemonizing is unfortunate but understandable. If it's a problem, we can fix it later by using rfork. I also see that you're only passing a single-element eventlist to kevent, which isn't the most efficient. But ctld isn't supposed to get a high rate of connections, so that's fine.
- fixup: add eventfd too
Jan 24 2025
Jan 23 2025
I guess this is OK, but I haven't ever done anything with the discovery code, so I don't know how it's supposed to work.
Jan 22 2025
This LGTM. But now libiscsiutil is just begging for some ATF tests.
Jan 21 2025
This is a great use of vnet.