Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Obviously a conversion error while switching to __xn_safe*. >> >> Signed-off-by: Jan Kiszka <[email protected]> > > Well, I have just checked the kernel code, and 0 as a return value of > strncpy_from_user is treated as a value in most places, even if not -EFAULT. >
Better check our code: :) __xn_safe_strncpy_from_user works differently. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux _______________________________________________ Xenomai-core mailing list [email protected] https://mail.gna.org/listinfo/xenomai-core
