diff options
author | Elliott Hughes <enh@google.com> | 2015-03-18 15:46:48 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-18 15:46:48 -0700 |
commit | fa495d51b02e1575088ed358614d3baa442f455f (patch) | |
tree | 7d44227f43953a5b99d2fc582f917987a5980f56 /libc/arch-mips64 | |
parent | ab12dc70f3ef551c490dcfede76033e57ceee64d (diff) | |
download | bionic-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-mips64')
-rw-r--r-- | libc/arch-mips64/syscalls/__fstatfs.S (renamed from libc/arch-mips64/syscalls/fstatfs64.S) | 8 | ||||
-rw-r--r-- | libc/arch-mips64/syscalls/__statfs.S (renamed from libc/arch-mips64/syscalls/statfs64.S) | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/libc/arch-mips64/syscalls/fstatfs64.S b/libc/arch-mips64/syscalls/__fstatfs.S index 12e885c..8766e22 100644 --- a/libc/arch-mips64/syscalls/fstatfs64.S +++ b/libc/arch-mips64/syscalls/__fstatfs.S @@ -2,7 +2,7 @@ #include <private/bionic_asm.h> -ENTRY(fstatfs64) +ENTRY(__fstatfs) .set push .set noreorder li v0, __NR_fstatfs @@ -22,7 +22,5 @@ ENTRY(fstatfs64) j t9 move ra, t0 .set pop -END(fstatfs64) - - .globl fstatfs - .equ fstatfs, fstatfs64 +END(__fstatfs) +.hidden __fstatfs diff --git a/libc/arch-mips64/syscalls/statfs64.S b/libc/arch-mips64/syscalls/__statfs.S index 74351f7..52db4e2 100644 --- a/libc/arch-mips64/syscalls/statfs64.S +++ b/libc/arch-mips64/syscalls/__statfs.S @@ -2,7 +2,7 @@ #include <private/bionic_asm.h> -ENTRY(statfs64) +ENTRY(__statfs) .set push .set noreorder li v0, __NR_statfs @@ -22,7 +22,5 @@ ENTRY(statfs64) j t9 move ra, t0 .set pop -END(statfs64) - - .globl statfs - .equ statfs, statfs64 +END(__statfs) +.hidden __statfs |