Alexander Larsson 04879fdea5 Store and verify parent dir dev/ino and pass O_PATH fds
In order to be robust against symlink attacks (i.e. make a document
for a path, then replace it with a symlink somewhere else and have the
portal read that instead) we store the parent dev/ino when we create
the document id and always verify that (atomically with the *at
syscalls) on each use.

Also, we pass O_PATH fds when creating documents, as it allows us
to be a bit safer. For instance we can verify that the fd is a O_PATH
fd before doing any ops on it, and it makes it possible to avoid other
symlink trickery.

Also, we drop the double add methods, and just use the O_PATH version.
2015-09-03 22:17:00 +02:00
2015-03-11 10:25:15 +01:00
2015-06-23 11:40:11 +02:00
2015-09-03 22:17:00 +02:00
2015-05-21 18:54:06 +02:00
2015-08-25 13:16:34 +02:00
2015-03-20 15:57:22 +01:00
2015-08-31 09:40:45 +02:00
2015-03-31 15:36:29 +01:00
2015-08-25 13:16:34 +02:00
2015-08-25 13:16:34 +02:00
2015-07-10 12:23:42 +02:00
2015-03-28 16:12:03 -04:00

xdg-app

xdg-app is a system for building, distributing and running sandboxed desktop applications on Linux.

See https://wiki.gnome.org/Projects/SandboxedApps for more information.

Description
No description provided
Readme 60 MiB
Languages
C 91.1%
Shell 5.1%
Python 1.8%
Meson 1.1%
Yacc 0.8%