diff options
| author | Oleg Nesterov <[email protected]> | 2008-02-01 17:35:31 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2008-02-10 09:48:03 +0000 |
| commit | 416529374b4793ba2d2e97e736d108a2e0f3ef07 (patch) | |
| tree | 2523182bf1dd501aeef28a2c578d86b95cd90683 /security/selinux/include/class_to_string.h | |
| parent | hrtimer: fix *rmtp handling in hrtimer_nanosleep() (diff) | |
| download | kernel-416529374b4793ba2d2e97e736d108a2e0f3ef07.tar.gz kernel-416529374b4793ba2d2e97e736d108a2e0f3ef07.zip | |
hrtimer: fix *rmtp/restarts handling in compat_sys_nanosleep()
Spotted by Pavel Emelyanov and Alexey Dobriyan.
compat_sys_nanosleep() implicitly uses hrtimer_nanosleep_restart(), this can't
work. Make a suitable compat_nanosleep_restart() helper.
Introduced by commit c70878b4e0b6cf8d2f1e46319e48e821ef4a8aba
hrtimer: hook compat_sys_nanosleep up to high res timer code
Also, set ->addr_limit = KERNEL_DS before doing hrtimer_nanosleep(), this func
was changed by the previous patch and now takes the "__user *" parameter.
Thanks to Ingo Molnar for fixing the bug in this patch.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Toyo Abe <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'security/selinux/include/class_to_string.h')
0 files changed, 0 insertions, 0 deletions
