Christian S.J. Peron
3a27af0dd4
Currently when ipfw(8) generates the micro-instructions for rules which
...
contain O_UID, O_GID and O_JAIL opcodes, the F_NOT or F_OR logical
operator bits get clobbered. Making it impossible to use the ``NOT'' or
``OR'' operators with uid, gid and jail based constraints.
The ipfw_insn instruction template contains a ``len'' element which
stores two pieces of information, the size of the instruction
(in 32-bit words) in the low 6 bits of "len" with the 2 remaining
bits to implement OR and NOT.
The current code clobbers the OR and NOT bits by initializing the
``len'' element to the size, rather than OR'ing the bits. This change
fixes this by changing the initialization of cmd->len to an OR operation
for the O_UID, O_GID and O_JAIL opcodes.
This may be a MFC candidate for RELENG_5.
Reviewed by: andre
Approved by: luigi
PR: kern/63961 (partially)
2004-09-11 19:44:29 +00:00
..
2004-04-27 14:43:03 +00:00
2004-07-02 21:45:06 +00:00
2004-08-12 12:31:43 +00:00
2004-07-02 21:45:06 +00:00
2004-09-09 07:46:53 +00:00
2004-07-03 00:13:43 +00:00
2004-07-03 00:13:43 +00:00
2004-04-09 19:58:40 +00:00
2004-07-02 21:45:06 +00:00
2004-06-18 20:06:04 +00:00
2004-07-07 19:57:16 +00:00
2004-06-02 23:02:31 +00:00
2004-02-23 20:25:27 +00:00
2004-04-09 19:58:40 +00:00
2004-07-28 05:59:22 +00:00
2004-07-02 21:45:06 +00:00
2004-07-18 09:57:47 +00:00
2004-07-02 21:45:06 +00:00
2004-07-02 21:45:06 +00:00
2004-07-26 15:04:57 +00:00
2004-07-03 00:13:43 +00:00
2004-09-01 08:26:39 +00:00
2004-05-17 08:35:43 +00:00
2004-07-28 06:00:09 +00:00
2004-07-28 05:59:22 +00:00
2004-09-10 12:16:54 +00:00
2004-08-30 22:08:00 +00:00
2004-09-08 07:57:14 +00:00
2004-08-07 07:52:31 +00:00
2004-07-29 11:28:24 +00:00
2004-08-04 00:23:00 +00:00
2004-05-17 21:05:39 +00:00
2004-09-01 18:22:14 +00:00
2004-07-22 10:38:13 +00:00
2004-07-29 18:04:06 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-09-11 19:44:29 +00:00
2004-02-23 20:25:27 +00:00
2004-02-23 20:25:27 +00:00
2004-03-05 08:10:19 +00:00
2003-05-03 18:41:59 +00:00
2004-05-30 10:10:41 +00:00
2004-07-13 19:36:59 +00:00
2004-08-14 17:46:10 +00:00
2004-02-23 20:25:27 +00:00
2004-07-07 19:57:16 +00:00
2004-09-08 20:28:29 +00:00
2004-05-17 08:35:43 +00:00
2004-07-02 21:45:06 +00:00
2004-01-27 19:28:13 +00:00
2004-05-17 08:35:43 +00:00
2004-09-08 08:44:14 +00:00
2004-07-02 21:45:06 +00:00
2004-04-09 19:58:40 +00:00
2004-02-23 20:25:27 +00:00
2004-08-31 05:19:57 +00:00
2004-07-02 21:45:06 +00:00
2004-05-17 21:24:06 +00:00
2004-05-24 13:39:06 +00:00
2004-07-02 21:45:06 +00:00
2004-07-02 21:45:06 +00:00
2004-04-09 19:58:40 +00:00
2004-07-02 21:45:06 +00:00
2004-07-18 01:51:59 +00:00
2004-07-04 12:53:54 +00:00
2004-08-19 11:09:13 +00:00
2004-07-02 21:45:06 +00:00
2004-04-09 19:58:40 +00:00
2004-07-02 21:45:06 +00:00
2004-07-07 17:33:20 +00:00
2004-06-16 23:39:33 +00:00
2004-08-14 17:46:10 +00:00
2004-07-26 08:18:37 +00:00
2004-04-09 19:58:40 +00:00
2004-07-02 18:37:52 +00:00
2004-07-18 21:39:45 +00:00
2004-07-02 21:45:06 +00:00
2004-07-02 21:45:06 +00:00
2004-08-14 08:36:35 +00:00
2004-02-23 20:25:27 +00:00
2004-08-16 07:02:14 +00:00
2004-05-20 16:40:06 +00:00
2004-06-05 20:22:15 +00:00
2004-07-02 21:45:06 +00:00
2004-07-02 21:45:06 +00:00
2004-07-02 21:45:06 +00:00
2004-08-02 08:10:28 +00:00
2004-06-18 15:08:08 +00:00
2004-04-09 19:58:40 +00:00
2004-08-30 22:42:10 +00:00
2004-04-09 19:58:40 +00:00
2004-04-09 19:58:40 +00:00
2004-07-24 19:11:40 +00:00
2004-08-07 16:16:59 +00:00
2004-08-06 00:07:26 +00:00