OSDN Git Service

_FORTIFY_SOURCE: add memset / bzero support
authorNick Kralevich <nnk@google.com>
Thu, 7 Jun 2012 21:01:26 +0000 (14:01 -0700)
committerNick Kralevich <nnk@google.com>
Thu, 7 Jun 2012 21:19:52 +0000 (14:19 -0700)
commit71a18dd435e96564539b5af71b8ea5093a2109a1
treefd59c2a7cc23b663d090b0b8843a5d19c97df7d0
parent7d11009a970732ea18f8a0599d63c94eab9ec3f0
_FORTIFY_SOURCE: add memset / bzero support

Add _FORTIFY_SOURCE support for the following functions:

* memset
* bzero

Move the __BIONIC_FORTIFY_INLINE definition to cdefs.h so it
can be used from multiple header files.

Change-Id: Iead4d5e35de6ec97786d58ee12573f9b11135bb7
libc/Android.mk
libc/include/string.h
libc/include/strings.h
libc/include/sys/cdefs.h
libc/string/__memset_chk.c [new file with mode: 0644]