Project

General

Profile

Actions

Bug #7719

closed

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

Added by Robert Mustacchi almost 7 years ago. Updated almost 7 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:
External Bug:

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.

Actions #1

Updated by Electric Monk almost 7 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>

Actions

Also available in: Atom PDF