mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
sysfs-writable charp arguments need to be locked against modification (since the old ones may be kfreed underneath us). String arguments are much simpler, so use them for small strings (eg. IFNAMSIZ). lkdtm only uses the parameters at module initialization time, so there's not much point making them writable. Signed-off-by: Rusty Russell <[email protected]> Reviewed-by: Takashi Iwai <[email protected]> Tested-by: Phil Carmody <[email protected]> Cc: Andrew Morton <[email protected]> Cc: M. Mohan Kumar <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: Jeff Mahoney <[email protected]> Cc: Julia Lawall <[email protected]> Cc: [email protected]