Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename source files to flatpak | Alexander Larsson | 2016-05-09 | 1 | -2/+2 |
| | |||||
* | Rename all non-autogenerated symbols to flatpak | Alexander Larsson | 2016-05-09 | 1 | -21/+21 |
| | |||||
* | uncruftify: Initial run, all non-problematic changes | Alexander Larsson | 2016-05-06 | 1 | -173/+212 |
| | |||||
* | Remove unused local variables reported by clang | Alexander Larsson | 2016-04-21 | 1 | -3/+0 |
| | |||||
* | fuse: Store basename in dir so we don't have to keep looking it up | Alexander Larsson | 2016-03-14 | 1 | -27/+21 |
| | | | | Its immutable for a document anyway | ||||
* | document portal: Avoid some deadlock | Alexander Larsson | 2016-03-14 | 1 | -2/+1 |
| | | | | | We can't hold the db lock and call into the fuse backend, because that can create deadlocks if it calls back into the db. | ||||
* | Reimplement fuse backend | Alexander Larsson | 2016-03-11 | 1 | -1465/+1474 |
| | | | | | | | | | | | The magic inode numbers we used before are problematic. The inode nrs are tied to the file names, so inode changes on rename, which breaks posix expectations. Also, it relied on 64bit inode space which is not true on i386. So, this is a new implementation that uses a more traditional approach of dynamically allocating inodes as needed. | ||||
* | common: Make it explicit that XdgAppError are portal errors | Alexander Larsson | 2015-12-08 | 1 | -4/+4 |
| | |||||
* | fuse: Disable entry cache to work around race condition | Alexander Larsson | 2015-10-01 | 1 | -1/+5 |
| | |||||
* | fuse: Supply mode when creating files | Alexander Larsson | 2015-09-18 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=92034 | ||||
* | document portal: Fix crashes when dbus activated | Alexander Larsson | 2015-09-09 | 1 | -2/+15 |
| | | | | | | We handle the first message (the activating message) before we have gotten the name aquired message. Make sure that this is correctly handled. | ||||
* | fuse: Drop DOC_DIR_INO_CLASS | Alexander Larsson | 2015-09-08 | 1 | -75/+26 |
| | | | | | We can just use a APP_DOC_DIR_INO_CLASS with app_id 0. This gets rid of some duplicated code. | ||||
* | document portal: Correctly handle recursive documents | Alexander Larsson | 2015-09-08 | 1 | -0/+12 |
| | | | | | I.e. if you pass in a document fd to the document portal we reuse the existing id. | ||||
* | fuse: Add some more debug spew | Alexander Larsson | 2015-09-08 | 1 | -1/+3 |
| | |||||
* | fuse: Raise entry cache times now that we invalidate | Alexander Larsson | 2015-09-08 | 1 | -7/+5 |
| | |||||
* | fuse: Properly invalidate inodes and entries | Alexander Larsson | 2015-09-08 | 1 | -5/+55 |
| | |||||
* | fuse: Unmount previous fuse instance if ENOTCONN | Alexander Larsson | 2015-09-08 | 1 | -0/+10 |
| | |||||
* | document-portal: Actually respect WRITE permissions | Alexander Larsson | 2015-09-04 | 1 | -80/+225 |
| | |||||
* | document-portal: Use xdg_app_is_valid_name() to validate app names | Alexander Larsson | 2015-09-04 | 1 | -1/+1 |
| | |||||
* | fuse: Always open files with O_NOFOLLOW | Alexander Larsson | 2015-09-04 | 1 | -3/+3 |
| | | | | Following symlinks is risky as the sandbox may control them. | ||||
* | Add debug output for release | Alexander Larsson | 2015-09-03 | 1 | -0/+3 |
| | |||||
* | Store and verify parent dir dev/ino and pass O_PATH fds | Alexander Larsson | 2015-09-03 | 1 | -84/+140 |
| | | | | | | | | | | | | | | | 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. | ||||
* | fuse: Make filesystem multithreaded | Alexander Larsson | 2015-09-03 | 1 | -390/+613 |
| | | | | This allows us to handle multiple apps better. | ||||
* | Use g_auto(GStrv) instead of glnx_strfreev | Alexander Larsson | 2015-08-31 | 1 | -1/+1 |
| | |||||
* | Remove ununsed variables reported by clang | Alexander Larsson | 2015-08-27 | 1 | -1/+0 |
| | |||||
* | Drop the xdp specific errors and use the xdg-app ones | Alexander Larsson | 2015-08-27 | 1 | -4/+4 |
| | |||||
* | Document portal: Store paths, not uris | Alexander Larsson | 2015-08-27 | 1 | -11/+11 |
| | | | | | There is no way to do this for generic uris anyway, lets not pretend we're solving a larger problem. | ||||
* | Make document portal use the new permission store | Alexander Larsson | 2015-08-26 | 1 | -80/+74 |
| | |||||
* | Don't list empty names in opendir | Alexander Larsson | 2015-08-04 | 1 | -2/+3 |
| | | | | This happened in my devel system by mistake and it broke readdir. | ||||
* | document-portal: *always* use the by-app location | Alexander Larsson | 2015-07-11 | 1 | -24/+4 |
| | | | | | This is better as you can't accidentally access another apps docs (although you can still see the backing real files) | ||||
* | Add GetMountPoint method for document portal | Alexander Larsson | 2015-07-10 | 1 | -0/+6 |
| | | | | | This is both to get the mount path and to have a nice way to activate the mount. | ||||
* | Import xdg-document-portal from github repo | Alexander Larsson | 2015-07-10 | 1 | -0/+1787 |
This pulls in the daemon code from: https://github.com/alexlarsson/xdg-document-portal/ We need this in xdg-app because we need to set up the mounts correctly. |