chiark / gitweb /
exec: Assigning the empty string to CapabilityBoundSet= should drop all caps
[elogind.git] / src / core / unit.c
index a1249dc093b47de9c172c571f200449c7fcb6fff..d43558e6df2838fcb9b7e073b0c1a96002e1cdab 100644 (file)
@@ -2645,7 +2645,14 @@ int unit_kill(Unit *u, KillWho w, int signo, DBusError *error) {
         return UNIT_VTABLE(u)->kill(u, w, signo, error);
 }
 
         return UNIT_VTABLE(u)->kill(u, w, signo, error);
 }
 
-int unit_kill_common(Unit *u, KillWho who, int signo, pid_t main_pid, pid_t control_pid, DBusError *error) {
+int unit_kill_common(
+                Unit *u,
+                KillWho who,
+                int signo,
+                pid_t main_pid,
+                pid_t control_pid,
+                DBusError *error) {
+
         int r = 0;
 
         if (who == KILL_MAIN && main_pid <= 0) {
         int r = 0;
 
         if (who == KILL_MAIN && main_pid <= 0) {