Project

General

Profile

Bug #7719

sdev_create() doesn't enforce EISDIR in non-GZ

Added by Robert Mustacchi about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
filesystems (not ZFS)
Start date:
2017-01-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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.

#1

Updated by Electric Monk about 4 years ago

  • Status changed from New to Closed

git commit defc4c8acfa01dba1ef3c13ca0cafccfcede51c0

commit  defc4c8acfa01dba1ef3c13ca0cafccfcede51c0
Author: Ryan Zezeski <rpz@joyent.com>
Date:   2017-02-01T17:28:35.000Z

    7719 sdev_create() doesn't enforce EISDIR in non-GZ
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF