core: in execute, Never fail setting Nice priority
Instead, push to the closest possible Nice priority setting. Replaces: #11397
This commit is contained in:
committed by
Lennart Poettering
parent
6bbeef2042
commit
390902012c
@@ -200,3 +200,5 @@ assert_cc(TASKS_MAX <= (unsigned long) PID_T_MAX);
|
||||
})
|
||||
|
||||
int pidfd_get_pid(int fd, pid_t *ret);
|
||||
|
||||
int setpriority_closest(int priority);
|
||||
|
||||
Reference in New Issue
Block a user