mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-21 02:26:47 +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 "--neverallow"
|
||||
Найти запрещающие правила.
|
||||
.IP "--allowxperm"
|
||||
Найти расширенные разрешительные правила.
|
||||
.IP "--auditallowxperm"
|
||||
Найти расширенные правила включения журналирования событий.
|
||||
.IP "--dontauditxperm"
|
||||
Найти расширенные правила запрета журналирования событий.
|
||||
.IP "--neverallowxperm"
|
||||
Найти расширенные запрещающие правила.
|
||||
.IP "-T, --type_trans"
|
||||
Найти правила перехода типов.
|
||||
.IP "--type_member"
|
||||
|
@ -30,16 +30,12 @@ Find allow rules.
|
||||
Find auditallow rules.
|
||||
.IP "--dontaudit"
|
||||
Find dontaudit rules.
|
||||
.IP "--neverallow"
|
||||
Find neverallow rules.
|
||||
.IP "--allowxperm"
|
||||
Find allowxperm rules.
|
||||
.IP "--auditallowxperm"
|
||||
Find auditallowxperm rules.
|
||||
.IP "--dontauditxperm"
|
||||
Find dontauditxperm rules.
|
||||
.IP "--neverallowxperm"
|
||||
Find neverallowxperm rules.
|
||||
.IP "-T, --type_trans"
|
||||
Find type_transition rules.
|
||||
.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",
|
||||
const=setools.TERuletype.dontauditxperm, dest="tertypes",
|
||||
help="Search dontauditxperm rules.")
|
||||
rtypes.add_argument("--neverallow", action="append_const",
|
||||
const=setools.TERuletype.neverallow, dest="tertypes",
|
||||
help="Search neverallow rules.")
|
||||
rtypes.add_argument("--neverallowxperm", action="append_const",
|
||||
const=setools.TERuletype.neverallowxperm, dest="tertypes",
|
||||
help="Search neverallowxperm rules.")
|
||||
# rtypes.add_argument("--neverallow", action="append_const",
|
||||
# const=setools.TERuletype.neverallow, dest="tertypes",
|
||||
# help="Search neverallow rules.")
|
||||
# rtypes.add_argument("--neverallowxperm", action="append_const",
|
||||
# const=setools.TERuletype.neverallowxperm, dest="tertypes",
|
||||
# help="Search neverallowxperm rules.")
|
||||
rtypes.add_argument("-T", "--type_trans", action="append_const",
|
||||
const=setools.TERuletype.type_transition, dest="tertypes",
|
||||
help="Search type_transition rules.")
|
||||
|
@ -465,6 +465,12 @@
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<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">
|
||||
<string>Neverallow</string>
|
||||
</property>
|
||||
@ -482,6 +488,12 @@
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<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">
|
||||
<string>Neverallowxperms</string>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user