zfs/module/icp
Jason Zaman a9947ce771 icp: add no_const for PaX Compat
The constify plugin will automatically constify a class of types that contain
only function pointers. The icp structs fail to build if this is enabled with
the following error. The no_const attribute makes the plugin skip those
structs.

module/icp/spi/kcf_spi.c: In function ‘copy_ops_vector_v1’:
module/icp/spi/kcf_spi.c:61:16: error: assignment of read-only location ‘*dst_ops->cou.cou_v1.co_control_ops’
  *((dst)->ops) = *((src)->ops);
                ^
module/icp/spi/kcf_spi.c:74:2: note: in expansion of macro ‘KCF_SPI_COPY_OPS’
  KCF_SPI_COPY_OPS(src_ops, dst_ops, co_control_ops);
  ^

Signed-off-by: Jason Zaman <jason@perfinion.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4947
Closes #4962
2016-08-12 09:51:19 -07:00
..
algs Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
api Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
asm-x86_64 Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
core Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
include icp: add no_const for PaX Compat 2016-08-12 09:51:19 -07:00
io Fixes for issues found with cppcheck tool 2016-07-27 13:31:22 -07:00
os Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
spi Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
Makefile.in Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
illumos-crypto.c Unify license of icp module with the rest of zfs 2016-07-29 15:34:12 -07:00