Skip to content
Snippets Groups Projects
user avatar
Matthieu Herrb authored
Use fchmod() to change permissions of the lock file instead
of chmod(), thus avoid the race that can be exploited to set
a symbolic link to any file or directory in the system.

Signed-off-by: default avatarMatthieu Herrb <matthieu.herrb@laas.fr>
Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit b67581cf)
(cherry picked from commit 12f65819)
03ff880e
History
Name Last commit Last update
..