summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-18 15:46:48 -0700
committerElliott Hughes <enh@google.com>2015-03-18 15:46:48 -0700
commitfa495d51b02e1575088ed358614d3baa442f455f (patch)
tree7d44227f43953a5b99d2fc582f917987a5980f56 /libc/arch-arm64
parentab12dc70f3ef551c490dcfede76033e57ceee64d (diff)
downloadbionic-fa495d51b02e1575088ed358614d3baa442f455f.zip
bionic-fa495d51b02e1575088ed358614d3baa442f455f.tar.gz
bionic-fa495d51b02e1575088ed358614d3baa442f455f.tar.bz2
Hide statfs/fstatfs' ST_VALID flag from userspace.
Spotted while debugging the strace 4.10 upgrade. Change-Id: I1af1be9c9440151f55f74a835e1df71529b0e4fe
Diffstat (limited to 'libc/arch-arm64')
-rw-r--r--libc/arch-arm64/syscalls/__fstatfs.S (renamed from libc/arch-arm64/syscalls/fstatfs64.S)8
-rw-r--r--libc/arch-arm64/syscalls/__statfs.S (renamed from libc/arch-arm64/syscalls/statfs64.S)8
2 files changed, 6 insertions, 10 deletions
diff --git a/libc/arch-arm64/syscalls/fstatfs64.S b/libc/arch-arm64/syscalls/__fstatfs.S
index 2ca2dcd..7e350d6 100644
--- a/libc/arch-arm64/syscalls/fstatfs64.S
+++ b/libc/arch-arm64/syscalls/__fstatfs.S
@@ -2,7 +2,7 @@
#include <private/bionic_asm.h>
-ENTRY(fstatfs64)
+ENTRY(__fstatfs)
mov x8, __NR_fstatfs
svc #0
@@ -11,7 +11,5 @@ ENTRY(fstatfs64)
b.hi __set_errno_internal
ret
-END(fstatfs64)
-
- .globl fstatfs
- .equ fstatfs, fstatfs64
+END(__fstatfs)
+.hidden __fstatfs
diff --git a/libc/arch-arm64/syscalls/statfs64.S b/libc/arch-arm64/syscalls/__statfs.S
index ec8c588..962c590 100644
--- a/libc/arch-arm64/syscalls/statfs64.S
+++ b/libc/arch-arm64/syscalls/__statfs.S
@@ -2,7 +2,7 @@
#include <private/bionic_asm.h>
-ENTRY(statfs64)
+ENTRY(__statfs)
mov x8, __NR_statfs
svc #0
@@ -11,7 +11,5 @@ ENTRY(statfs64)
b.hi __set_errno_internal
ret
-END(statfs64)
-
- .globl statfs
- .equ statfs, statfs64
+END(__statfs)
+.hidden __statfs