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 "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 71a37d8a7efe76b30ef04f540576040150628659 (commit)
via d5588ad18bbef13274437479de590d4ab37c7af6 (commit)
via 9f6d682c97a7e0a026f67f16064c749f51dc02b1 (commit)
from 34983ba9755185046484acafeedb8aae93de9951 (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 -----------------------------------------------------------------
commit 71a37d8a7efe76b30ef04f540576040150628659
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Thu Oct 22 03:48:09 2015 +0200
alpha: add special umount2 handling
Only on Linux alpha __NR_oldumount is defined and a umount not
umount2 syscall, but with two parameter is used.
Add special handling for it and an alias for umount2() users.
There was a discussion about this special handling, but it seems
it was never committed upstream:
http://marc.info/?l=linux-alpha&m=137455037930738&w=2
Runtime tested with qemu-alpha and a statically linked busybox
binary.
commit d5588ad18bbef13274437479de590d4ab37c7af6
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Thu Oct 22 03:47:43 2015 +0200
alpha: fix kernel_stat struct
commit 9f6d682c97a7e0a026f67f16064c749f51dc02b1
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Thu Oct 22 03:47:13 2015 +0200
alpha: fix header name
-----------------------------------------------------------------------
Summary of changes:
libc/sysdeps/linux/alpha/__longjmp.S | 2 +-
libc/sysdeps/linux/alpha/bits/kernel_stat.h | 6 +++---
libc/sysdeps/linux/common/umount2.c | 7 ++++++-
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/libc/sysdeps/linux/alpha/__longjmp.S b/libc/sysdeps/linux/alpha/__longjmp.S
index 5398856..35fd481 100644
--- a/libc/sysdeps/linux/alpha/__longjmp.S
+++ b/libc/sysdeps/linux/alpha/__longjmp.S
@@ -15,7 +15,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <setjmp-offsets.h>
+#include <jmpbuf-offsets.h>
#define a0 $16
diff --git a/libc/sysdeps/linux/alpha/bits/kernel_stat.h
b/libc/sysdeps/linux/alpha/bits/kernel_stat.h
index e919b21..32830fe 100644
--- a/libc/sysdeps/linux/alpha/bits/kernel_stat.h
+++ b/libc/sysdeps/linux/alpha/bits/kernel_stat.h
@@ -13,9 +13,9 @@ struct kernel_stat {
unsigned int st_gid;
unsigned int st_rdev;
long int st_size;
- unsigned long st_atime;
- unsigned long st_mtime;
- unsigned long st_ctime;
+ struct timespec st_atim;
+ struct timespec st_mtim;
+ struct timespec st_ctim;
unsigned int st_blksize;
int st_blocks;
unsigned int st_flags;
diff --git a/libc/sysdeps/linux/common/umount2.c b/libc/sysdeps/linux/common/umount2.c
index 08e0f33..c86f3c8 100644
--- a/libc/sysdeps/linux/common/umount2.c
+++ b/libc/sysdeps/linux/common/umount2.c
@@ -10,7 +10,12 @@
#include <sys/syscall.h>
#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __NR_umount2
-# include <sys/mount.h>
+#include <sys/mount.h>
_syscall2(int, umount2, const char *, special_file, int, flags)
libc_hidden_def(umount2)
#endif
+
+#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __NR_oldumount
+_syscall2(int, umount, const char *, special_file, int, flags)
+strong_alias(umount,umount2)
+#endif
hooks/post-receive
--
uClibc-ng - small C library for embedded systems