diff options
author | Timo Teras <timo.teras@iki.fi> | 2010-04-16 16:56:00 +0300 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-04-16 10:14:06 -0700 |
commit | a501a33e9761f32b3d38ab9f113892abe7cef3f1 (patch) | |
tree | b40d9f2c93c4ed7ff094bddda0b38dfeb7fdf26d /libpthread/nptl/pthread_attr_setinheritsched.c | |
parent | 0eadd98d30c51d26fde4062e6b8c48f3c9b5148d (diff) |
nptl: mark forwarded functions protected
The libc stubs should never override the libpthread provided
functions inside libpthread, otherwise the struct pthread_functions
that is used by the forwarder stubs goes bad.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/pthread_attr_setinheritsched.c')
-rw-r--r-- | libpthread/nptl/pthread_attr_setinheritsched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/pthread_attr_setinheritsched.c b/libpthread/nptl/pthread_attr_setinheritsched.c index 9d0234aaa..3fc92e5a7 100644 --- a/libpthread/nptl/pthread_attr_setinheritsched.c +++ b/libpthread/nptl/pthread_attr_setinheritsched.c @@ -23,6 +23,7 @@ int +attribute_protected __pthread_attr_setinheritsched ( pthread_attr_t *attr, int inherit) |