Description : Fixed the security hole.
authorwchang kim <wchang.kim@samsung.com>
Wed, 28 Sep 2016 09:05:28 +0000 (18:05 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 6 Mar 2024 15:08:16 +0000 (16:08 +0100)
commita97bc58e9a2fe5a64f481ee8adbb730337846975
treea377d0f0fbe4a9df3acda24e2a0089c19e79f1f7
parent20342bae20e2d3bde57b25d75ec10a19cd466211
Description : Fixed the security hole.

In case of "systemctl --user enable <path>", a application can insert
the malicious user service.

So systemctl can only enable the service with service name.

Change-Id: I570f45985516ee3636720f36787080590e6f90ef
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
src/systemctl/systemctl-enable.c