mirror of
https://github.com/SELinuxProject/selinux
synced 2025-03-07 02:37:41 +00:00
A named IP address (using an ipaddr rule) could be passed as an argument, but trying to pass an actual IP address caused an error. As an exmample, consider the following portion of a policy. (macro m4 ((ipaddr ip)(ipaddr nm)) (nodecon ip nm (USER ROLE TYPE ((s0) (s0)))) ) (ipaddr nm1 255.255.255.0) (ipaddr ip1 1.2.3.4) (call m4 (ip1 nm1)) ; This works (call m4 (1.2.3.4 255.255.255.0)) ; This doesn't Allow actual IP addresses to be passed as a call argument. Now the second call works as well. Signed-off-by: James Carter <jwcart2@gmail.com> Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
include/cil | ||
src | ||
test | ||
.gitignore |