Alexander Larsson
b337c95d78
dbus proxy: Tight down what is allowed to send to the bus
...
Make sure we can only send message calls (not e.g. unicast signals)
to the bus. Also, whitelist the list of allowed interfaces to
org.freedesktop.DBus and org.freedesktop.DBus.Introspectable
See https://github.com/flatpak/flatpak/issues/343 for the origin
discussion of this.
2016-10-17 12:19:46 +02:00
Alexander Larsson
f17390b70c
Remove duplicate code
2016-10-06 12:31:54 +02:00
Christian Hergert
227da7359c
dbus-proxy: alignment bit-twiddling to remove multiple and divide
...
Common bit-twiddling to remove the multiply and divide for realignment.
2016-09-08 14:50:15 -07:00
Matthias Clasen
75218c4a65
Fix license headers
...
We were referring to the nonexisting "version 2" of the
Lesser GPL. It should be "version 2.1".
2016-07-29 14:27:49 -04:00
Josh Soref
f2c22796a8
spelling: specified
2016-05-27 06:46:56 +00:00
Josh Soref
c874ea7130
spelling: incoming
2016-05-27 06:44:02 +00:00
Josh Soref
147bf4fdf0
spelling: description
2016-05-27 06:39:37 +00:00
Alexander Larsson
8abbc0186e
Rename everything but the on-disk location to flatpak
2016-05-09 11:11:55 +02:00
Alexander Larsson
c24528d369
Rename source files to flatpak
2016-05-09 09:00:20 +02:00
Alexander Larsson
6a613d1fab
Rename all non-autogenerated symbols to flatpak
2016-05-09 09:00:20 +02:00
Alexander Larsson
1ffdf27d92
uncruftify: Initial run, all non-problematic changes
2016-05-06 16:03:27 +02:00
Alexander Larsson
0730eb05d7
dbus-filter: Log arg0 validation failures
2016-04-19 09:44:49 +02:00
Alexander Larsson
e45d0a7d46
Fix regression is dbus proxy
2015-09-25 10:53:59 +02:00
Alexander Larsson
e5e5389bb3
dbus-proxy: Avoid clang warning
2015-08-27 16:15:35 +02:00
Alexander Larsson
53df418814
dbus-proxy: Fix incorrect check of name policy
...
It was checking against the wrong enum type
2015-08-27 16:14:48 +02:00
Alexander Larsson
f5aba30ade
dbus-proxy: Fix flags arg passed to g_socket_receive_message
...
This is an out param, not an in param
2015-08-27 16:13:49 +02:00
Alexander Larsson
302f88e69d
Restructure directories and build
...
This moves a all source code into separate subdirs per binary. The
helper and the generic stuff goes into lib/ which is then used by all
the others. For now this is a completely internal library, but at
some point we will probably clean it up and expose some subset.
Also, we move the dbus proxy to libexecdir.
2015-07-10 12:15:45 +02:00