blob: 7ddc696886185525924f37151acca93209df83bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff -up ./fs/utimes.c.touchkludge ./fs/utimes.c
--- ./fs/utimes.c.touchkludge 2008-08-20 20:54:10.000000000 +0400
+++ ./fs/utimes.c 2008-08-20 21:07:40.000000000 +0400
@@ -14,6 +14,14 @@ asmlinkage long sys_utimensat(int dfd, c
{
struct timespec tstimes[2];
struct timeval time[2];
+
+ if (filename == NULL)
+ /*
+ * a kludge for thuse, checking for utimensat
+ * availability via this maneuver
+ */
+ return -ENOSYS;
+
if (utimes) {
if (copy_from_user(&tstimes, utimes, sizeof(tstimes)))
return -EFAULT;
|