core-agent-linux/qubes-rpc
Marek Marczykowski-Górecki 8066129445
Add services for paranoid backup restore mode
Add a pair of services:
1. qubes.RegisterBackupLocation - called by dom0, registers what backup
location (including both file and command options) can be accessed.
Registered location gets an ID returned to the caller. The location (and
its ID) is valid as long as the service call remains open.

2. qubes.RestoreById - called by restoring DispVM to retrieve the backup
content. The service expects location ID as an argument, and then list
of files/directories (separated with spaces) on the first line of stdin.
This is very similar to qubes.Restore service, with exception for the
archive location control.

QubesOS/qubes-issues#5310
2020-08-03 03:43:09 +02:00
..
kde Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile 2019-10-20 09:12:07 +01:00
nautilus Added "QubesIncoming" shortcut to Nautilus 2020-01-13 16:45:41 +01:00
post-install.d Advertise qubes.VMExec support as a feature 2020-01-24 18:45:17 +01:00
suspend-post.d Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile 2019-10-20 09:12:07 +01:00
suspend-pre.d Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile 2019-10-20 09:12:07 +01:00
thunar Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile 2019-10-20 09:12:07 +01:00
.gitignore Ignore build result: tar2qfile 2019-10-20 09:12:08 +01:00
dvm2.h qvm-open-in-vm: mark file as read-only if opened with --view-only 2018-05-26 03:09:40 +02:00
gui-fatal.c qubes-rpc: fix code style - indent with spaces 2018-05-26 00:54:09 +02:00
gui-fatal.h Handle fallthrough with attribute(noreturn) for consistancy and compatiblity with older GCC 2017-09-07 16:38:35 +02:00
Makefile Add services for paranoid backup restore mode 2020-08-03 03:43:09 +02:00
prepare-suspend Detach all drivers from PCI devices before suspend 2018-01-22 21:53:03 +01:00
qfile-agent.c qfile-agent.c: exit on EPIPE after gui progress write 2018-07-25 12:44:52 +00:00
qfile-unpacker.c qfile-unpacker: add option (-w) to wait for disk space before extracting 2020-08-03 03:25:37 +02:00
qopen-in-vm.c Add build-time assert for filename buffer size 2018-05-28 22:45:39 +02:00
qrun-in-vm Convert other scripts to python3 2019-09-19 04:57:55 +02:00
qubes-open Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
qubes-suspend-module-blacklist Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile 2019-10-20 09:12:07 +01:00
qubes-sync-clock clock sync: drop untrusted_ prefix after value validation, fix error msg 2017-07-12 21:03:54 +02:00
qubes.Backup qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.ConnectTCP Allow creating TCP sockets between qubes 2019-08-08 15:48:37 +02:00
qubes.DetachPciDevice qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.Filecopy Added "QubesIncoming" shortcut to Nautilus 2020-01-13 16:45:41 +01:00
qubes.GetAppmenus fixed qubes.GetAppmenus ignoring some correct .desktop files 2020-06-03 18:27:34 +02:00
qubes.GetDate clock synchronization rewrite 2017-07-06 23:37:26 +02:00
qubes.GetImageRGBA Make shellcheck happy 2018-12-15 23:45:34 +01:00
qubes.InstallUpdatesGUI Specify expected shell in su calls 2019-07-05 20:38:04 +02:00
qubes.InstallUpdatesGUI.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.OpenInVM Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.OpenInVM.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.OpenURL qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.OpenURL.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.PostInstall Implement qubes.PostInstall service 2017-05-26 05:25:30 +02:00
qubes.RegisterBackupLocation Add services for paranoid backup restore mode 2020-08-03 03:43:09 +02:00
qubes.ResizeDisk Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
qubes.Restore qubes.Restore: remove bashism found by new ShellCheck 2020-02-26 18:47:44 +00:00
qubes.RestoreById Add services for paranoid backup restore mode 2020-08-03 03:43:09 +02:00
qubes.SelectDirectory Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SelectDirectory.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SelectFile Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SelectFile.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SetDateTime qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
qubes.ShowInTerminal qubes.ShowInTerminal: simply exit if mktemp generate " character 2019-05-11 11:54:24 +02:00
qubes.ShowInTerminal.config qubes.ShowInTerminal needs a graphical session running 2020-05-09 05:13:14 +02:00
qubes.StartApp StartApp: remove workaround for .desktop suffix 2020-01-07 13:06:57 +01:00
qubes.StartApp.config qubes-rpc: add 'wait-for-session=1' option for some services 2017-08-09 00:58:49 +02:00
qubes.SuspendPost Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SuspendPostAll qubes.SuspendPreAll and qubes.SuspendPostAll services 2016-03-15 23:33:11 +01:00
qubes.SuspendPre Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.SuspendPreAll qubes.SuspendPreAll and qubes.SuspendPostAll services 2016-03-15 23:33:11 +01:00
qubes.SyncNtpClock Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.UpdatesProxy Switch qubes.UpdatesProxy to socat 2017-06-10 23:11:01 +02:00
qubes.VMExec Add qubes.VMExec call, for running a single command 2020-01-24 18:44:45 +01:00
qubes.VMExecGUI.config Add qubes.VMExec call, for running a single command 2020-01-24 18:44:45 +01:00
qubes.VMRootShell Add qubes.VMRootShell service 2017-06-09 23:06:09 +02:00
qubes.VMShell Make all scripts in qubes-rpc executable 2017-06-09 23:09:58 +02:00
qubes.VMShell+WaitForSession.config Set 'wait-for-session=1' for 'qubes.VMShell+WaitForSession' 2018-01-14 19:20:58 +00:00
qubes.WaitForSession qubes.WaitForSession: refactor by waiting for qrexec-fork-server socket 2019-11-02 23:11:32 +01:00
qvm-copy Make qvm-copy/move[-to-vm] one script 2019-09-09 22:03:48 +02:00
qvm-copy-to-vm.gnome Unify qvm-{copy,move}-to-vm.{gnome,kde} and fix some bugs 2018-07-25 12:44:53 +00:00
qvm-open-in-dvm qvm-open-in-vm: implement --view-only option 2018-05-26 03:09:40 +02:00
qvm-open-in-vm qvm-open-in-vm: implement --view-only option 2018-05-26 03:09:40 +02:00
qvm-run-vm qvm-run-vm: fix comment 2020-05-06 14:46:15 +00:00
qvm-sync-clock qubes-rpc: fix issues found by shellcheck 2017-09-30 04:45:31 +02:00
resize-rootfs Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
sync-ntp-clock The Underscores Revolution: RPC services 2013-03-14 04:25:31 +01:00
tar2qfile.c tar2qfile: fix argument parser 2020-08-03 03:25:36 +02:00
vm-file-editor.c vm-file-editor: drop old wait-for-session mechanism 2019-11-11 16:08:28 +01:00
xdg-icon Use spaces in xdg-icon script 2019-09-19 04:57:55 +02:00