linux/drivers/staging/dgrp
Chen Gang 0f6e8aab94 staging: for dgrp, let nd_ps_desc always NUL terminated string within MAX_DESC_LEN length
Use strlcpy instead of strncpy to let nd_ps_desc always NUL terminated.

Change nd_ps_desc in nd_struct struct to MAX_DESC_LEN to avoid the
confusion (the related length checking also need be changed to
MAX_DESC_LEN - 1).

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-13 18:08:16 -04:00
..
dgrp_common.c dgrp procfs fixes, part 6: just use proc_create{,_data} 2013-04-09 14:13:09 -04:00
dgrp_common.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
dgrp_dpa_ops.c staging: for dgrp, let nd_ps_desc always NUL terminated string within MAX_DESC_LEN length 2013-05-13 18:08:16 -04:00
dgrp_driver.c staging: dgrp: implement error handling in dgrp_create_class_sysfs_files() 2013-04-05 14:24:11 -07:00
dgrp_mon_ops.c Include missing linux/slab.h inclusions 2013-04-29 15:42:01 -04:00
dgrp_net_ops.c staging: for dgrp, let nd_ps_desc always NUL terminated string within MAX_DESC_LEN length 2013-05-13 18:08:16 -04:00
dgrp_ports_ops.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
dgrp_specproc.c Include missing linux/slab.h inclusions 2013-04-29 15:42:01 -04:00
dgrp_sysfs.c staging: dgrp: implement error handling in dgrp_create_class_sysfs_files() 2013-04-05 14:24:11 -07:00
dgrp_tty.c pps: Move timestamp read into PPS code proper 2013-02-13 10:13:58 -08:00
digirp.h
drp.h staging: for dgrp, let nd_ps_desc always NUL terminated string within MAX_DESC_LEN length 2013-05-13 18:08:16 -04:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile
README
TODO

The user space code to work with this driver is located at
https://github.com/wfp5p/dgrp-utils