diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-07-13 23:09:53 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-07-16 16:06:24 +0200 |
commit | 49550bfb9253a2727150eb63dba66654d6993220 (patch) | |
tree | 6d38f6ab1f5d709aca105f492cb22e2e283767f9 | |
parent | afeacfcb19f285000885d6c0379bc14c2f5afa31 (diff) | |
download | rt-tests-49550bfb9253a2727150eb63dba66654d6993220.tar.gz |
add a README describing how to allow changing scheduler policy for users
Notice: this object is not reachable from any branch.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Notice: this object is not reachable from any branch.
-rw-r--r-- | debian/rt-tests.README.Debian | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rt-tests.README.Debian b/debian/rt-tests.README.Debian new file mode 100644 index 0000000..de951ec --- /dev/null +++ b/debian/rt-tests.README.Debian @@ -0,0 +1,9 @@ +Most tests in the rt-tests suite change their scheduling policy and so need +the privileges to do so. +To give these privileges to non-root users you can add the following line to +/etc/security/limits.conf: + + @users - rtprio 20 + +Note that you probably don't want to do that on a system with untrusted users. +See limits.conf(5) and sched_setscheduler(2) for details. |