--- linux-2.6.13-vs2.0/fs/ioprio.c 2005-08-31 03:13:57 +0200 +++ linux-2.6.13-vs2.0.1-pre1/fs/ioprio.c 2005-08-30 01:01:12 +0200 @@ -22,6 +22,7 @@ #include #include #include +#include static int set_task_ioprio(struct task_struct *task, int ioprio) { @@ -93,7 +94,7 @@ asmlinkage long sys_ioprio_set(int which if (!who) user = current->user; else - user = find_user(who); + user = find_user(who, vx_current_xid()); if (!user) break; @@ -147,7 +148,7 @@ asmlinkage long sys_ioprio_get(int which if (!who) user = current->user; else - user = find_user(who); + user = find_user(who, vx_current_xid()); if (!user) break;