On 02/28, Al Viro wrote: > On Sun, Feb 28, 2016 at 02:50:22PM -0800, Amber Thrall wrote: > > The simple_strncmp_to_buffer() function provides an easier method for > > developers to compare a kernel space buffer against user space data. This > > process is done in a few drivers and may be simplified to a single function. > > *blink* > > The name is rather confusing and I would say that semantics is unexpected > as well. I would like to see proposed users of that primitive... Apologies for the confusing name, struggled to find an appropriate name while staying consistent with the naming schemes of simple_read/write_to_buffer() functions, as it based off of them. I'd love to hear alternative names. I saw possible uses for this proposed function being an easy way to interact with debugfs, via their write file operation. For example in the function xenvif_write_io_ring() the string "kick" is checked for against a user space buffer. Thanks for the fast reply. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html