HomeFreeBSD

ses: don't panic if disk elements have really weird descriptors

Description

ses: don't panic if disk elements have really weird descriptors

SES allows element descriptors to contain characters like spaces and
quotes that devfs does not allow to appear in device aliases. Since SES
element descriptors are outside of the kernel's control, we should
gracefully handle a failure to create a device physical path alias.

PR: 264513
Reported by: Yuri <yuri@aetern.org>
Reviewed by: imp, mav
Sponsored by: Axcient

(cherry picked from commit 5f438dd3acba47e54e63b13bfff31a49bcc6ddea)

Details

Provenance
asomersAuthored on Jun 10 2022, 10:44 PM
Parents
rG93891ed2f794: fusefs: make the mknod.cc tests a bit more general.
Branches
Unknown
Tags
Unknown