diff options
| author | Michael Osipov <michaelo@FreeBSD.org> | 2026-04-09 09:19:36 +0000 |
|---|---|---|
| committer | Michael Osipov <michaelo@FreeBSD.org> | 2026-04-11 18:28:03 +0000 |
| commit | 850eb149e7ab0733fcf9469a607dca223ff467ad (patch) | |
| tree | 720e911d405660e167b6ce0cdd324676d9318948 /cmd/dtrace/test/tst/common/ssh:/anongit@git.FreeBSD.org/src.git | |
| parent | 4f684e929de1275b1099b17b2a2cff0d3f4af223 (diff) | |
Improve mfi_pd_inq_string() by
* Reusing buffer sizes from cam/cam.h according to SCSI specification + NULL byte
* Don't truncate vendor-specific information by escaping into a too small buffer
* Use cam_strvis() from libcam instead of old, outdated local copy
* Recaculate size of inq_string based on the reused buffer sizes and
format statements
PR: 294354
Reviewed by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D56328
Diffstat (limited to 'cmd/dtrace/test/tst/common/ssh:/anongit@git.FreeBSD.org/src.git')
0 files changed, 0 insertions, 0 deletions
