mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
Address post-commit patch comments.
2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com> * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
This commit is contained in:
parent
f3426898bf
commit
55a81e3b0a
@ -1,3 +1,7 @@
|
|||||||
|
2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
|
* elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
|
||||||
|
|
||||||
2014-03-24 Joseph Myers <joseph@codesourcery.com>
|
2014-03-24 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
|
* sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
|
||||||
@ -7,7 +11,6 @@
|
|||||||
2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
|
2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
[BZ #16634]
|
[BZ #16634]
|
||||||
|
|
||||||
* elf/dl-load.c (open_verify): Add mode parameter.
|
* elf/dl-load.c (open_verify): Add mode parameter.
|
||||||
Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
|
Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
|
||||||
(open_path): Change from boolean 'secure' to complete flag 'mode'
|
(open_path): Change from boolean 'secure' to complete flag 'mode'
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
/* Test case for BZ #16634.
|
/* Test case for BZ #16634.
|
||||||
|
|
||||||
|
Verify that incorrectly dlopen()ing an executable without
|
||||||
|
__RTLD_OPENEXEC does not cause assertion in ld.so.
|
||||||
|
|
||||||
Copyright (C) 2014 Free Software Foundation, Inc.
|
Copyright (C) 2014 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -33,8 +36,8 @@ fn (void *p)
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
main (int argc, char *argv[])
|
do_test (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
@ -59,3 +62,6 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define TEST_FUNCTION do_test (argc, argv)
|
||||||
|
#include "../test-skeleton.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user