commit | 8be81679b1e920ed850dfc824b0e169b8559e7d0 | [log] [tgz] |
---|---|---|
author | Guangwen Feng <fenggw-fnst@cn.fujitsu.com> | Thu Nov 24 16:19:09 2016 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Nov 24 09:54:51 2016 +0100 |
tree | 93093a3822e7cca1727e86fa3031c095992005f9 | |
parent | f77b1be0ce9bb459a0dc77831f6f071b713df260 [diff] |
syscalls/getpriority01: Check the returned prio values in a range. Verify that the priority values returned by getpriority(2) are in the range of [0, 0], [0, 0] and [-20, 0] by default for the flags PRIO_PROCESS, PRIO_PGRP and PRIO_USER respectively. Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>