You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mkdir, mkfifo, mknod: umask changes are not serialized or panic-safe #14994
mkdir, mkfifo and mknod set the process umask directly around a syscall and restore it afterwards. Overlapping calls can restore each other's value and leave the wrong umask, and a panic between the set and the restore leaks the temporary mask into the rest of the run. mkdir also reads the umask before that window, so the mask it derives can be stale.
Activity