mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-11 03:51:26 +00:00
Disable/remove neverallow options in frontends.
These rules are not available in the binary policy. Keep library support in case this changes in the future. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
dee89793f8
commit
06335957b7
@ -35,16 +35,12 @@ sesearch \- утилита опроса политики SELinux
|
|||||||
Найти правила включения журналирования событий.
|
Найти правила включения журналирования событий.
|
||||||
.IP "--dontaudit"
|
.IP "--dontaudit"
|
||||||
Найти правила запрета журналирования событий.
|
Найти правила запрета журналирования событий.
|
||||||
.IP "--neverallow"
|
|
||||||
Найти запрещающие правила.
|
|
||||||
.IP "--allowxperm"
|
.IP "--allowxperm"
|
||||||
Найти расширенные разрешительные правила.
|
Найти расширенные разрешительные правила.
|
||||||
.IP "--auditallowxperm"
|
.IP "--auditallowxperm"
|
||||||
Найти расширенные правила включения журналирования событий.
|
Найти расширенные правила включения журналирования событий.
|
||||||
.IP "--dontauditxperm"
|
.IP "--dontauditxperm"
|
||||||
Найти расширенные правила запрета журналирования событий.
|
Найти расширенные правила запрета журналирования событий.
|
||||||
.IP "--neverallowxperm"
|
|
||||||
Найти расширенные запрещающие правила.
|
|
||||||
.IP "-T, --type_trans"
|
.IP "-T, --type_trans"
|
||||||
Найти правила перехода типов.
|
Найти правила перехода типов.
|
||||||
.IP "--type_member"
|
.IP "--type_member"
|
||||||
|
@ -30,16 +30,12 @@ Find allow rules.
|
|||||||
Find auditallow rules.
|
Find auditallow rules.
|
||||||
.IP "--dontaudit"
|
.IP "--dontaudit"
|
||||||
Find dontaudit rules.
|
Find dontaudit rules.
|
||||||
.IP "--neverallow"
|
|
||||||
Find neverallow rules.
|
|
||||||
.IP "--allowxperm"
|
.IP "--allowxperm"
|
||||||
Find allowxperm rules.
|
Find allowxperm rules.
|
||||||
.IP "--auditallowxperm"
|
.IP "--auditallowxperm"
|
||||||
Find auditallowxperm rules.
|
Find auditallowxperm rules.
|
||||||
.IP "--dontauditxperm"
|
.IP "--dontauditxperm"
|
||||||
Find dontauditxperm rules.
|
Find dontauditxperm rules.
|
||||||
.IP "--neverallowxperm"
|
|
||||||
Find neverallowxperm rules.
|
|
||||||
.IP "-T, --type_trans"
|
.IP "-T, --type_trans"
|
||||||
Find type_transition rules.
|
Find type_transition rules.
|
||||||
.IP "--type_member"
|
.IP "--type_member"
|
||||||
|
12
sesearch
12
sesearch
@ -42,12 +42,12 @@ rtypes.add_argument("--dontaudit", action="append_const",
|
|||||||
rtypes.add_argument("--dontauditxperm", action="append_const",
|
rtypes.add_argument("--dontauditxperm", action="append_const",
|
||||||
const=setools.TERuletype.dontauditxperm, dest="tertypes",
|
const=setools.TERuletype.dontauditxperm, dest="tertypes",
|
||||||
help="Search dontauditxperm rules.")
|
help="Search dontauditxperm rules.")
|
||||||
rtypes.add_argument("--neverallow", action="append_const",
|
# rtypes.add_argument("--neverallow", action="append_const",
|
||||||
const=setools.TERuletype.neverallow, dest="tertypes",
|
# const=setools.TERuletype.neverallow, dest="tertypes",
|
||||||
help="Search neverallow rules.")
|
# help="Search neverallow rules.")
|
||||||
rtypes.add_argument("--neverallowxperm", action="append_const",
|
# rtypes.add_argument("--neverallowxperm", action="append_const",
|
||||||
const=setools.TERuletype.neverallowxperm, dest="tertypes",
|
# const=setools.TERuletype.neverallowxperm, dest="tertypes",
|
||||||
help="Search neverallowxperm rules.")
|
# help="Search neverallowxperm rules.")
|
||||||
rtypes.add_argument("-T", "--type_trans", action="append_const",
|
rtypes.add_argument("-T", "--type_trans", action="append_const",
|
||||||
const=setools.TERuletype.type_transition, dest="tertypes",
|
const=setools.TERuletype.type_transition, dest="tertypes",
|
||||||
help="Search type_transition rules.")
|
help="Search type_transition rules.")
|
||||||
|
@ -465,6 +465,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QCheckBox" name="neverallow">
|
<widget class="QCheckBox" name="neverallow">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Neverallow is not available in binary policies.</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Neverallow</string>
|
<string>Neverallow</string>
|
||||||
</property>
|
</property>
|
||||||
@ -482,6 +488,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QCheckBox" name="neverallowxperm">
|
<widget class="QCheckBox" name="neverallowxperm">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Neverallowxperms is not available in binary policies.</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Neverallowxperms</string>
|
<string>Neverallowxperms</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user