OSDN Git Service

ARM: warn about atexit() calls from legacy shared libraries
authorArd Biesheuvel <ard.biesheuvel@gmail.com>
Tue, 28 Aug 2012 09:23:06 +0000 (11:23 +0200)
committerArd Biesheuvel <ard.biesheuvel@gmail.com>
Tue, 28 Aug 2012 09:23:06 +0000 (11:23 +0200)
commit144c2918668ac0d506a86478d5b9966ad816cec4
tree5ce7a0dd37fd5722f4c99739cbd2ad11fba87635
parentf3cfcd869ded41d25c1f4f4e48e7c374a64f9583
ARM: warn about atexit() calls from legacy shared libraries

Legacy ARM shared libraries use this generic version of atexit(),
which queues exit functions for invocation at program exit, at
which time the library may have been dlclose()'d, causing the
program to crash.

Change-Id: I41ae153c23268daa65ede7fb8966fc3e9caec369
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
libc/arch-arm/bionic/atexit_legacy.c