Skip to content

Open flags and mode in calls to open(). #1879

@fjpanag

Description

@fjpanag

There are some cases that open() is called with wrong arguments.

Here are some examples that I managed to find:

In NSH, here a file is opened without oflags (e.g. O_RDWR).

In file testing/ostest/aio.c several calls are made to open() with the flag O_CREAT, but no mode is passed. Example here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions