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)
Sat, Jun 15, 3:16 AM
Unknown Object (File)
Fri, Jun 7, 5:33 PM
Unknown Object (File)
Thu, Jun 6, 2:09 PM
Unknown Object (File)
May 15 2024, 2:40 AM
Unknown Object (File)
May 2 2024, 3:05 PM
Unknown Object (File)
May 2 2024, 3:05 PM
Unknown Object (File)
May 2 2024, 2:34 PM
Unknown Object (File)
May 2 2024, 12:20 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