diff for duplicates of <mvm4mcrtski.fsf@hawking.suse.de> diff --git a/a/1.txt b/N1/1.txt index c87a391..0ab2469 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,10 +17,6 @@ and __kernel_stat64 is not needed any more. Andreas. -- -Andreas Schwab, SUSE Labs, schwab at suse.de +Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." --------------- next part -------------- -An embedded and charset-unspecified text was scrubbed... -Name: stat.h -URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160229/6c496eb8/attachment-0001.h> diff --git a/N1/2.hdr b/N1/2.hdr new file mode 100644 index 0000000..f52118a --- /dev/null +++ b/N1/2.hdr @@ -0,0 +1,3 @@ +Content-Type: text/plain +Content-Disposition: attachment; filename=stat.h +Content-Description: sysdeps/unix/sysv/linux/aarch64/bits/stat.h diff --git a/N1/2.txt b/N1/2.txt new file mode 100644 index 0000000..3d50e7a --- /dev/null +++ b/N1/2.txt @@ -0,0 +1,190 @@ +/* Copyright (C) 1992-2015 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 + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#if !defined _SYS_STAT_H && !defined _FCNTL_H +# error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." +#endif + +#ifndef _BITS_STAT_H +#define _BITS_STAT_H 1 + +/* Versions of the `struct stat' data structure. */ +#define _STAT_VER_KERNEL 0 +#define _STAT_VER_LINUX 0 +#define _STAT_VER _STAT_VER_KERNEL + +/* Versions of the `xmknod' interface. */ +#define _MKNOD_VER_LINUX 0 + + +struct stat + { + __dev_t st_dev; /* Device. */ +#ifdef __ILP32__ + unsigned int __st_ino_pad; +# ifndef __USE_FILE_OFFSET64 + __ino_t st_ino; /* File serial number. */ +# else + __ino_t __st_ino; /* 32bit file serial number. */ +# endif +#else +# ifndef __USE_FILE_OFFSET64 + __ino_t st_ino; /* File serial number. */ +# else + __ino64_t st_ino; /* File serial number. */ +# endif +#endif + __mode_t st_mode; /* File mode. */ + __nlink_t st_nlink; /* Link count. */ + __uid_t st_uid; /* User ID of the file's owner. */ + __gid_t st_gid; /* Group ID of the file's group.*/ + __dev_t st_rdev; /* Device number, if device. */ + __dev_t __pad1; +#ifndef __USE_FILE_OFFSET64 + __off_t st_size; /* Size of file, in bytes. */ +# ifdef __ILP32__ + int __st_size_pad; +# endif +#else + __off64_t st_size; /* Size of file, in bytes. */ +#endif + __blksize_t st_blksize; /* Optimal block size for I/O. */ + int __pad2; + +#ifndef __USE_FILE_OFFSET64 + __blkcnt_t st_blocks; /* Number 512-byte blocks allocated. */ +# ifdef __ILP32__ + int __st_blocks_pad; +# endif +#else + __blkcnt64_t st_blocks; /* Number 512-byte blocks allocated. */ +#endif +#ifdef __USE_XOPEN2K8 + /* Nanosecond resolution timestamps are stored in a format + equivalent to 'struct timespec'. This is the type used + whenever possible but the Unix namespace rules do not allow the + identifier 'timespec' to appear in the <sys/stat.h> header. + Therefore we have to handle the use of this header in strictly + standard-compliant sources special. */ + struct timespec st_atim; /* Time of last access. */ + struct timespec st_mtim; /* Time of last modification. */ + struct timespec st_ctim; /* Time of last status change. */ +# define st_atime st_atim.tv_sec /* Backward compatibility. */ +# define st_mtime st_mtim.tv_sec +# define st_ctime st_ctim.tv_sec +#else + __time_t st_atime; /* Time of last access. */ + unsigned long int st_atimensec; /* Nscecs of last access. */ + __time_t st_mtime; /* Time of last modification. */ + unsigned long int st_mtimensec; /* Nsecs of last modification. */ + __time_t st_ctime; /* Time of last status change. */ + unsigned long int st_ctimensec; /* Nsecs of last status change. */ +#endif +#if !defined __ILP32__ || !defined __USE_FILE_OFFSET64 + int __glibc_reserved[2]; +#else + __ino64_t st_ino; /* File serial number. */ +#endif + }; + +#ifdef __USE_LARGEFILE64 +struct stat64 + { + __dev_t st_dev; /* Device. */ +# ifdef __ILP32__ + unsigned int __st_ino_pad; + __ino_t __st_ino; /* 32bit file serial number. */ +# else + __ino64_t st_ino; /* File serial number. */ +# endif + __mode_t st_mode; /* File mode. */ + __nlink_t st_nlink; /* Link count. */ + __uid_t st_uid; /* User ID of the file's owner. */ + __gid_t st_gid; /* Group ID of the file's group.*/ + __dev_t st_rdev; /* Device number, if device. */ + __dev_t __pad1; + __off64_t st_size; /* Size of file, in bytes. */ + __blksize_t st_blksize; /* Optimal block size for I/O. */ + + int __pad2; + __blkcnt64_t st_blocks; /* Number 512-byte blocks allocated. */ +# ifdef __USE_XOPEN2K8 + /* Nanosecond resolution timestamps are stored in a format + equivalent to 'struct timespec'. This is the type used + whenever possible but the Unix namespace rules do not allow the + identifier 'timespec' to appear in the <sys/stat.h> header. + Therefore we have to handle the use of this header in strictly + standard-compliant sources special. */ + struct timespec st_atim; /* Time of last access. */ + struct timespec st_mtim; /* Time of last modification. */ + struct timespec st_ctim; /* Time of last status change. */ +# else + __time_t st_atime; /* Time of last access. */ + unsigned long int st_atimensec; /* Nscecs of last access. */ + __time_t st_mtime; /* Time of last modification. */ + unsigned long int st_mtimensec; /* Nsecs of last modification. */ + __time_t st_ctime; /* Time of last status change. */ + unsigned long int st_ctimensec; /* Nsecs of last status change. */ +# endif +# ifdef __ILP32__ + __ino64_t st_ino; /* File serial number. */ +# else + int __glibc_reserved[2]; +# endif + }; +#endif + +/* Tell code we have these members. */ +#define _STATBUF_ST_BLKSIZE +#define _STATBUF_ST_RDEV +/* Nanosecond resolution time values are supported. */ +#define _STATBUF_ST_NSEC + +/* Encoding of the file mode. */ + +#define __S_IFMT 0170000 /* These bits determine file type. */ + +/* File types. */ +#define __S_IFDIR 0040000 /* Directory. */ +#define __S_IFCHR 0020000 /* Character device. */ +#define __S_IFBLK 0060000 /* Block device. */ +#define __S_IFREG 0100000 /* Regular file. */ +#define __S_IFIFO 0010000 /* FIFO. */ +#define __S_IFLNK 0120000 /* Symbolic link. */ +#define __S_IFSOCK 0140000 /* Socket. */ + +/* POSIX.1b objects. Note that these macros always evaluate to zero. But + they do it by enforcing the correct use of the macros. */ +#define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) +#define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) +#define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) + +/* Protection bits. */ + +#define __S_ISUID 04000 /* Set user ID on execution. */ +#define __S_ISGID 02000 /* Set group ID on execution. */ +#define __S_ISVTX 01000 /* Save swapped text after use (sticky). */ +#define __S_IREAD 0400 /* Read by owner. */ +#define __S_IWRITE 0200 /* Write by owner. */ +#define __S_IEXEC 0100 /* Execute by owner. */ + +#ifdef __USE_ATFILE +# define UTIME_NOW ((1l << 30) - 1l) +# define UTIME_OMIT ((1l << 30) - 2l) +#endif + +#endif /* bits/stat.h */ diff --git a/a/content_digest b/N1/content_digest index 60536cb..508d830 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,11 +2,27 @@ "ref\056AC38F1.2030608@huawei.com\0" "ref\020160218223506.GA7816@yury-N73SV\0" "ref\0208897488.c0hkBy2G1S@wuerfel\0" - "From\0schwab@suse.de (Andreas Schwab)\0" - "Subject\0[RFC5 PATCH v6 00/21] ILP32 for ARM64\0" + "From\0Andreas Schwab <schwab@suse.de>\0" + "Subject\0Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64\0" "Date\0Mon, 29 Feb 2016 17:00:29 +0100\0" - "To\0linux-arm-kernel@lists.infradead.org\0" - "\00:1\0" + "To\0Arnd Bergmann <arnd@arndb.de>\0" + "Cc\0linux-arm-kernel@lists.infradead.org" + Yury Norov <ynorov@caviumnetworks.com> + " Zhangjian \\(Bamvor\\) <bamvor.zhangjian@huawei.com>" + pinskia@gmail.com + Prasun.Kapoor@caviumnetworks.com + catalin.marinas@arm.com + heiko.carstens@de.ibm.com + linux-kernel@vger.kernel.org + agraf@suse.de + klimov.linux@gmail.com + broonie@kernel.org + jan.dakinevich@gmail.com + joseph@codesourcery.com + schwidefsky@de.ibm.com + Nathan_Lynch@mentor.com + " christoph.muellner@theobroma-systems.com\0" + "\01:1\0" "b\0" "Arnd Bergmann <arnd@arndb.de> writes:\n" "\n" @@ -27,12 +43,202 @@ "Andreas.\n" "\n" "-- \n" - "Andreas Schwab, SUSE Labs, schwab at suse.de\n" + "Andreas Schwab, SUSE Labs, schwab@suse.de\n" "GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7\n" - "\"And now for something completely different.\"\n" - "-------------- next part --------------\n" - "An embedded and charset-unspecified text was scrubbed...\n" - "Name: stat.h\n" - URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160229/6c496eb8/attachment-0001.h> + "\"And now for something completely different.\"" + "\01:2\0" + "fn\0stat.h\0" + "d\0sysdeps/unix/sysv/linux/aarch64/bits/stat.h\0" + "b\0" + "/* Copyright (C) 1992-2015 Free Software Foundation, Inc.\n" + " This file is part of the GNU C Library.\n" + "\n" + " The GNU C Library is free software; you can redistribute it and/or\n" + " modify it under the terms of the GNU Lesser General Public\n" + " License as published by the Free Software Foundation; either\n" + " version 2.1 of the License, or (at your option) any later version.\n" + "\n" + " The GNU C Library is distributed in the hope that it will be useful,\n" + " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n" + " Lesser General Public License for more details.\n" + "\n" + " You should have received a copy of the GNU Lesser General Public\n" + " License along with the GNU C Library; if not, see\n" + " <http://www.gnu.org/licenses/>. */\n" + "\n" + "#if !defined _SYS_STAT_H && !defined _FCNTL_H\n" + "# error \"Never include <bits/stat.h> directly; use <sys/stat.h> instead.\"\n" + "#endif\n" + "\n" + "#ifndef _BITS_STAT_H\n" + "#define _BITS_STAT_H\t1\n" + "\n" + "/* Versions of the `struct stat' data structure. */\n" + "#define _STAT_VER_KERNEL\t0\n" + "#define _STAT_VER_LINUX\t\t0\n" + "#define _STAT_VER\t\t_STAT_VER_KERNEL\n" + "\n" + "/* Versions of the `xmknod' interface. */\n" + "#define _MKNOD_VER_LINUX\t0\n" + "\n" + "\n" + "struct stat\n" + " {\n" + " __dev_t st_dev;\t\t\t/* Device. */\n" + "#ifdef __ILP32__\n" + " unsigned int __st_ino_pad;\n" + "# ifndef __USE_FILE_OFFSET64\n" + " __ino_t st_ino;\t\t\t/* File serial number.\t*/\n" + "# else\n" + " __ino_t __st_ino;\t\t\t/* 32bit file serial number.\t*/\n" + "# endif\n" + "#else\n" + "# ifndef __USE_FILE_OFFSET64\n" + " __ino_t st_ino;\t\t\t/* File serial number.\t*/\n" + "# else\n" + " __ino64_t st_ino;\t\t\t/* File serial number.\t*/\n" + "# endif\n" + "#endif\n" + " __mode_t st_mode;\t\t\t/* File mode. */\n" + " __nlink_t st_nlink;\t\t\t/* Link count. */\n" + " __uid_t st_uid;\t\t\t/* User ID of the file's owner.\t*/\n" + " __gid_t st_gid;\t\t\t/* Group ID of the file's group.*/\n" + " __dev_t st_rdev;\t\t\t/* Device number, if device. */\n" + " __dev_t __pad1;\n" + "#ifndef __USE_FILE_OFFSET64\n" + " __off_t st_size;\t\t\t/* Size of file, in bytes. */\n" + "# ifdef __ILP32__\n" + " int __st_size_pad;\n" + "# endif\n" + "#else\n" + " __off64_t st_size;\t\t\t/* Size of file, in bytes. */\n" + "#endif\n" + " __blksize_t st_blksize;\t\t/* Optimal block size for I/O. */\n" + " int __pad2;\n" + "\n" + "#ifndef __USE_FILE_OFFSET64\n" + " __blkcnt_t st_blocks;\t\t/* Number 512-byte blocks allocated. */\n" + "# ifdef __ILP32__\n" + " int __st_blocks_pad;\n" + "# endif\n" + "#else\n" + " __blkcnt64_t st_blocks;\t\t/* Number 512-byte blocks allocated. */\n" + "#endif\n" + "#ifdef __USE_XOPEN2K8\n" + " /* Nanosecond resolution timestamps are stored in a format\n" + " equivalent to 'struct timespec'. This is the type used\n" + " whenever possible but the Unix namespace rules do not allow the\n" + " identifier 'timespec' to appear in the <sys/stat.h> header.\n" + " Therefore we have to handle the use of this header in strictly\n" + " standard-compliant sources special. */\n" + " struct timespec st_atim;\t\t/* Time of last access. */\n" + " struct timespec st_mtim;\t\t/* Time of last modification. */\n" + " struct timespec st_ctim;\t\t/* Time of last status change. */\n" + "# define st_atime st_atim.tv_sec\t/* Backward compatibility. */\n" + "# define st_mtime st_mtim.tv_sec\n" + "# define st_ctime st_ctim.tv_sec\n" + "#else\n" + " __time_t st_atime;\t\t\t/* Time of last access. */\n" + " unsigned long int st_atimensec;\t/* Nscecs of last access. */\n" + " __time_t st_mtime;\t\t\t/* Time of last modification. */\n" + " unsigned long int st_mtimensec;\t/* Nsecs of last modification. */\n" + " __time_t st_ctime;\t\t\t/* Time of last status change. */\n" + " unsigned long int st_ctimensec;\t/* Nsecs of last status change. */\n" + "#endif\n" + "#if !defined __ILP32__ || !defined __USE_FILE_OFFSET64\n" + " int __glibc_reserved[2];\n" + "#else\n" + " __ino64_t st_ino;\t\t\t/* File serial number.\t*/\n" + "#endif\n" + " };\n" + "\n" + "#ifdef __USE_LARGEFILE64\n" + "struct stat64\n" + " {\n" + " __dev_t st_dev;\t\t\t/* Device. */\n" + "# ifdef __ILP32__\n" + " unsigned int __st_ino_pad;\n" + " __ino_t __st_ino;\t\t\t/* 32bit file serial number.\t*/\n" + "# else\n" + " __ino64_t st_ino;\t\t\t/* File serial number.\t*/\n" + "# endif\n" + " __mode_t st_mode;\t\t\t/* File mode. */\n" + " __nlink_t st_nlink;\t\t\t/* Link count. */\n" + " __uid_t st_uid;\t\t\t/* User ID of the file's owner.\t*/\n" + " __gid_t st_gid;\t\t\t/* Group ID of the file's group.*/\n" + " __dev_t st_rdev;\t\t\t/* Device number, if device. */\n" + " __dev_t __pad1;\n" + " __off64_t st_size;\t\t\t/* Size of file, in bytes. */\n" + " __blksize_t st_blksize;\t\t/* Optimal block size for I/O. */\n" + "\n" + " int __pad2;\n" + " __blkcnt64_t st_blocks;\t\t/* Number 512-byte blocks allocated. */\n" + "# ifdef __USE_XOPEN2K8\n" + " /* Nanosecond resolution timestamps are stored in a format\n" + " equivalent to 'struct timespec'. This is the type used\n" + " whenever possible but the Unix namespace rules do not allow the\n" + " identifier 'timespec' to appear in the <sys/stat.h> header.\n" + " Therefore we have to handle the use of this header in strictly\n" + " standard-compliant sources special. */\n" + " struct timespec st_atim;\t\t/* Time of last access. */\n" + " struct timespec st_mtim;\t\t/* Time of last modification. */\n" + " struct timespec st_ctim;\t\t/* Time of last status change. */\n" + "# else\n" + " __time_t st_atime;\t\t\t/* Time of last access. */\n" + " unsigned long int st_atimensec;\t/* Nscecs of last access. */\n" + " __time_t st_mtime;\t\t\t/* Time of last modification. */\n" + " unsigned long int st_mtimensec;\t/* Nsecs of last modification. */\n" + " __time_t st_ctime;\t\t\t/* Time of last status change. */\n" + " unsigned long int st_ctimensec;\t/* Nsecs of last status change. */\n" + "# endif\n" + "# ifdef __ILP32__\n" + " __ino64_t st_ino;\t\t\t/* File serial number.\t*/\n" + "# else\n" + " int __glibc_reserved[2];\n" + "# endif\n" + " };\n" + "#endif\n" + "\n" + "/* Tell code we have these members. */\n" + "#define\t_STATBUF_ST_BLKSIZE\n" + "#define _STATBUF_ST_RDEV\n" + "/* Nanosecond resolution time values are supported. */\n" + "#define _STATBUF_ST_NSEC\n" + "\n" + "/* Encoding of the file mode. */\n" + "\n" + "#define\t__S_IFMT\t0170000\t/* These bits determine file type. */\n" + "\n" + "/* File types. */\n" + "#define\t__S_IFDIR\t0040000\t/* Directory. */\n" + "#define\t__S_IFCHR\t0020000\t/* Character device. */\n" + "#define\t__S_IFBLK\t0060000\t/* Block device. */\n" + "#define\t__S_IFREG\t0100000\t/* Regular file. */\n" + "#define\t__S_IFIFO\t0010000\t/* FIFO. */\n" + "#define\t__S_IFLNK\t0120000\t/* Symbolic link. */\n" + "#define\t__S_IFSOCK\t0140000\t/* Socket. */\n" + "\n" + "/* POSIX.1b objects. Note that these macros always evaluate to zero. But\n" + " they do it by enforcing the correct use of the macros. */\n" + "#define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode)\n" + "#define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode)\n" + "#define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode)\n" + "\n" + "/* Protection bits. */\n" + "\n" + "#define\t__S_ISUID\t04000\t/* Set user ID on execution. */\n" + "#define\t__S_ISGID\t02000\t/* Set group ID on execution. */\n" + "#define\t__S_ISVTX\t01000\t/* Save swapped text after use (sticky). */\n" + "#define\t__S_IREAD\t0400\t/* Read by owner. */\n" + "#define\t__S_IWRITE\t0200\t/* Write by owner. */\n" + "#define\t__S_IEXEC\t0100\t/* Execute by owner. */\n" + "\n" + "#ifdef __USE_ATFILE\n" + "# define UTIME_NOW\t((1l << 30) - 1l)\n" + "# define UTIME_OMIT\t((1l << 30) - 2l)\n" + "#endif\n" + "\n" + "#endif\t/* bits/stat.h */" -76ddc645e03a4360abe041bf63dce75805f4bc053abfb3cd3027b649000f76c2 +edb20b0677faed0a0d3e7b824de98424864ce74a2fe795ca209b8a47e9f76c47
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.