mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 00:28:34 -05:00
run: Allow --filesystem=foo to expose sockets
We already kind of support this by exposing the parent directory, so this isn't really less secure, and you should not be able to access it unless your user is allowed to anyway.
This commit is contained in:
@@ -2295,7 +2295,8 @@ add_expose_path (GHashTable *hash_table,
|
||||
|
||||
if (S_ISDIR (st.st_mode) ||
|
||||
S_ISREG (st.st_mode) ||
|
||||
S_ISLNK (st.st_mode))
|
||||
S_ISLNK (st.st_mode) ||
|
||||
S_ISSOCK (st.st_mode))
|
||||
{
|
||||
FlatpakFilesystemMode old_mode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user