Re: utimes/futimes/lutimes syscalls

From: Ulrich Drepper (drepper@redhat.com)
Date: Sat Jul 12 2003 - 01:38:55 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Mosberger wrote:

> Do you have this backwards? ia64 has utimes(), but not utime(). The
> same should be true for Alpha.

Yes, it was meant to say "why not for archs *other than* ...".

I attach the x86 version of the change.

- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/D6z/2ijCOnn/RHQRAl8uAKClUPu1rNyaND4F90tZB1+y9+IfAgCfcs49
ihs1EesN3+egIbHHdE00H2c=
=HK+M
-----END PGP SIGNATURE-----


--- linux-2.5/arch/i386/kernel/entry.S-old 2003-07-07 15:56:22.000000000 -0700
+++ linux-2.5/arch/i386/kernel/entry.S 2003-07-11 22:46:02.000000000 -0700
@@ -876,6 +876,7 @@ ENTRY(sys_call_table)
          .long sys_clock_nanosleep
         .long sys_statfs64
         .long sys_fstatfs64
- .long sys_tgkill
+ .long sys_tgkill /* 270 */
+ .long sys_utimes
  
 nr_syscalls=(.-sys_call_table)/4
--- linux-2.5/include/asm-i386/unistd.h-old 2003-07-07 15:56:22.000000000 -0700
+++ linux-2.5/include/asm-i386/unistd.h 2003-07-11 22:45:21.000000000 -0700
@@ -276,8 +276,9 @@
 #define __NR_statfs64 268
 #define __NR_fstatfs64 269
 #define __NR_tgkill 270
+#define __NR_utimes 271
 
-#define NR_syscalls 271
+#define NR_syscalls 272
 
 /* user-visible error numbers are in the range -1 - -124: see <asm-i386/errno.h> */
 

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



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:43 EST