Re: [patch v2 2/4] x86, ptrace: regset extensions to support xstate

From: Roland McGrath
Date: Wed Feb 10 2010 - 13:26:43 EST


> In fact, unless I missed something again, the 2nd and 3rd _copyout's could
> use pos as start_pos instead of offsetof(what_we_already_copied).

No, you should never do that. start_pos and end_pos should be constants.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/