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 almost 7 years ago
- Status changed from New to Closed
commit defc4c8acfa01dba1ef3c13ca0cafccfcede51c0 Author: Ryan Zezeski <email@example.com> Date: 2017-02-01T17:28:35.000Z 7719 sdev_create() doesn't enforce EISDIR in non-GZ Reviewed by: Patrick Mooney <firstname.lastname@example.org> Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Reviewed by: Andy Stormont <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>