Displaying 12 results from an estimated 12 matches for "entrypath".
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...;\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destination (hopefully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
...ot;ThinLTO: Can't get a temporary file");
> }
> {
> raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
> OS << OutputBuffer.getBuffer();
> }
> // Rename to final destination (hopefully race condition won't matter here)
> EC = sys::fs::rename(TempFilename, EntryPath);
>
> Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarante...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...t;
> *}*
>
> *{*
>
> * raw_fd_ostream OS(TempFD, /* ShouldClose */ true);*
>
> * OS << OutputBuffer.getBuffer();*
>
> *}*
>
> *// Rename to final destination (hopefully race condition won't matter
> here)*
>
> *EC = sys::fs::rename(TempFilename, EntryPath); *
>
>
>
> Compared to a race-prone direct write of a buffer to a file, this code
> avoids a data race by first writing a buffer to a temp file and then
> renaming that temp file to become the final file in the cache. After
> r315079, when ‘rename’ became more POSIX-complia...
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...;\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destination (hopefully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when 'rename' became more POSIX-compliant, this scheme guarantees atom...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...;\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destination (hopefully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...ot;ThinLTO: Can't get a temporary file");
> }
> {
> raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
> OS << OutputBuffer.getBuffer();
> }
> // Rename to final destination (hopefully race condition won't matter here)
> EC = sys::fs::rename(TempFilename, EntryPath);
>
> Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarante...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...t;
> *}*
>
> *{*
>
> * raw_fd_ostream OS(TempFD, /* ShouldClose */ true);*
>
> * OS << OutputBuffer.getBuffer();*
>
> *}*
>
> *// Rename to final destination (hopefully race condition won't matter
> here)*
>
> *EC = sys::fs::rename(TempFilename, EntryPath); *
>
>
>
> Compared to a race-prone direct write of a buffer to a file, this code
> avoids a data race by first writing a buffer to a temp file and then
> renaming that temp file to become the final file in the cache. After
> r315079, when ‘rename’ became more POSIX-complia...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...;\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destination (hopefully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...;t get a temporary file");*
> *}*
> *{*
> * raw_fd_ostream OS(TempFD, /* ShouldClose */ true);*
> * OS << OutputBuffer.getBuffer();*
> *}*
> *// Rename to final destination (hopefully race condition won't matter
> here)*
> *EC = sys::fs::rename(TempFilename, EntryPath); *
>
> Compared to a race-prone direct write of a buffer to a file, this code
> avoids a data race by first writing a buffer to a temp file and then
> renaming that temp file to become the final file in the cache. After
> r315079, when ‘rename’ became more POSIX-compliant, this s...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...temporary file");
>> }
>> {
>> raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
>> OS << OutputBuffer.getBuffer();
>> }
>> // Rename to final destination (hopefully race condition won't matter here)
>> EC = sys::fs::rename(TempFilename, EntryPath);
>>
>> Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...;\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destination (hopefully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of...
2023 Mar 21
2
Bug#1033297: xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334
...l at debian.org, Debian Security Team <team at security.debian.org>
Hi,
The following vulnerabilities were published for xen.
CVE-2022-42331[0]:
| x86: speculative vulnerability in 32bit SYSCALL path Due to an
| oversight in the very original Spectre/Meltdown security work
| (XSA-254), one entrypath performs its speculation-safety actions too
| late. In some configurations, there is an unprotected RET instruction
| which can be attacked with a variety of speculative attacks.
CVE-2022-42332[1]:
| x86 shadow plus log-dirty mode use-after-free In environments where
| host assisted address trans...