syzkaller/pkg/osutil
Dmitry Vyukov 381ccbf2f8 pkg/ipc: generate better temp name for executor
Just appending the pid number can produce conflicting names
if the name itself ends with digits (standard temp file naming convention).
So append ".PID".
Also remove beginning from too long names instead of ending.
Temp files in tests has unique numbers at the end, we need to preserve them
to avoid file name conflicts.
2019-02-08 16:27:53 +01:00
..
fileutil_test.go all: fix gometalinter warnings 2018-03-08 18:48:26 +01:00
fileutil.go pkg/osutil: always remove old file in Rename 2018-12-20 13:22:46 +01:00
osutil_akaros.go pkg/osutil: replace UmountAll with RemoveAll 2018-08-04 15:50:40 +02:00
osutil_appengine.go pkg/kernel: sandbox make invocation 2017-11-17 14:56:34 +03:00
osutil_bsd.go Add mandatory OpenBSD bits (#689) 2018-08-28 10:07:26 -07:00
osutil_darwin.go pkg/osutil: replace UmountAll with RemoveAll 2018-08-04 15:50:40 +02:00
osutil_fuchsia.go pkg/osutil: replace UmountAll with RemoveAll 2018-08-04 15:50:40 +02:00
osutil_linux.go pkg/ipc: generate better temp name for executor 2019-02-08 16:27:53 +01:00
osutil_test.go pkg/osutil: add IsExist helper function 2017-06-17 12:11:24 +02:00
osutil_unix.go Add mandatory OpenBSD bits (#689) 2018-08-28 10:07:26 -07:00
osutil_windows.go pkg/osutil: replace UmountAll with RemoveAll 2018-08-04 15:50:40 +02:00
osutil.go pkg/runtest: fixes for fuchsia 2018-09-06 10:56:09 +02:00