Re: [PATCH 1/8] staging: ft1000: Convert char device to debugfs.

From: Dan Carpenter
Date: Thu Dec 09 2010 - 05:43:53 EST


> + file = debugfs_create_file("device", S_IRUGO | S_IWUGO, dir,
^^^^^^^
> + NULL, &ft1000fops);

Don't make this world writeable.

regards,
dan carpenter

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