diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md index 885a94858d..877d213e46 100644 --- a/docs/USER_RECORD.md +++ b/docs/USER_RECORD.md @@ -368,11 +368,11 @@ directory is first created, and defaults to `/etc/skel` if not defined. access mask for the home directory when it is first created. `tasksMax` → Takes an unsigned 64bit integer indicating the maximum number of -tasks the user may start in parallel during system runtime. This value is -enforced on all tasks (i.e. processes and threads) the user starts or that are -forked off these processes regardless if the change user identity (for example -by setuid binaries/`su`/`sudo` and -similar). [`systemd-logind.service`](https://www.freedesktop.org/software/systemd/man/systemd-logind.service.html) +tasks the user may start in parallel during system runtime. This counts +all tasks (i.e. threads, where each process is at least one thread) the user starts or that are +forked from these processes even if the user identity is changed (for example +by setuid binaries/`su`/`sudo` and similar). +[`systemd-logind.service`](https://www.freedesktop.org/software/systemd/man/systemd-logind.service.html) enforces this by setting the `TasksMax` slice property for the user's slice `user-$UID.slice`. diff --git a/man/homectl.xml b/man/homectl.xml index 5c67ea0054..6a8448f25d 100644 --- a/man/homectl.xml +++ b/man/homectl.xml @@ -504,10 +504,10 @@ TASKS Takes a non-zero unsigned integer as argument. Configures the maximum numer of tasks - (i.e. processes and threads) the user may have at any given time. This limit applies to all tasks - forked off the user's sessions, even if they change user identity via su1 or a - similar tool. Use to place a limit on the tasks actually + (i.e. threads, where each process is at least one thread) the user may have at any given time. This + limit applies to all tasks forked off the user's sessions, even if they change user identity via + su1 + or a similar tool. Use to place a limit on the tasks actually running under the UID of the user, thus excluding any child processes that might have changed user identity. This controls the TasksMax= setting of the per-user systemd slice unit user-$UID.slice. See