7d99b7d634
According to the specification the timevals must be validated and an errorcode -EINVAL returned in case the timevals are not in canonical form. This check was never done in Linux. The pre 2.6.16 code converted invalid timevals silently. Negative timeouts were converted by the timeval_to_jiffies conversion to the maximum timeout. hrtimers and the ktime_t operations expect timevals in canonical form. Otherwise random results might happen on 32 bits machines due to the optimized ktime_add/sub operations. Negative timeouts are treated as already expired. This might break applications which work on pre 2.6.16. To prevent random behaviour and API breakage the timevals are checked and invalid timevals sanitized in a simliar way as the pre 2.6.16 code did. Invalid timevals are reported with a per boot limited number of kernel messages so applications which use this misfeature can be corrected. After a grace period of one year the sanitizing should be replaced by a correct validation check. This is also documented in Documentation/feature-removal-schedule.txt The validation and sanitizing is done inside do_setitimer so all callers (sys_setitimer, compat_sys_setitimer, osf_setitimer) are catched. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
DocBook | ||
RCU | ||
aoe | ||
arm | ||
block | ||
cdrom | ||
connector | ||
cpu-freq | ||
cris | ||
crypto | ||
device-mapper | ||
driver-model | ||
drivers/edac | ||
dvb | ||
early-userspace | ||
fb | ||
filesystems | ||
firmware_class | ||
fujitsu/frv | ||
hwmon | ||
i2c | ||
i2o | ||
i386 | ||
ia64 | ||
infiniband | ||
input | ||
ioctl | ||
isdn | ||
kbuild | ||
kdump | ||
m68k | ||
mips | ||
networking | ||
parisc | ||
pcmcia | ||
power | ||
powerpc | ||
s390 | ||
scsi | ||
serial | ||
sh | ||
sound | ||
sparc | ||
spi | ||
sysctl | ||
telephony | ||
uml | ||
usb | ||
video4linux | ||
vm | ||
w1 | ||
watchdog | ||
x86_64 | ||
00-INDEX | ||
BUG-HUNTING | ||
Changes | ||
CodingStyle | ||
DMA-API.txt | ||
DMA-ISA-LPC.txt | ||
DMA-mapping.txt | ||
HOWTO | ||
IO-mapping.txt | ||
IPMI.txt | ||
IRQ-affinity.txt | ||
MSI-HOWTO.txt | ||
ManagementStyle | ||
PCIEBUS-HOWTO.txt | ||
README.DAC960 | ||
README.cycladesZ | ||
SAK.txt | ||
SecurityBugs | ||
SubmittingDrivers | ||
SubmittingPatches | ||
VGA-softcursor.txt | ||
acpi-hotkey.txt | ||
applying-patches.txt | ||
atomic_ops.txt | ||
basic_profiling.txt | ||
binfmt_misc.txt | ||
cachetlb.txt | ||
cciss.txt | ||
cli-sti-removal.txt | ||
computone.txt | ||
cpqarray.txt | ||
cpu-hotplug.txt | ||
cpusets.txt | ||
cputopology.txt | ||
dcdbas.txt | ||
debugging-modules.txt | ||
dell_rbu.txt | ||
devices.txt | ||
digiepca.txt | ||
dnotify.txt | ||
dontdiff | ||
eisa.txt | ||
exception.txt | ||
feature-removal-schedule.txt | ||
floppy.txt | ||
ftape.txt | ||
hayes-esp.txt | ||
highuid.txt | ||
hpet.txt | ||
hrtimers.txt | ||
hw_random.txt | ||
ibm-acpi.txt | ||
ide.txt | ||
initrd.txt | ||
io_ordering.txt | ||
ioctl-number.txt | ||
iostats.txt | ||
isapnp.txt | ||
java.txt | ||
kernel-doc-nano-HOWTO.txt | ||
kernel-docs.txt | ||
kernel-parameters.txt | ||
keys-request-key.txt | ||
keys.txt | ||
kobject.txt | ||
kprobes.txt | ||
kref.txt | ||
laptop-mode.txt | ||
ldm.txt | ||
locks.txt | ||
logo.gif | ||
logo.txt | ||
magic-number.txt | ||
mandatory.txt | ||
mca.txt | ||
md.txt | ||
memory.txt | ||
mono.txt | ||
moxa-smartio | ||
mtrr.txt | ||
mutex-design.txt | ||
nbd.txt | ||
nfsroot.txt | ||
nmi_watchdog.txt | ||
nommu-mmap.txt | ||
numastat.txt | ||
oops-tracing.txt | ||
paride.txt | ||
parport-lowlevel.txt | ||
parport.txt | ||
pci-error-recovery.txt | ||
pci.txt | ||
pm.txt | ||
pnp.txt | ||
preempt-locking.txt | ||
prio_tree.txt | ||
ramdisk.txt | ||
riscom8.txt | ||
rocket.txt | ||
rpc-cache.txt | ||
rtc.txt | ||
sched-arch.txt | ||
sched-coding.txt | ||
sched-design.txt | ||
sched-domains.txt | ||
sched-stats.txt | ||
seclvl.txt | ||
serial-console.txt | ||
sgi-ioc4.txt | ||
sgi-visws.txt | ||
sharedsubtree.txt | ||
smart-config.txt | ||
smp.txt | ||
sonypi.txt | ||
sparse.txt | ||
specialix.txt | ||
spinlocks.txt | ||
stable_api_nonsense.txt | ||
stable_kernel_rules.txt | ||
stallion.txt | ||
svga.txt | ||
sx.txt | ||
sysrq.txt | ||
time_interpolators.txt | ||
tipar.txt | ||
tty.txt | ||
unicode.txt | ||
unshare.txt | ||
voyager.txt | ||
xterm-linux.xpm | ||
zorro.txt |
README.cycladesZ
The Cyclades-Z must have firmware loaded onto the card before it will operate. This operation should be performed during system startup, The firmware, loader program and the latest device driver code are available from Cyclades at ftp://ftp.cyclades.com/pub/cyclades/cyclades-z/linux/