We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b502782 commit 6151b46Copy full SHA for 6151b46
sandboxed_api/sandbox2/util.h
@@ -111,7 +111,8 @@ pid_t ForkWithFlags(int flags);
111
// Creates a new memfd. The memfd will be created with the following default
112
// memfd flags: MFD_CLOEXEC | MFD_ALLOW_SEALING.
113
absl::StatusOr<sapi::file_util::fileops::FDCloser> CreateMemFd(
114
- const char* name, uintptr_t flag = kMfdCloseOnExec | kMfdAllowSealing);
+ const char* name = "buffer_file",
115
+ uintptr_t flag = kMfdCloseOnExec | kMfdAllowSealing);
116
117
ABSL_DEPRECATED("Use absl::StatusOr<FDCloser> version instead.")
118
inline bool CreateMemFd(int* fd, const char* name = "buffer_file") {
0 commit comments