mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2003-11-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PROT_GROWSUPDOWN): Define for 2.6.1 and up. * sysdeps/unix/sysv/linux/dl-execstack.c: Omit compatibility code if __ASSUME_PROT_GROWSUPDOWN is defined. 2003-11-26 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Set dl_stack_flags always for success.
This commit is contained in:
@ -80,12 +80,16 @@ __pthread_attr_init_2_0 (attr)
|
||||
int inheritsched;
|
||||
int scope;
|
||||
};
|
||||
struct pthread_attr *iattr;
|
||||
|
||||
/* Many elements are initialized to zero so let us do it all at
|
||||
once. This also takes care of clearing the bytes which are not
|
||||
internally used. */
|
||||
memset (attr, '\0', sizeof (struct old_attr));
|
||||
|
||||
iattr = (struct pthread_attr *) attr;
|
||||
iattr->flags |= ATTR_FLAG_OLDATTR;
|
||||
|
||||
/* We cannot enqueue the attribute because that member is not in the
|
||||
old attribute structure. */
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user