Project

General

Profile

Actions

Bug #13035

open

Using O_WRONLY|O_TRUNC is broken for /dev/null in zones

Added by Jörg Sonnenberger almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Try running the attached test e.g. with truss and observe the EINVAL reported. This happens in normal zones, not in the global zone. It differs from all other systems and isn't a sensible failure mode.


Files

test.c (76 Bytes) test.c Jörg Sonnenberger, 2020-08-12 11:32 PM

No data to display

Actions

Also available in: Atom PDF