mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix pipes reporting themselves as character devices through fstat(2).
This commit is contained in:
parent
2d841bae7c
commit
6385ea1957
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ PipeNode::PipeNode(dev_t dev, uid_t owner, gid_t group, mode_t mode)
|
|||
this->ino = (ino_t) this;
|
||||
this->stat_uid = owner;
|
||||
this->stat_gid = group;
|
||||
this->type = S_IFCHR;
|
||||
this->type = S_IFIFO;
|
||||
this->stat_mode = (mode & S_SETABLE) | this->type;
|
||||
supports_iovec = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue