This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
Community source repository for glibc add-on ports branch, master, updated. glibc-2.13-26-g9145616
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Apr 2011 22:22:48 -0000
- Subject: Community source repository for glibc add-on ports branch, master, updated. glibc-2.13-26-g9145616
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Community source repository for glibc add-on ports".
The branch, master has been updated
via 91456166c51940caeecf2f3edc460deb689f82a4 (commit)
via ece7d80e58bcdc7ac02105099cda06a0b1b4918c (commit)
via f3bb0652be33a75370f8ed4552bcae6b8c8acefc (commit)
from e6893dbaa5d11b6f004247aa8fcab988c0f94514 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=91456166c51940caeecf2f3edc460deb689f82a4
commit 91456166c51940caeecf2f3edc460deb689f82a4
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Sun Apr 3 23:58:21 2011 +0200
m68k: declare name_to_handle_at and open_by_handle_at in bits/fcntl.h
diff --git a/ChangeLog.m68k b/ChangeLog.m68k
index 779dba1..ad78ade 100644
--- a/ChangeLog.m68k
+++ b/ChangeLog.m68k
@@ -2,6 +2,8 @@
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
(O_PATH): Define.
+ (struct file_handle, MAX_HANDLE_SZ): Define.
+ (name_to_handle_at, open_by_handle_at): Declare.
2011-03-06 Andreas Schwab <schwab@linux-m68k.org>
diff --git a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
index aecf214..54363b6 100644
--- a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
@@ -232,6 +232,19 @@ struct f_owner_ex
we splice from/to). */
# define SPLICE_F_MORE 4 /* Expect more data. */
# define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
+
+
+/* File handle structure. */
+struct file_handle
+{
+ unsigned int handle_bytes;
+ int handle_type;
+ /* File identifier. */
+ unsigned char f_handle[0];
+};
+
+/* Maximum handle size (for now). */
+# define MAX_HANDLE_SZ 128
#endif
__BEGIN_DECLS
@@ -290,6 +303,19 @@ extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
__off64_t __len);
# endif
+
+/* Map file name to file handle. */
+extern int name_to_handle_at (int __dfd, const char *__name,
+ struct file_handle *__handle, int *__mnt_id,
+ int __flags) __THROW;
+
+/* Open file using the file handle.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
+extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle,
+ int __flags);
+
#endif
__END_DECLS
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=ece7d80e58bcdc7ac02105099cda06a0b1b4918c
commit ece7d80e58bcdc7ac02105099cda06a0b1b4918c
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Sun Apr 3 23:57:44 2011 +0200
m68k: add O_PATH to bits/fcntl.h
diff --git a/ChangeLog.m68k b/ChangeLog.m68k
index 8b6a9db..779dba1 100644
--- a/ChangeLog.m68k
+++ b/ChangeLog.m68k
@@ -1,6 +1,7 @@
2011-04-03 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
+ (O_PATH): Define.
2011-03-06 Andreas Schwab <schwab@linux-m68k.org>
diff --git a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
index 3bbc1bf..aecf214 100644
--- a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
@@ -51,7 +51,8 @@
#endif
#ifdef __USE_GNU
# define O_DIRECT 0200000 /* Direct disk access. */
-# define O_NOATIME 01000000 /* Do not set atime. */
+# define O_NOATIME 01000000 /* Do not set atime. */
+# define O_PATH 010000000 /* Resolve pathname but do not open file. */
#endif
/* For now Linux has synchronisity options for data and read operations.
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=f3bb0652be33a75370f8ed4552bcae6b8c8acefc
commit f3bb0652be33a75370f8ed4552bcae6b8c8acefc
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Sun Apr 3 23:57:05 2011 +0200
m68k: update comments in bits/fcntl.h
diff --git a/ChangeLog.m68k b/ChangeLog.m68k
index 5e45243..8b6a9db 100644
--- a/ChangeLog.m68k
+++ b/ChangeLog.m68k
@@ -1,3 +1,7 @@
+2011-04-03 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
+
2011-03-06 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
diff --git a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
index f36507b..3bbc1bf 100644
--- a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 2000, 2004, 2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2004, 2008, 2009, 2010, 2011 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
@@ -28,7 +28,7 @@
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
- located on an ext2 file system */
+ located on a few file systems. */
#define O_ACCMODE 0003
#define O_RDONLY 00
#define O_WRONLY 01
@@ -247,20 +247,32 @@ extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count,
unsigned int __flags);
-/* Splice address range into a pipe. */
+/* Splice address range into a pipe.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
extern ssize_t vmsplice (int __fdout, const struct iovec *__iov,
size_t __count, unsigned int __flags);
-/* Splice two files together. */
+/* Splice two files together.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout,
__off64_t *__offout, size_t __len,
unsigned int __flags);
-/* In-kernel implementation of tee for pipe buffers. */
+/* In-kernel implementation of tee for pipe buffers.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
extern ssize_t tee (int __fdin, int __fdout, size_t __len,
unsigned int __flags);
-/* Reserve storage for the data of the file associated with FD. */
+/* Reserve storage for the data of the file associated with FD.
+
+ This function is a possible cancellation point and therefore not
+ marked with __THROW. */
# ifndef __USE_FILE_OFFSET64
extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
# else
-----------------------------------------------------------------------
Summary of changes:
ChangeLog.m68k | 7 ++++
sysdeps/unix/sysv/linux/m68k/bits/fcntl.h | 53 +++++++++++++++++++++++++----
2 files changed, 53 insertions(+), 7 deletions(-)
hooks/post-receive
--
Community source repository for glibc add-on ports