]> git.proxmox.com Git - mirror_zfs.git/blame - config/kernel-signal-stop.m4
Allow mounting snapshots in .zfs/snapshot as a regular user
[mirror_zfs.git] / config / kernel-signal-stop.m4
CommitLineData
414f7249
PD
1dnl #
2dnl # 4.4 API change
3dnl # Added kernel_signal_stop
4dnl #
5AC_DEFUN([ZFS_AC_KERNEL_SRC_SIGNAL_STOP], [
6 ZFS_LINUX_TEST_SRC([signal_stop], [
7 #include <linux/sched/signal.h>
8 ],[
9 kernel_signal_stop();
10 ])
11])
12
13AC_DEFUN([ZFS_AC_KERNEL_SIGNAL_STOP], [
14 AC_MSG_CHECKING([whether signal_stop() exists])
15 ZFS_LINUX_TEST_RESULT([signal_stop], [
16 AC_MSG_RESULT(yes)
17 AC_DEFINE(HAVE_SIGNAL_STOP, 1, [signal_stop() exists])
18 ],[
19 AC_MSG_RESULT(no)
20 ])
21])