Page MenuHomeFreeBSD

nandtool: Add missing mode for open() with O_CREAT
ClosedPublic

Authored by jilles on Dec 24 2017, 3:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 3:05 PM
Unknown Object (File)
Thu, May 2, 3:05 PM
Unknown Object (File)
Thu, May 2, 2:34 PM
Unknown Object (File)
Thu, May 2, 12:20 PM
Unknown Object (File)
Jan 22 2024, 7:53 AM
Unknown Object (File)
Dec 20 2023, 4:56 AM
Unknown Object (File)
Dec 8 2023, 4:40 PM
Unknown Object (File)
Dec 8 2023, 3:36 PM
Subscribers

Details

Summary

If O_CREAT is given, open() needs a mode argument.
Follow the umask by passing 0666.

Test Plan

buildworld and installworld only

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 13769
Build 13983: arc lint + arc unit