Jan Engelhardt
bd414ee605
netfilter: xtables: change matches to return error code
The following semantic patch does part of the transformation:
// <smpl>
@ rule1 @
struct xt_match ops;
identifier check;
@@
ops.checkentry = check;
@@
identifier rule1.check;
@@
check(...) { <...
-return true;
+return 0;
...> }
@@
identifier rule1.check;
@@
check(...) { <...
-return false;
+return -EINVAL;
...> }
// </smpl>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-03-25 16:55:24 +01:00
..
2010-03-25 16:55:24 +01:00
2010-02-26 03:59:07 -08:00
2010-03-13 12:23:29 -08:00
2008-10-29 12:52:50 -07:00
2010-02-16 23:05:38 -08:00
2010-02-22 16:20:22 -08:00
2010-01-17 19:16:02 -08:00
2009-11-02 03:42:41 -08:00
2010-02-22 16:20:22 -08:00
2010-02-18 14:30:17 -08:00
2010-03-07 15:25:53 -08:00
2010-02-18 14:30:17 -08:00
2009-10-20 18:55:45 -07:00
2009-12-08 20:17:51 -08:00
2010-02-18 14:30:17 -08:00
2010-01-17 19:16:02 -08:00
2010-03-25 16:00:49 +01:00
2010-03-25 16:00:49 +01:00
2010-02-18 14:30:17 -08:00
2010-03-25 16:00:49 +01:00
2010-02-22 16:20:22 -08:00
2009-10-27 01:03:26 -07:00
2009-10-07 14:50:30 -07:00
2008-04-05 22:33:38 +09:00
2010-03-25 16:00:49 +01:00
2010-02-18 14:30:17 -08:00
2010-03-25 16:00:49 +01:00
2009-06-03 02:51:04 -07:00
2010-02-16 23:05:38 -08:00
2009-09-14 17:03:05 -07:00
2010-03-25 16:00:49 +01:00
2010-02-18 14:30:17 -08:00
2010-03-07 15:25:53 -08:00
2010-02-18 14:30:17 -08:00
2009-12-23 14:13:30 -08:00
2010-01-17 19:16:02 -08:00
2010-03-08 10:45:27 -08:00
2010-02-18 14:30:17 -08:00
2009-09-30 16:12:20 -07:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2010-03-25 16:00:49 +01:00
2008-08-06 02:40:25 -07:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2010-03-25 16:00:49 +01:00
2010-03-03 01:04:37 -08:00
2009-02-21 23:37:10 -08:00
2010-02-17 00:03:27 -08:00