提交 88c48db9 编写于 作者: E Eric Paris 提交者: James Morris

SELinux: drop secondary_ops->sysctl

We are still calling secondary_ops->sysctl even though the capabilities
module does not define a sysctl operation.
Signed-off-by: NEric Paris <eparis@redhat.com>
Acked-by: NStephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 19e4529e
...@@ -1980,10 +1980,6 @@ static int selinux_sysctl(ctl_table *table, int op) ...@@ -1980,10 +1980,6 @@ static int selinux_sysctl(ctl_table *table, int op)
u32 tsid, sid; u32 tsid, sid;
int rc; int rc;
rc = secondary_ops->sysctl(table, op);
if (rc)
return rc;
sid = current_sid(); sid = current_sid();
rc = selinux_sysctl_get_sid(table, (op == 0001) ? rc = selinux_sysctl_get_sid(table, (op == 0001) ?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册