Add a "flock" promise. If there are no local cache files for the user,
fontconfig may try to lock the shared cache files using fcntl(2). ok matthieu
This commit is contained in:
parent
57e2d19903
commit
ba05d4bd05
@ -616,7 +616,7 @@ StartDisplay (struct display *d)
|
|||||||
if (!WaitForServer (d))
|
if (!WaitForServer (d))
|
||||||
exit (OPENFAILED_DISPLAY);
|
exit (OPENFAILED_DISPLAY);
|
||||||
SetWindowPath(d);
|
SetWindowPath(d);
|
||||||
if (pledge("stdio rpath cpath wpath fattr proc dns inet unix exec prot_exec getpw id", NULL) != 0)
|
if (pledge("stdio rpath cpath wpath fattr flock proc dns inet unix exec prot_exec getpw id", NULL) != 0)
|
||||||
exit(OPENFAILED_DISPLAY);
|
exit(OPENFAILED_DISPLAY);
|
||||||
ManageSession (d);
|
ManageSession (d);
|
||||||
exit (REMANAGE_DISPLAY);
|
exit (REMANAGE_DISPLAY);
|
||||||
|
Loading…
Reference in New Issue
Block a user