[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r11225 - in /fsf/trunk/ports: ./ sysdeps/unix/sysv/linux/arm/ sysdeps/unix/sysv/linux/mips/bits/ sysdeps/unix/sysv/linux/mip...
- To: commits@xxxxxxxxxx
- Subject: [commits] r11225 - in /fsf/trunk/ports: ./ sysdeps/unix/sysv/linux/arm/ sysdeps/unix/sysv/linux/mips/bits/ sysdeps/unix/sysv/linux/mip...
- From: eglibc@xxxxxxxxxx
- Date: Fri, 13 Aug 2010 07:03:48 -0000
Author: eglibc
Date: Fri Aug 13 00:03:47 2010
New Revision: 11225
Log:
Import glibc-ports-mainline for 2010-08-13
Added:
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/syscalls.list
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
Modified:
fsf/trunk/ports/ChangeLog.arm
fsf/trunk/ports/ChangeLog.mips
fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/syscalls.list
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/statfs.h
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/sys/inotify.h
Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Fri Aug 13 00:03:47 2010
@@ -1,3 +1,8 @@
+2010-08-12 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/arm/syscalls.list: Add entry for
+ prlimit64 syscall.
+
2010-06-14 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETPIPE_SZ,
Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Fri Aug 13 00:03:47 2010
@@ -1,3 +1,22 @@
+2010-08-12 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
+ struct statfs64): Add f_flags field.
+
+2010-08-12 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
+ Define.
+
+2010-08-12 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
+ and prlimit64.
+ * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
+ sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
+ * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
+ prlimit64 syscall.
+
2010-06-14 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/syscalls.list
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/syscalls.list (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/syscalls.list Fri Aug 13 00:03:47 2010
@@ -3,3 +3,5 @@
syscall - syscall 7 syscall
oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@xxxxxxxxx
oldsetrlimit EXTRA setrlimit i:ip __old_setrlimit setrlimit@xxxxxxxxx
+
+prlimit64 EXTRA prlimit64 i:iipp prlimit64
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h Fri Aug 13 00:03:47 2010
@@ -1,6 +1,6 @@
/* Bit values & structures for resource limits. Linux/MIPS version.
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006, 2008,
- 2009 Free Software Foundation, Inc.
+ 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -240,3 +240,31 @@
PRIO_USER = 2 /* WHO is a user ID. */
#define PRIO_USER PRIO_USER
};
+
+
+__BEGIN_DECLS
+
+#ifdef __USE_GNU
+/* Modify and return resource limits of a process atomically. */
+# ifndef __USE_FILE_OFFSET64
+extern int prlimit (__pid_t __pid, enum __rlimit_resource __resource,
+ __const struct rlimit *__new_limit,
+ struct rlimit *__old_limit) __THROW;
+# else
+# ifdef __REDIRECT_NTH
+extern int __REDIRECT_NTH (prlimit, (__pid_t __pid,
+ enum __rlimit_resource __resource,
+ __const struct rlimit *__new_limit,
+ struct rlimit *__old_limit), prlimit64);
+# else
+# define prlimit prlimit64
+# endif
+# endif
+# ifdef __USE_LARGEFILE64
+extern int prlimit64 (__pid_t __pid, enum __rlimit_resource __resource,
+ __const struct rlimit64 *__new_limit,
+ struct rlimit64 *__old_limit) __THROW;
+# endif
+#endif
+
+__END_DECLS
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/statfs.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/statfs.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/statfs.h Fri Aug 13 00:03:47 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2000, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -45,7 +45,8 @@
/* Linux specials */
__fsid_t f_fsid;
long int f_namelen;
- long int f_spare[6];
+ long int f_flags;
+ long int f_spare[5];
};
#ifdef __USE_LARGEFILE64
@@ -64,7 +65,8 @@
/* Linux specials */
__fsid_t f_fsid;
long int f_namelen;
- long int f_spare[6];
+ long int f_flags;
+ long int f_spare[5];
};
#endif
Added: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/syscalls.list
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/syscalls.list (added)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips32/syscalls.list Fri Aug 13 00:03:47 2010
@@ -1,0 +1,3 @@
+# File name Caller Syscall name # args Strong name Weak names
+
+prlimit64 EXTRA prlimit64 i:iipp prlimit64
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list Fri Aug 13 00:03:47 2010
@@ -4,3 +4,5 @@
sync_file_range - sync_file_range i:iiii sync_file_range
ftruncate - ftruncate i:ii __ftruncate ftruncate ftruncate64 __ftruncate64
truncate - truncate i:si truncate truncate64
+
+prlimit64 EXTRA prlimit64 i:iipp prlimit64
Added: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (added)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list Fri Aug 13 00:03:47 2010
@@ -1,0 +1,3 @@
+# File name Caller Syscall name # args Strong name Weak names
+
+prlimit EXTRA prlimit64 i:iipp prlimit prlimit64
Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/sys/inotify.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/sys/inotify.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/sys/inotify.h Fri Aug 13 00:03:47 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -72,6 +72,8 @@
#define IN_ONLYDIR 0x01000000 /* Only watch the path if it is a
directory. */
#define IN_DONT_FOLLOW 0x02000000 /* Do not follow a sym link. */
+#define IN_EXCL_UNLINK 0x04000000 /* Exclude events on unlinked
+ objects. */
#define IN_MASK_ADD 0x20000000 /* Add to the mask of an already
existing watch. */
#define IN_ISDIR 0x40000000 /* Event occurred against dir. */