Vladimir Zapolskiy
748a7295d7
net: netxen: correct sysfs bin attribute return code
...
If read() syscall requests unexpected number of bytes from "dimm" binary
attribute file, return EINVAL instead of EPERM.
At the same time pin down sysfs file size to the fixed
sizeof(struct netxen_dimm_cfg), which allows to exploit some missing
sanity checks from kernfs (file boundary checks vs offset etc.)
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-27 00:25:33 -04:00
..
2015-05-15 00:31:23 +02:00
2015-05-11 10:54:20 -07:00
2015-04-26 17:22:07 -07:00
2015-04-17 15:50:54 -04:00
2015-05-13 10:22:12 -04:00
2015-05-13 23:04:20 +02:00
2015-05-07 18:29:18 +02:00
2015-05-05 19:37:22 -05:00
2015-05-08 11:22:30 -07:00
2015-04-24 08:23:45 -07:00
2015-04-15 23:02:24 +02:00
2015-04-29 15:19:21 +02:00
2015-04-26 13:51:05 -07:00
2015-04-29 16:47:57 +05:30
2015-04-21 14:47:16 +05:30
2015-04-27 11:06:05 +09:00
2015-05-14 18:02:15 -07:00
2015-05-06 15:19:38 +02:00
2015-05-22 13:31:54 +10:00
2015-05-21 17:23:11 -07:00
2015-04-17 09:03:55 -04:00
2015-04-21 09:42:58 -07:00
2015-04-26 17:44:09 -07:00
2015-05-11 10:54:20 -07:00
2015-04-14 20:21:54 -07:00
2015-05-13 11:51:14 -07:00
2015-05-20 16:15:56 -04:00
2015-05-22 14:49:55 -07:00
2015-05-11 18:36:20 +02:00
2015-05-13 10:46:07 +02:00
2015-04-15 09:00:47 -07:00
2015-04-18 08:22:10 -04:00
2015-04-22 10:55:06 -07:00
2015-05-22 15:10:07 -07:00
2015-05-05 08:42:06 -07:00
2015-04-22 09:18:17 -07:00
2015-04-17 09:04:09 -04:00
2015-04-26 13:36:02 -07:00
2015-04-21 09:42:58 -07:00
2015-05-18 09:04:42 +02:00
2015-05-18 10:01:54 -07:00
2015-05-27 00:25:33 -04:00
2015-04-24 08:46:18 -07:00
2015-04-26 17:22:07 -07:00
2015-04-24 13:45:54 +02:00
2015-04-16 14:01:03 -05:00
2015-04-22 09:04:39 -07:00
2015-05-08 19:42:59 -07:00
2015-05-05 13:56:46 -07:00
2015-04-14 20:21:54 -07:00
2015-05-01 23:01:48 +02:00
2015-04-15 23:06:16 +02:00
2015-05-19 16:07:40 +02:00
2015-04-14 17:29:55 -07:00
2015-05-14 17:55:51 -07:00
2015-05-13 09:57:29 +02:00
2015-04-15 16:35:23 -07:00
2015-04-27 10:10:19 -07:00
2015-04-27 13:08:14 +09:00
2015-05-11 17:29:49 +01:00
2015-05-20 16:36:06 +03:00
2015-05-16 21:04:56 -07:00
2015-04-24 10:22:09 -07:00
2015-05-19 08:12:27 +08:00
2015-05-21 20:19:38 -07:00
2015-05-14 12:43:36 -07:00
2015-05-01 16:31:41 -06:00
2015-04-24 10:22:09 -07:00
2015-04-20 15:16:25 -07:00
2015-04-15 12:41:14 +09:30
2015-04-22 11:22:55 -07:00
2015-05-19 19:55:36 +01:00