2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-27 07:16:40 +00:00
restic/internal/fs
Michael Eischer 3e4c1ea196 fs: fix race condition in get/set security descriptor
Calling `Load()` twice for an atomic variable can return different
values each time. This resulted in trying to read the security
descriptor with high privileges, but then not entering the code path to
switch to low privileges when another thread has already done so
concurrently.
2024-08-30 12:46:07 +02:00
..
const_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
const_windows.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
const.go fs: Add O_NONBLOCK 2018-04-30 15:34:58 +02:00
deviceid_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
deviceid_windows.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
ea_windows_test.go Add test cases and handle volume GUID paths 2024-08-30 12:37:10 +02:00
ea_windows.go Fix extended attributes handling for VSS snapshots 2024-08-30 12:37:10 +02:00
file_unix.go Fix typos 2024-07-03 20:02:06 +02:00
file_windows_test.go Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
file_windows.go fs: fix long path handling for ResetPermissions, ClearAttributes and security descriptors 2024-07-29 20:10:58 +02:00
file.go fs: fix long path handling for ResetPermissions, ClearAttributes and security descriptors 2024-07-29 20:10:58 +02:00
fs_local_vss_test.go Rearange code 2024-04-29 01:27:34 +03:00
fs_local_vss.go Fix typos 2024-07-03 20:02:06 +02:00
fs_local.go backup: Set O_NOATIME in the right place 2022-02-06 15:00:37 +01:00
fs_reader_command_test.go fix panic in fs_reader 2024-08-03 19:08:04 +00:00
fs_reader_command.go fix panic in fs_reader 2024-08-03 19:08:04 +00:00
fs_reader_test.go all: Replace some errors.Wrap calls by errors.WithStack 2022-12-17 09:41:07 +01:00
fs_reader.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
fs_track.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
helpers.go Simplify os.ModeType|os.ModeCharDevice => os.ModeType 2020-09-21 14:21:32 +02:00
interface.go Remove io.Writer from fs.File 2020-09-21 14:21:32 +02:00
path_prefix_test.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
path_prefix.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
preallocate_darwin.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
preallocate_linux.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
preallocate_other.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
preallocate_test.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
sd_windows_test_helpers.go Fix review comments 2024-04-29 16:21:38 -06:00
sd_windows_test.go Fix review comments 2024-04-29 16:21:38 -06:00
sd_windows.go fs: fix race condition in get/set security descriptor 2024-08-30 12:46:07 +02:00
setflags_linux_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
setflags_linux.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
setflags_other.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
stat_bsd.go fs: Remove explicit type check in extendedStat 2022-11-27 19:58:06 +01:00
stat_test.go use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
stat_unix.go fs: Remove explicit type check in extendedStat 2022-11-27 19:58:06 +01:00
stat_windows.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
stat.go Examine file ctime when checking if files have changed. 2019-04-23 21:54:35 -05:00
vss_windows.go Rearange code 2024-04-29 01:27:34 +03:00
vss.go Fix texts and comments 2024-04-29 01:18:46 +03:00