X7ROOT File Manager
Current Path:
/usr/share/makedumpfile/eppic_scripts
usr
/
share
/
makedumpfile
/
eppic_scripts
/
📁
..
📄
README
(9.39 KB)
📄
ap_messages_3_10_to_4_8.c
(1.44 KB)
📄
dir_names_3_10_to_3_13.c
(1.13 KB)
📄
dir_names_3_14_to_4_8.c
(1.27 KB)
📄
keyring_3_10_to_4_3.c
(843 B)
📄
keyring_4_4_to_4_8.c
(10.55 KB)
📄
proc_names_3_10_to_4_8.c
(665 B)
📄
tcp_sk_buf_3_10_to_4_8.c
(1.49 KB)
📄
udp_sk_buf_3_10_to_4_8.c
(1.55 KB)
📄
unix_sk_buff_3_10_to_4_8.c
(1.51 KB)
📄
vhost_net_buffers_3_10_to_3_18.c
(1.84 KB)
📄
vhost_net_buffers_3_19_to_4_8.c
(1.98 KB)
📄
vhost_scsi_buffers_3_10_to_4_8.c
(1.27 KB)
Editing: vhost_scsi_buffers_3_10_to_4_8.c
string vhost_opt() { return "l"; } string vhost_usage() { return "\n"; } static void vhost_showusage() { printf("usage : vhost %s", vhost_usage()); } string vhost_help() { return "Help"; } void vhost_scsi(struct vhost_scsi *vs) { if (vs == NULL) return; for (i = 0; i < 128; i++) { struct vhost_virtqueue *vq = (struct vhost_virtqueue *)vs->vqs[i].vq; for (j = 0; j < 1024; j++) { if (vq->iov[j].iov_len) { memset((char *)vq->iov[j].iov_base, 'L', vq->iov[j].iov_len); memset((char *)&(vq->iov[j].iov_len), 'L', 0x8); } } } } int vhost() { struct list_head *head, *next; struct task_struct *tsk; tsk = &init_task; head = (struct list_head *) &(tsk->tasks); next = (struct list_head *) tsk->tasks.next; while (next != head) { int i; struct task_struct *task, *off = 0; task = (struct task_struct *)((unsigned long)next - ((unsigned long)&(off->tasks))); if (task->files && task->files->fdt) { for (i = 0; i < task->files->fdt->max_fds; i++) { if (task->files->fdt->fd[i] && task->files->fdt->fd[i]->f_op && task->files->fdt->fd[i]->f_op->open == &vhost_scsi_open) vhost_scsi((struct vhost_scsi *)task->files->fdt->fd[i]->private_data); } } next = (struct list_head *)task->tasks.next; } return 1; }
Upload File
Create Folder