zfs/module/icp/include/sys
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
..
crypto icp: add no_const for PaX Compat 2016-08-12 09:51:19 -07:00
ia32 Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
asm_linkage.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
bitmap.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
modctl.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
modhash.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
modhash_impl.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
stack.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
trap.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00