15 lines
414 B
Text
15 lines
414 B
Text
Index: tools/updateiconcache.c
|
|
--- tools/updateiconcache.c.orig
|
|
+++ tools/updateiconcache.c
|
|
@@ -1714,6 +1714,11 @@ main (int argc, char **argv)
|
|
path = g_locale_to_utf8 (path, -1, NULL, NULL, NULL);
|
|
#endif
|
|
|
|
+ if (pledge("stdio rpath wpath cpath fattr", NULL) == -1) {
|
|
+ g_printerr (_("pledge\n"));
|
|
+ exit (1);
|
|
+ }
|
|
+
|
|
if (validate)
|
|
{
|
|
char *file = g_build_filename (path, CACHE_NAME, NULL);
|