diff options
author | Elliott Hughes <enh@google.com> | 2014-05-20 21:01:00 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-20 21:01:00 -0700 |
commit | 46a55a4478db9e335bdc7f73ee2cf3a66fe673fd (patch) | |
tree | b6e2b8723f2d8330895a5bed48777e804365037d | |
parent | 20177b9fea893ab63a49cf574790ea5e5027e50d (diff) | |
download | bionic-46a55a4478db9e335bdc7f73ee2cf3a66fe673fd.zip bionic-46a55a4478db9e335bdc7f73ee2cf3a66fe673fd.tar.gz bionic-46a55a4478db9e335bdc7f73ee2cf3a66fe673fd.tar.bz2 |
Remove __syslog; we have the public klogctl API.
Bug: 11156955
Change-Id: I5c2cc02f39f76dd32984135f5c12c10bf2853796
-rw-r--r-- | libc/SYSCALLS.TXT | 1 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__syslog.S | 14 | ||||
-rw-r--r-- | libc/arch-arm64/syscalls/__syslog.S | 22 | ||||
-rw-r--r-- | libc/arch-mips/syscalls/__syslog.S | 19 | ||||
-rw-r--r-- | libc/arch-mips64/syscalls/__syslog.S | 26 | ||||
-rw-r--r-- | libc/arch-x86/syscalls/__syslog.S | 30 | ||||
-rw-r--r-- | libc/arch-x86_64/syscalls/__syslog.S | 17 |
7 files changed, 0 insertions, 129 deletions
diff --git a/libc/SYSCALLS.TXT b/libc/SYSCALLS.TXT index 694b8ae..71d76e3 100644 --- a/libc/SYSCALLS.TXT +++ b/libc/SYSCALLS.TXT @@ -291,7 +291,6 @@ int ioprio_get(int which, int who) all int uname(struct utsname*) all mode_t umask(mode_t) all int __reboot:reboot(int, int, int, void*) all -int __syslog:syslog(int, char*, int) all int init_module(void*, unsigned long, const char*) all int delete_module(const char*, unsigned int) all int klogctl:syslog(int, char*, int) all diff --git a/libc/arch-arm/syscalls/__syslog.S b/libc/arch-arm/syscalls/__syslog.S deleted file mode 100644 index 66e761a..0000000 --- a/libc/arch-arm/syscalls/__syslog.S +++ /dev/null @@ -1,14 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - mov ip, r7 - ldr r7, =__NR_syslog - swi #0 - mov r7, ip - cmn r0, #(MAX_ERRNO + 1) - bxls lr - neg r0, r0 - b __set_errno -END(__syslog) diff --git a/libc/arch-arm64/syscalls/__syslog.S b/libc/arch-arm64/syscalls/__syslog.S deleted file mode 100644 index 2e1fb1d..0000000 --- a/libc/arch-arm64/syscalls/__syslog.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - stp x29, x30, [sp, #-16]! - mov x29, sp - str x8, [sp, #-16]! - - mov x8, __NR_syslog - svc #0 - - ldr x8, [sp], #16 - ldp x29, x30, [sp], #16 - - cmn x0, #(MAX_ERRNO + 1) - cneg x0, x0, hi - b.hi __set_errno - - ret -END(__syslog) -.hidden __syslog diff --git a/libc/arch-mips/syscalls/__syslog.S b/libc/arch-mips/syscalls/__syslog.S deleted file mode 100644 index ace69c7..0000000 --- a/libc/arch-mips/syscalls/__syslog.S +++ /dev/null @@ -1,19 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - .set noreorder - .cpload t9 - li v0, __NR_syslog - syscall - bnez a3, 1f - move a0, v0 - j ra - nop -1: - la t9,__set_errno - j t9 - nop - .set reorder -END(__syslog) diff --git a/libc/arch-mips64/syscalls/__syslog.S b/libc/arch-mips64/syscalls/__syslog.S deleted file mode 100644 index 70eed3a..0000000 --- a/libc/arch-mips64/syscalls/__syslog.S +++ /dev/null @@ -1,26 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - .set push - .set noreorder - li v0, __NR_syslog - syscall - bnez a3, 1f - move a0, v0 - j ra - nop -1: - move t0, ra - bal 2f - nop -2: - .cpsetup ra, t1, 2b - LA t9,__set_errno - .cpreturn - j t9 - move ra, t0 - .set pop -END(__syslog) -.hidden __syslog diff --git a/libc/arch-x86/syscalls/__syslog.S b/libc/arch-x86/syscalls/__syslog.S deleted file mode 100644 index 1da01be..0000000 --- a/libc/arch-x86/syscalls/__syslog.S +++ /dev/null @@ -1,30 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - pushl %ebx - pushl %ecx - pushl %edx - .cfi_def_cfa_offset 12 - .cfi_rel_offset ebx, 0 - .cfi_rel_offset ecx, 4 - .cfi_rel_offset edx, 8 - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_syslog, %eax - int $0x80 - cmpl $-MAX_ERRNO, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret -END(__syslog) diff --git a/libc/arch-x86_64/syscalls/__syslog.S b/libc/arch-x86_64/syscalls/__syslog.S deleted file mode 100644 index f710025..0000000 --- a/libc/arch-x86_64/syscalls/__syslog.S +++ /dev/null @@ -1,17 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - movl $__NR_syslog, %eax - syscall - cmpq $-MAX_ERRNO, %rax - jb 1f - negl %eax - movl %eax, %edi - call __set_errno - orq $-1, %rax -1: - ret -END(__syslog) -.hidden __syslog |