阅读背景:

在Linux上,命令行程序mktemp比C函数mkstemp安全吗?

来源:互联网 

Both operations create an empty file and return the filename but mkstemp leaves the file open in exclusive mode and gives you the handle. Is there a safety benefit to the C-function? Does this imply that there is a safety hole in the command-line version?Both operations create an empty file and return




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: