Submitter | Carlos O'Donell |
---|---|
Date | July 30, 2019, 1:49 a.m. |
Message ID | <6ae0059a-9c61-5722-aba9-0ba5968d5874@redhat.com> |
Download | mbox | patch |
Permalink | /patch/33850/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/nptl/tst-pthread-getattr.c b/nptl/tst-pthread-getattr.c index a954778767..50a324cc68 100644 --- a/nptl/tst-pthread-getattr.c +++ b/nptl/tst-pthread-getattr.c @@ -41,8 +41,10 @@ static size_t pagesize; -/* Check if the page in which TARGET lies is accessible. This will segfault - if it fails. */ +/* Test that the page in which TARGET lies is accessible. This will + segfault if the write fails. This function has only half a page + of thread stack left and so should not do anything and immediately + return the address to which the stack reached. */ static volatile char * allocate_and_test (char *target) {