summaryrefslogtreecommitdiffstats
path: root/doc/man/cgrules.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/cgrules.conf.5')
-rw-r--r--doc/man/cgrules.conf.521
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/man/cgrules.conf.5 b/doc/man/cgrules.conf.5
index 30914bb..ab9d19b 100644
--- a/doc/man/cgrules.conf.5
+++ b/doc/man/cgrules.conf.5
@@ -15,11 +15,14 @@ The file the contains list of rules which assign
to a defined group/user a control group in a subsystem
(or control groups in subsystems)
-Rules have the form:
+Rules have two formats:
.in +4n
.nf
-<user> <controllers> <destination>
+<user> <controllers> <destination>
+.fi
+.nf
+<user>:<process name> <controllers> <destination>
.fi
.in
@@ -36,6 +39,13 @@ can be:
specified for various hierarchies for a single user)
.fi
+.I process name
+is optional and it can be:
+.nf
+ - a process name
+ - a full command path of a process
+.fi
+
.I controllers
can be:
.nf
@@ -66,6 +76,13 @@ student
in the subsystem 'device' belong to the control group /usergroup/students.
.nf
+student:cp devices /usergroup/students/cp
+.fi
+the 'cp' command processes of user
+student
+in the subsystem 'device' belong to the control group /usergroup/students/cp.
+
+.nf
@admin * admingroup/
.fi
the processes which belong to group