Project

General

Profile

Actions

Bug #15875

open

overlay(4D) should allow 64bit processes to open its device nodes

Added by Rich Lowe 26 days ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

When a 64bit process does open(2) the kernel inserts `FOFFMAX` into the flags
to indicate to the rest of the system that this handle is largefile aware, the
same as if a 32bit process did open64(2).

`overlay_target_open` was too restrictive in forbidding invalid flags and
would forbid that one as well, returning `EINVAL` and effectively forbidding a
largefile-aware or 64bit process from working.

I fixed this in the arm gate thusly: https://github.com/richlowe/illumos-gate/commit/9cd0a52b8e91a5af304d8835d34d1aed1e90d639

No data to display

Actions

Also available in: Atom PDF