summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/atomic64_32.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-02-27 16:04:07 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-27 19:59:55 +0530
commit5dc99e50d2d66f8ddeb4e20af1908ad99db0cb98 (patch)
tree51fcb29ca657e40422a720ab222056778fe0b858 /arch/x86/lib/atomic64_32.c
parent7e0d306c372bf70ff19eb476bc7f7635abe816ea (diff)
downloadop-kernel-dev-5dc99e50d2d66f8ddeb4e20af1908ad99db0cb98.zip
op-kernel-dev-5dc99e50d2d66f8ddeb4e20af1908ad99db0cb98.tar.gz
ARC: gdbserver using regset interface possibly broken
ptrace regset interface relies on ELF_NGREG for ceiling the size of user request. So any larger request (even if legit) would be clipped. The existing def of ELF_NGREG didn't use user_regs_struct and was technically one placeholder short (stop_pc) - although the current code would still work because pt_regs includes a bunch of extra fields, making ELF_NGREG >= sizeof(struct user_regs_struct)/sizeof(long) But we need to remove this ambiguity, specially since pt_regs should NOT be directly associated with with anything userspace-ish. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/x86/lib/atomic64_32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud