undefined4 Set_ACLShowAll_Proc(int *param_1,undefined4 param_2)
{
bool bVar1;
char cVar2;
char *pcVar3;
undefined1 *puVar4;
int iVar5;
uint uVar6;
int local_228;
uint local_224;
undefined1 local_220 [516];
iVar5 = *param_1;
cVar2 = simple_strtol(param_2,0,10) //possible issue identified - semgrep
if (cVar2 == '\x01') {
memset(&local_228,0,0x208) //possible issue identified - semgrep
memmove(&local_228,param_1 + *(int *)(iVar5 + 0xfc) * 0x450 + 0x164a,0x208) //possible issue identified - semgrep
if (local_224 != 0) {
printk("=============== Access Control Policy ===============\n");
printk("Policy is %ld : ",local_228);
printk(&_LC160,*(undefined4 *)(pACL_PolicyMessage + local_228 * 4)) //possible issue identified - semgrep
printk("=============== Access Control List ===============\n");
puVar4 = local_220;
uVar6 = 0;
while (bVar1 = uVar6 < local_224, uVar6 = uVar6 + 1, bVar1) {
printk("Entry #%02d: ",uVar6);
printk("%02X ",*puVar4);
printk("%02X ",puVar4[1]);
printk("%02X ",puVar4[2]);
printk("%02X ",puVar4[3]);
printk("%02X ",puVar4[4]);
printk("%02X ",puVar4[5]);
puVar4 = puVar4 + 8;
printk(&_LC71) //possible issue identified - semgrep
}
return 1;
}
if (RTDebugLevel < 2) {
return 1;
}
pcVar3 = "The Access Control List is empty!\n";
}
else {
if (cVar2 != '\0') {
return 0;
}
if (1 < RTDebugLevel) {
printk("Your input is 0!\n");
}
if (RTDebugLevel < 2) {
return 1;
}
pcVar3 = "The Access Control List will not be dumped!\n";
}
printk(pcVar3);
return 1;
}