summaryrefslogtreecommitdiff
path: root/include/sys/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/select.h')
-rw-r--r--include/sys/select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/select.h b/include/sys/select.h
index bcee8be..1f19672 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -30,7 +30,7 @@ extern "C" {
30static __inline__ __attribute__((__always_inline__,__gnu_inline__,__artificial__)) 30static __inline__ __attribute__((__always_inline__,__gnu_inline__,__artificial__))
31void __fortify_FD_CLR(int __f, fd_set *__s) 31void __fortify_FD_CLR(int __f, fd_set *__s)
32{ 32{
33 size_t __b = __builtin_object_size(__s, 0); 33 size_t __b = __bos(__s, 0);
34 34
35 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 35 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
36 __builtin_trap(); 36 __builtin_trap();
@@ -40,7 +40,7 @@ void __fortify_FD_CLR(int __f, fd_set *__s)
40static __inline__ __attribute__((__always_inline__,__gnu_inline__,__artificial__)) 40static __inline__ __attribute__((__always_inline__,__gnu_inline__,__artificial__))
41void __fortify_FD_SET(int __f, fd_set *__s) 41void __fortify_FD_SET(int __f, fd_set *__s)
42{ 42{
43 size_t __b = __builtin_object_size(__s, 0); 43 size_t __b = __bos(__s, 0);
44 44
45 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 45 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
46 __builtin_trap(); 46 __builtin_trap();