Bugzilla – Attachment #38432: Safer version of the originally proposed patch. for bug #73701
return -EIO;
value &= 0xffff;
break;
case offsetof(struct user_regs_struct, rip):
/* Check if the new RIP address is canonical */
if (value >= TASK_SIZE)
}
put_stack_long(child, regno - sizeof(struct pt_regs), value);
return 0;