diff options
author | Igor Kozhukhov <[email protected]> | 2016-06-15 14:28:36 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-06-28 13:47:03 -0700 |
commit | eca7b76001a7d33f78bd98884aef8325bdbf98e7 (patch) | |
tree | bdcd0489c5a6c7840258c4c6063c9a4903bec256 /config | |
parent | 43e52eddb13d8accbd052fac9a242ce979531aa4 (diff) |
OpenZFS 6314 - buffer overflow in dsl_dataset_name
Reviewed by: George Wilson <[email protected]>
Reviewed by: Prakash Surya <[email protected]>
Reviewed by: Igor Kozhukhov <[email protected]>
Approved by: Dan McDonald <[email protected]>
Ported-by: Brian Behlendorf <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/6314
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/d6160ee
Diffstat (limited to 'config')
-rw-r--r-- | config/kernel-kobj-name-len.m4 | 21 | ||||
-rw-r--r-- | config/kernel.m4 | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/config/kernel-kobj-name-len.m4 b/config/kernel-kobj-name-len.m4 deleted file mode 100644 index 37999fabb..000000000 --- a/config/kernel-kobj-name-len.m4 +++ /dev/null @@ -1,21 +0,0 @@ -dnl # -dnl # 2.6.27 API change, -dnl # kobject KOBJ_NAME_LEN static limit removed. All users of this -dnl # constant were removed prior to 2.6.27, but to be on the safe -dnl # side this check ensures the constant is undefined. -dnl # -AC_DEFUN([ZFS_AC_KERNEL_KOBJ_NAME_LEN], [ - AC_MSG_CHECKING([whether kernel defines KOBJ_NAME_LEN]) - ZFS_LINUX_TRY_COMPILE([ - #include <linux/kobject.h> - ],[ - int val __attribute__ ((unused)); - val = KOBJ_NAME_LEN; - ],[ - AC_MSG_RESULT([yes]) - AC_DEFINE(HAVE_KOBJ_NAME_LEN, 1, - [kernel defines KOBJ_NAME_LEN]) - ],[ - AC_MSG_RESULT([no]) - ]) -]) diff --git a/config/kernel.m4 b/config/kernel.m4 index 800d782f1..086cd0b05 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -11,7 +11,6 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_BDEV_BLOCK_DEVICE_OPERATIONS ZFS_AC_KERNEL_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID ZFS_AC_KERNEL_TYPE_FMODE_T - ZFS_AC_KERNEL_KOBJ_NAME_LEN ZFS_AC_KERNEL_3ARG_BLKDEV_GET ZFS_AC_KERNEL_BLKDEV_GET_BY_PATH ZFS_AC_KERNEL_OPEN_BDEV_EXCLUSIVE |