[PATCH -mm] fixup *at syscalls additions (alpha, sparc64)



Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

Apply after dump_thread-cleanup.patch fixup.

--- linux-2.6.15-mm2/arch/alpha/kernel/osf_sys.c
+++ linux-1/arch/alpha/kernel/osf_sys.c
@@ -960,7 +960,7 @@ osf_utimes(char __user *filename, struct
return -EFAULT;
}

- return do_utimes(filename, tvs ? ktvs : NULL);
+ return do_utimes(AT_FDCWD, filename, tvs ? ktvs : NULL);
}

#define MAX_SELECT_SECONDS \
--- linux-2.6.15-mm2/arch/sparc64/kernel/sys_sparc32.c
+++ linux-1/arch/sparc64/kernel/sys_sparc32.c
@@ -820,7 +820,7 @@ asmlinkage long sys32_utimes(char __user
return -EFAULT;
}

- return do_utimes(filename, (tvs ? &ktvs[0] : NULL));
+ return do_utimes(AT_FDCWD, filename, (tvs ? &ktvs[0] : NULL));
}

/* These are here just in case some old sparc32 binary calls it. */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [PATCH 2/3] s390: Replace driver_data with dev_[gs]et_drvdata
    ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... Prev by Date: ...
    (Linux-Kernel)
  • Re: [patch] latency tracer, 2.6.15-rc7
    ... Lee ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... Prev by Date: ...
    (Linux-Kernel)
  • [PATCH 2/12] generic __ffs()
    ... * fls: find last bit set. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... Prev by Date: ...
    (Linux-Kernel)
  • Re: RFC: Starting a stable kernel series off the 2.6 kernel
    ... shouldn't be complaining if you're not doing your part. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... Prev by Date: ...
    (Linux-Kernel)
  • Re: 2.6.14.5 to 2.6.15 patch
    ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... Prev by Date: ...
    (Linux-Kernel)