]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: check nanoseconds in utimensat
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Oct 2007 06:27:07 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:52 +0000 (08:42 -0700)
commit93d52aa18e2522ad9d9e17e5815dde5dd6251fd5
tree036f75b27d139408da721aaa75ed41a9b737a83d
parentff8bf61cc4664d343cdd6428253bd2bb7eed2bb2
VFS: check nanoseconds in utimensat

utimensat() (and possibly other callers of do_utimes()) didn't check if the
nanosecond value was within the allowed range.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/utimes.c