fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

commit 0362def21a9478be6137e8b21379d87b81110f2d
parent 711c366a0d586f67d1394deed8ce101bb0e14f10
Author: sin <sin@2f30.org>
Date:   Tue, 10 Mar 2015 18:04:21 +0000

Inline ppoll() as well

Diffstat:
Minclude/poll.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/poll.h b/include/poll.h @@ -17,7 +17,8 @@ __fortify_poll(struct pollfd *fds, nfds_t nfds, int timeout) } #ifdef _GNU_SOURCE -static int +static inline __attribute__ ((always_inline)) +int __fortify_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *mask) {