Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ibe5d385ff53996126f0eb39443ae0a57dc7061c2
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I0806e577936f1ca2e1156521b6f1029986f88394
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
|
|
- Add logic for checking return value
Change-Id: I96fc6357e2aa451d6ea09c45557d4827c7b2230b
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: Ice65d826b4331e3bbb2ef02a10652a7223a317e5
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
|
|
This patch places the check rule into the default context.
<check send_destination="org.tizen.activationd" send_type="method_call"
privilege="http://tizen.org/privilege/internal/sysadmin"/>
This might make processes with System::Privileged, System, User bypass the <check> rule,
but with this cynara rule we apply default DENY rule for http://tizen.org/privilege/internal/sysadmin.
So, applications only with the privilege can be allowed by the <check> rule.
https://review.tizen.org/gerrit/#/c/platform/core/security/security-manager/+/212942
cyad --set-policy --bucket=MANIFESTS_GLOBAL --client="$client" --user="*"
--privilege="http://tizen.org/privilege/internal/sysadmin" --type=DENY
Change-Id: Ie1d05cc24c368e22cbc2f2d5015db11cefbccdd0
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I4dca3549fc20713f7996469bc99341e845c9dc3f
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
|
|
Change-Id: I2c7b340fc100080ee915087c7dc962ede57a12a0
|
|
This release brings abitility to re-transmit received dbus signals
to specified destinations.
Change-Id: Icdbea97c4c1cd2a2021442b45219bf209ae88ac7
|
|
Change-Id: I608faeeac606f113130449825f8e2348c07f6900
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
|
|
Change-Id: I239f56ec3f4f90617da00215c214888c6b603217
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
|
|
This commit introduces ability for signal re-emmision. Basic
procedure is as follows:
- dbus_listener receives signals from system bus - signals to be forwarded
need to be listed here
- activationd_dm received "ForwardDBusSignal" `action` which needs to be
specified, while `destination` specifies target dbus name to which
signal has to be delivered
- forward_signal acton is added which re-transmits the signal to specified
destination
This commit does not yet support passing original signal parameters.
Change-Id: I72346c2dbb326f78252f6f0bdc24acceebbc4ae0
|
|
Do not use parameters used when configuring match but the params
that actually caused the callback to be called. This is important
because eg. one can specify path_namespace in match, but it's not
parameter that will be in message - it's "match parameter" only(!)
Change-Id: I4d3d922887accf9402282ae0210d682f170bbdb8
|
|
Change-Id: I15a9c64c01f34c58e1506eb15786fce544b24663
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Change-Id: If5809e26cc1d508a8892c03057b7ad8a2f15bc93
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I9e73046906fd9733f4c42fdba39d6a42cb652a60
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: Ibcf3f73dbd1e939176965990eaf518209981ba41
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I3fa9305eb59f59ffaac5f2c87667dee5e3fb518c
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Reference:
Well-known name: org.freedesktop.systemd1
Path: /org/freedesktop/systemd1
Interface: org.freedesktop.systemd1.Manager
Member: StartUnit
Change-Id: I3c76f42cd1ce78a9ef98c78460a4aad63a408172
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I1321b65f85eb4054e47883d97acfb7656fd74334
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I3bb2f8a94b771d6e485a9ce726ddada639ceb452
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
into tizen
|
|
|
|
* changes:
Drop example configuration
unit_control_dm: drop unneeded assert
|
|
Change-Id: I5eeb421fd6e4c51ce250bdb331e1f8ff65882430
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
|
|
Change-Id: I663691dfb3ece5197efdcb0ed9fc4909dd4a0c0a
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
|
|
This will be maintained in separate repostiory - activationd-plugin.
Change-Id: I81ae2cb9afadee5217811d9135d23a4a0b57b553
|
|
Config can be null when no configuration file was provided.
Change-Id: I09b94c71c307db73f0d186b294151bd12e639229
|
|
Change-Id: Iec84755bcf262b7e5095e111f28523004c7feba5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Additionally, introduce explicit return code for asynchronous
requests - UNIT_CONTROL_REQUEST_SENT, which does only mean
that request was posted, not completed.
Change-Id: Ia5a8f7141ede8d196c8af5e3c0ec65d2058f9f73
|
|
ie. recommended use is
#include <actd/unit_control.h>
Change-Id: I475f531566eb4b8cabd9f79037de13b2992b7a23
|
|
- explicitly specify timeout unit in function signatures
(ie. timeout_ms, instead of just timeout)
- add UnitControlTimeout enum with default and max timeout
constants
Change-Id: I637ad82251739a245fdbaaa936999263c919591f
|
|
Change-Id: I0262d581a21836eef671f63c23cafa462e69c7bb
|
|
This makes unit_control not return errors to systemd's source_dispatch.
That is, errors are sent back to clients as replies through D-Bus,
but the unit_control module itself does not report errors
to the dispatch, because the dispatch would disable the unit_control.
Such behaviour would make subsequent clients reaching their timeouts
instead of getting meaningful responses, such as "Access denied",
or "This is not supported, stupid!".
Change-Id: I1f624c3d7bb0ed31a0310371946c341fd3ad7feb
|
|
Change-Id: I1289fbc4a2bc019b2f34d17f5dedfef292561c45
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: Ie5ef7fc8b9e908a7920c15db540a26589112074b
|
|
Additionally, libactd pkgconfig package is provided.
Change-Id: I9a36f3b0d2ae2e0bacb1b3f60460f481d5d412b7
|
|
Change-Id: I7551d2d36795a41672691f639ddd5a4fca8eee79
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: Iac8535667bd4eba8b87ed6275cd25917ccf200bc
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I532e2de9b2e91f05bfcdca6ab40408980ac98540
Signed-off-by: Maciej Slodczyk <m.slodczyk2@partner.samsung.com>
|
|
Changelog:
- introduced libactd library
- using asynchronous calls where possible
- added automatic tests
- minor fixes in existing modules
Change-Id: I5a37574e6abe1aeb0eea08fa94499883123d43d5
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Unit names with wildcards can match multiple units, but non-wildcard
names are always matched directly and do not need querying systemd.
Avoiding this should reduce delay and fixes restarting inactive units
(which systemctl does, and so should we)
Change-Id: I2609fc619a84875e77039ae80995ed249edcf85d
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
The reply message is read inside the library and only a status is passed
to registered handler in async calls.
Change-Id: I71d2452d94d00d21b8a79c51102fc6f90a7801b6
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I1a36439684424d9393a1a2eaf2ab529cf2f33391
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: Ida251e3807ee9c844e4c8a0bd6e7d1cc5641f333
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I0a78a7d7830d88d26e0eff8d0b01401f85842af3
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: Ib3f8dd2e9305e1b4384668447dad555b79590d7e
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I6508537d0289d0d4723a8f52317d48887b1150ce
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Libsyscommon does not provide neccessary control over dbus calls, e.g.
makes it hard to select a bus to connect to.
Change-Id: I79bab3bcc7d26bd4f68a6ab5ca58225081259581
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: Ibca6f48af0025a7ae3a8a885ee2a677075e9fcd9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I240bfd5d6ff4ae19b3851abce748d2407eb06201
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|