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)
Oct 2 2024, 3:12 PM
Unknown Object (File)
Oct 2 2024, 5:47 AM
Unknown Object (File)
Sep 30 2024, 8:18 PM
Unknown Object (File)
Sep 30 2024, 7:40 PM
Unknown Object (File)
Sep 9 2024, 2:23 AM
Unknown Object (File)
Sep 8 2024, 10:17 PM
Unknown Object (File)
Sep 8 2024, 5:16 PM
Unknown Object (File)
Aug 24 2024, 10:02 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