security patches
[openwrt/svn-archive/archive.git] / openwrt / target / linux / linux-2.4 / patches / brcm / 008-gpio_security.patch
1 --- linux-2.4.30/arch/mips/bcm947xx/gpio.c.orig 2006-03-26 06:43:24 -05:00
2 +++ linux-2.4.30/arch/mips/bcm947xx/gpio.c 2006-03-26 06:44:00 -05:00
3 @@ -135,7 +135,7 @@
4 gpio_file[i].handle = devfs_register(gpio_dir,
5 gpio_file[i].name,
6 DEVFS_FL_DEFAULT, gpio_major, i,
7 - S_IFCHR | S_IRUGO | S_IWUGO,
8 + S_IFCHR | S_IRUSR | S_IWUSR,
9 &gpio_fops, NULL);
10 }
11