git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check permissions in zfs_space().
[zfs.git]
/
config
/
user-nptl_guard_within_stack.m4
diff --git
a/config/user-nptl_guard_within_stack.m4
b/config/user-nptl_guard_within_stack.m4
index
d094da7
..
421eb1c
100644
(file)
--- a/
config/user-nptl_guard_within_stack.m4
+++ b/
config/user-nptl_guard_within_stack.m4
@@
-12,7
+12,7
@@
AC_DEFUN([ZFS_AC_CONFIG_USER_STACK_GUARD], [
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="-lpthread"
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="-lpthread"
- AC_RUN_IFELSE(AC_LANG_PROGRAM(
+ AC_RUN_IFELSE(
[
AC_LANG_PROGRAM(
[
#include <pthread.h>
#include <sys/resource.h>
[
#include <pthread.h>
#include <sys/resource.h>
@@
-25,7
+25,7
@@
AC_DEFUN([ZFS_AC_CONFIG_USER_STACK_GUARD], [
void * func(void *arg)
{
void * func(void *arg)
{
- char buf[[
[BUFSIZE]
]];
+ char buf[[
BUFSIZE
]];
}
],
[
}
],
[
@@
-41,7
+41,7
@@
AC_DEFUN([ZFS_AC_CONFIG_USER_STACK_GUARD], [
pthread_attr_setguardsize(&attr, PAGESIZE);
pthread_create(&tid, &attr, func, NULL);
pthread_join(tid, NULL);
pthread_attr_setguardsize(&attr, PAGESIZE);
pthread_create(&tid, &attr, func, NULL);
pthread_join(tid, NULL);
- ]),
+ ])
]
,
[
AC_MSG_RESULT([no])
],
[
AC_MSG_RESULT([no])
],