----- Ursprüngliche Mail -----
Von: "Srinivasarao Pathipati" <quic_c_spathi@xxxxxxxxxxx>I fear this is not correct since malloc() is not async-signal safe.
static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
{
- struct uml_pt_regs r;
+ struct uml_pt_regs *r;
int save_errno = errno;
- r.is_user = 0;
+ r = malloc(sizeof(struct uml_pt_regs));
Thanks,
//richard