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)
Sun, Mar 30, 6:06 AM
Unknown Object (File)
Tue, Mar 11, 5:16 AM
Unknown Object (File)
Fri, Mar 7, 1:46 PM
Unknown Object (File)
Mar 7 2025, 9:56 AM
Unknown Object (File)
Mar 7 2025, 9:23 AM
Unknown Object (File)
Mar 7 2025, 8:17 AM
Unknown Object (File)
Mar 3 2025, 11:14 AM
Unknown Object (File)
Feb 10 2025, 1:28 AM
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 Not Applicable
Unit
Tests Not Applicable