Spdk/lib/iscsi
Jim Harris 43a3984c6c configure: add CONFIG_HAVE_ARC4RANDOM
glibc 2.36 added arc4random(), which breaks
the SPDK iSCSI build since it always implements its
own arc4random() implementation on non-FreeBSD OS
(meaning always on Linux).

So instead add a CONFIG_HAVE_ARC4RANDOM and remove
the explicit FreeBSD dependency - this will work on
FreeBSD as well as Linux with >= glibc 2.36.

Also fix check_format.sh, so that it does not
enforce spdk/stdinc.h checks on code snippets in
the configure file.

Fixes issue #2637.

Reported-by: Karl Bonde Torp <k.torp@samsung.com>
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Iab9da8ae30d62a56869530846372ffddf7138eed
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14028
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
2022-08-16 10:25:17 +00:00
..
conn.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
conn.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
init_grp.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
init_grp.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
iscsi_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
iscsi_subsystem.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
iscsi.c configure: add CONFIG_HAVE_ARC4RANDOM 2022-08-16 10:25:17 +00:00
iscsi.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
md5.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
md5.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
param.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
param.h check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
portal_grp.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
portal_grp.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_iscsi.map subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
task.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
task.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
tgt_node.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
tgt_node.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00