Skip to content

Commit

Permalink
Address post-commit patch comments.
Browse files Browse the repository at this point in the history
2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
  • Loading branch information
Paul Pluzhnikov committed Mar 25, 2014
1 parent f342689 commit 55a81e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

* sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
Expand All @@ -7,7 +11,6 @@
2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>

[BZ #16634]

* elf/dl-load.c (open_verify): Add mode parameter.
Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
(open_path): Change from boolean 'secure' to complete flag 'mode'
Expand Down
10 changes: 8 additions & 2 deletions elf/tst-dlopen-aout.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* 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.
This file is part of the GNU C Library.
Expand Down Expand Up @@ -33,8 +36,8 @@ fn (void *p)
return p;
}

int
main (int argc, char *argv[])
static int
do_test (int argc, char *argv[])
{
int j;

Expand All @@ -59,3 +62,6 @@ main (int argc, char *argv[])

return 0;
}

#define TEST_FUNCTION do_test (argc, argv)
#include "../test-skeleton.c"

0 comments on commit 55a81e3

Please sign in to comment.