Messages in this thread |  | | Subject | "Bug" in 2.0.x/2.1.x | Date | Tue, 17 Dec 1996 14:38:52 +0100 | From | Andi Kleen <> |
| |
Hi,
In kernel/sched.c in Linux 2.0.x/2.1.x I see this:
asmlinkage int sys_sched_rr_get_interval(pid_t pid, struct timespec *interval) { struct timespec t;
t.tv_sec = 0; t.tv_nsec = 0; /* <-- Linus, please fill correct value in here */ return -ENOSYS; /* and then delete this line. Thanks! */ return copy_to_user(interval, &t, sizeof(struct timespec)) ? -EFAULT : 0; }
See the problem? ;) I can't supply a patch because I don't know the length of a time slice in Linux (it is architecture dependent, isn't it?) and I don't have a POSIX.4 copy at hand.
-Andi
-- |andi@mlm.extern.lrz-muenchen.de Nonsense is better than no sense at all. | -NoMeansNo,0-1=2
|  |