undefined4 proc_init_forskip(void)
{
void *__s;
int iVar1;
__s = (void *)kmem_cache_alloc(0x1d324,0xd0) //possible issue identified - semgrep
if (__s != (void *)0x0) {
memset(__s,0,0x34) //possible issue identified - semgrep
*(undefined4 *)((int)__s + 0x2c) = 10;
*(undefined4 *)((int)__s + 0x28) = 0;
alphaforskip = __s;
iVar1 = create_proc_entry("fastnat/forskipsupport",0,0);
*(int *)((int)__s + 0x30) = iVar1;
if (iVar1 != 0) {
*(void **)(iVar1 + 0x3c) = __s;
*(code **)(*(int *)((int)__s + 0x30) + 0x40) = proc_read_forskip;
*(code **)(*(int *)((int)__s + 0x30) + 0x44) = proc_write_forskip;
return 0;
}
}
return 0xfffffff4;
}