Quote:
Originally Posted by jhersh
I was under the impression that Priv_SetWriteFileAllowed was a global system setting, not associated with any particular task or file handle. If the fopen is racing with Priv_SetWriteFileAllowed, it doesn't matter who is calling each of them.
-Joe
|
From my understanding, you call Priv_SetWriteFileAllowed(1) to
allow a file write operation and then call fopen() as usual.