sdev_create() doesn't enforce EISDIR in non-GZ
filesystems (not ZFS)
In short: the sdev filesystem doesn't enforce EISDIR in non-global
zones. That is, an open(2) call with write access on a directory
doesn't return EISDIR as the man page specifies it should.
Updated by Electric Monk over 5 years ago
- Status changed from New to Closed
commit defc4c8acfa01dba1ef3c13ca0cafccfcede51c0 Author: Ryan Zezeski <firstname.lastname@example.org> Date: 2017-02-01T17:28:35.000Z 7719 sdev_create() doesn't enforce EISDIR in non-GZ Reviewed by: Patrick Mooney <email@example.com> Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Reviewed by: Andy Stormont <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>