Home | History | Annotate | Download | only in private

Lines Matching refs:fn

50 static inline void __check_fd_set(const char* fn, int fd, size_t set_size) {
52 __fortify_fatal("%s: file descriptor %d < 0", fn, fd);
55 __fortify_fatal("%s: file descriptor %d >= FD_SETSIZE %zu", fn, fd, set_size);
58 __fortify_fatal("%s: set size %zu is too small to be an fd_set", fn, set_size);
62 static inline void __check_pollfd_array(const char* fn, size_t fds_size, nfds_t fd_count) {
66 fn, pollfd_array_length, fd_count);
70 static inline void __check_count(const char* fn, const char* identifier, size_t value) {
72 __fortify_fatal("%s: %s %zu > SSIZE_MAX", fn, identifier, value);
76 static inline void __check_buffer_access(const char* fn, const char* action,
79 __fortify_fatal("%s: prevented %zu-byte %s %zu-byte buffer", fn, claim, action, actual);