This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
--- a/stdlib/stdlib.h 2018-05-04 04:41:52.000000000 +0200
+++ b/stdlib/stdlib.h 2018-05-04 04:49:06.000000000 +0200
@@ -584,8 +584,14 @@
__THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur;
#endif
+#if !defined ENABLE_FUN || defined I_OPPOSE_CENSORSHIP
/* Abort execution and generate a core-dump. */
extern void abort (void) __THROW __attribute__ ((__noreturn__));
+#else
+extern void abort (void) __THROW __attribute__ ((__noreturn__))
+ __attribute__ ((error (
+ "Political regulations prohibit calling this function")));
+#endif
/* Register a function to be called when `exit' is called. */Attachment:
smime.p7s
Description: S/MIME cryptographic signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |