Project

General

Profile

Bug #13035

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

Added by Jörg Sonnenberger 3 months 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

Also available in: Atom PDF