Em Mon, Jun 08, 2015 at 04:50:16PM +0200, Milos Vyletel escreveu: > Use unique temporary files when copying to buildid dir to prevent races > in case multiple instances are trying to copy same file. This is done by > > - creating template in form <path>/.<filename>.XXXXXX where the suffix is > used by mkstemp() to create unique file > - change file mode > - copy content > - if successful link temp file to target file > - unlink temp file
Thanks, applied, will be in my next pull request to Ingo, - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

