Re: [PATCH 1/2] uprobes: Don't assume that arch_uprobe->insn/ixol is u8[MAX_UINSN_BYTES]

2013-11-11 Thread Srikar Dronamraju
* Oleg Nesterov  [2013-11-09 18:54:06]:

> arch_uprobe should be opaque as much as possible to the generic
> code, but currently it assumes that insn/ixol must be u8[] of the
> known size. Remove this unnecessary dependency, we can use "&" and
> and sizeof() with the same effect.
> 
> Signed-off-by: Oleg Nesterov 
Acked-by: Srikar Dronamraju 

-- 
Thanks and Regards
Srikar Dronamraju

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


Re: [PATCH 1/2] uprobes: Don't assume that arch_uprobe-insn/ixol is u8[MAX_UINSN_BYTES]

2013-11-11 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2013-11-09 18:54:06]:

 arch_uprobe should be opaque as much as possible to the generic
 code, but currently it assumes that insn/ixol must be u8[] of the
 known size. Remove this unnecessary dependency, we can use  and
 and sizeof() with the same effect.
 
 Signed-off-by: Oleg Nesterov o...@redhat.com
Acked-by: Srikar Dronamraju sri...@linux.vnet.ibm.com

-- 
Thanks and Regards
Srikar Dronamraju

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