Page MenuHomeFreeBSD

iscsi: Move valid_iscsi_name to libiscsiutil
ClosedPublic

Authored by jhb on Jan 22 2025, 7:52 PM.
Tags
None
Referenced Files
F156529684: D48593.id149717.diff
Thu, May 14, 11:12 AM
Unknown Object (File)
Thu, May 14, 1:42 AM
Unknown Object (File)
Wed, May 13, 5:44 PM
Unknown Object (File)
Wed, May 13, 1:42 AM
Unknown Object (File)
Mon, May 11, 6:11 AM
Unknown Object (File)
Mon, May 11, 6:11 AM
Unknown Object (File)
Thu, Apr 30, 3:17 PM
Unknown Object (File)
Thu, Apr 30, 3:17 PM
Subscribers

Details

Summary

While here, use isxdigit(3) instead of a home-rolled version.

Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jan 22 2025, 7:52 PM
jhb added a child revision: D48594: ctld: Use bool in uclparse.c.

This LGTM. But now libiscsiutil is just begging for some ATF tests.

This revision is now accepted and ready to land.Jan 22 2025, 8:00 PM

I have some WIP to add nvme support to ctld and this series of commits are some cleanups before the meatier changes. To date libiscsiutil has just been a place to reduce code duplication between iscsiutil and ctld. Some bits like the log_* wrapper functions aren't iscsi specific and probably don't belong there but would be duplicated otherwise. :(

This revision was automatically updated to reflect the committed changes.