чување 4f9a87acd2ff4e0b4f5917ce8e3d1e0fa112ced2
родитељ 2166c7b415ebc3894f2c34ca90ba86cc99f6d2a6
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Wed, 28 Feb 2024 20:59:49 +0100
sled.c(main): Also add the call to unveil(NULL,NULL)
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 1, додавања: 5(+), брисања: 0(-)
diff --git a/sled.c b/sled.c
@@ -2251,6 +2251,11 @@ main(int argc, char** argv)
perror("sled: unveil");
exit(1);
}
+ if (unveil(NULL, NULL) < 0)
+ {
+ perror("sled: unveil");
+ exit(1);
+ }
#endif
dir_access = access(dirname, W_OK);