mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
97aadf7b99b25433f24b0015f9bbd39e94527dc1
This patch avoids that the following call trace is reported with usercopy hardening enabled: Bad or missing usercopy whitelist? Kernel memory overwrite attempt detected to SLUB object 'pool_workqueue' (offset 0, size 28)! WARNING: CPU: 3 PID: 26167 at mm/usercopy.c:81 usercopy_warn+0x7d/0xa0 Modules linked in: ch osst st scst_user(OE) scst_tape(OE) scst_local(OE) scst_changer(OE) isert_scst(OE) iscsi_scst(OE) scst(OE) dlm rdma_cm iw_cm ib_cm ib_core libcrc32c virtio_balloon joydev i2c_piix4 qxl drm_kms_helper ttm drm virtio_net ata_generic virtio_blk serio_raw net_failover failover pata_acpi CPU: 3 PID: 26167 Comm: ctdevice Tainted: G OE 4.18.16-300.fc29.x86_64 #1 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 Call Trace: __check_object_size+0x145/0x171 dev_user_process_reply+0xaab/0xc20 [scst_user] dev_user_ioctl+0x4f5/0x8eb [scst_user] do_vfs_ioctl+0xa4/0x620 ksys_ioctl+0x60/0x90 __x64_sys_ioctl+0x16/0x20 do_syscall_64+0x5b/0x160 entry_SYSCALL_64_after_hwframe+0x44/0xa9 This was reported by Rob Turk. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7797 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Overview ======== This is the SCST development repository. It contains not a single project SCST as one can think, but a number of them, which are divided as the following: 1. SCST core in scst/ subdirectory 2. Administration utility for SCST core scstadmin in scstadmin/ 3. Target drivers in own subdirectories qla2x00t/, iscsi-scst/, etc. 4. User space programs in usr/ subdirectory, like fileio_tgt. 5. Some various docs in doc/ subdirectory. Those subprojects are in most cases independent from each other, although some of them depend from the SCST core. They put in the single repository only to simplify their development, they are released independently. Thus, use "make all" only if you really need to build everything. Otherwise build only what you need, like for iSCSI-SCST: make scst scst_install iscsi iscsi_install For more information about each subproject see their README files. QLogic target driver ==================== QLogic target driver qla2x00t is the old driver, forked from qla2xxx several years ago. It is very stable, well tested and actively used in many production setups. There is also new driver, maintained by QLogic, which, among other, supports 32G FC, see http://scst.sourceforge.net/target_qla2x00t.html. You can find the latest version of it in git://git.qlogic.com/scst-qla2xxx.git. To integrate it into the SCST build tree you need to clone the QLogic git tree in a subdirectory of this directory (SCST root tree) with name qla2x00t_git (or create a symlink with this name pointing to any other location in your system). Now common and QLA specific root Makefile targets "magically" start working with the new driver. Then follow instructions in the git's README. In presence of qla2x00t_git subdirectory you can still build the qla2x00t using qla_old* root Makefile targets. Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%