Konstantin Belousov
cb5c4b10ba
Add two rtld exported symbols, _rtld_atfork_pre and _rtld_atfork_post.
...
Threading library calls _pre before the fork, allowing the rtld to
lock itself to ensure that other threads of the process are out of
dynamic linker. _post releases the locks.
This allows the rtld to have consistent state in the child. Although
child may legitimately call only async-safe functions, the call may
need plt relocation resolution, and this requires working rtld.
Reported and debugging help by: rink
Reviewed by: kan, davidxu
MFC after: 1 month (anyway, not before 7.1 is out)
2008-11-27 11:27:59 +00:00
..
2008-09-01 22:55:23 +00:00
2008-08-22 09:23:39 +00:00
2008-03-12 11:58:29 +00:00
2008-11-17 21:06:17 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2008-08-13 19:35:31 +00:00
2007-10-19 10:37:34 +00:00
2007-06-18 18:47:54 +00:00
2007-05-21 02:49:08 +00:00
2008-11-27 11:27:59 +00:00
2008-05-30 14:47:42 +00:00
2008-10-27 21:46:58 +00:00
2008-06-14 10:42:18 +00:00
2007-05-21 02:49:08 +00:00
2008-01-31 16:55:12 +00:00
2008-05-04 22:24:40 +00:00
2008-05-22 02:14:23 +00:00
2007-06-10 19:06:09 +00:00
2008-05-23 07:35:36 +00:00
2008-05-08 14:01:42 +00:00
2008-10-24 07:56:01 +00:00
2008-05-08 20:05:30 +00:00
2008-09-08 06:27:00 +00:00
2007-05-21 02:49:08 +00:00
2008-08-06 14:02:05 +00:00
2007-07-01 12:08:08 +00:00
2007-05-21 02:49:08 +00:00
2008-05-30 14:47:42 +00:00
2008-11-06 16:20:27 +00:00
2008-01-13 20:37:19 +00:00
2007-05-14 05:00:37 +00:00
2007-05-21 18:16:04 +00:00
2008-02-17 05:14:47 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2008-05-15 15:28:18 +00:00
2008-08-28 11:48:49 +00:00
2008-11-27 09:21:37 +00:00
2008-11-05 19:35:43 +00:00
2007-05-21 02:49:08 +00:00
2008-11-03 10:38:00 +00:00
2008-02-05 20:03:45 +00:00
2008-08-15 21:08:48 +00:00
2008-03-19 00:06:30 +00:00
2007-04-09 01:45:30 +00:00
2007-05-21 02:49:08 +00:00
2008-11-21 09:14:29 +00:00
2007-05-21 02:49:08 +00:00
2008-11-27 11:27:59 +00:00
2008-09-14 16:07:21 +00:00
2007-12-16 18:02:37 +00:00
2007-05-21 02:49:08 +00:00
2008-11-25 08:04:40 +00:00
2007-05-21 02:49:08 +00:00
2008-11-25 02:15:09 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2007-05-21 02:49:08 +00:00
2008-08-08 00:21:27 +00:00
2008-11-15 09:23:48 +00:00
2008-11-19 08:56:35 +00:00
2007-05-21 02:49:08 +00:00