Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88c48db9 authored by Eric Paris's avatar Eric Paris Committed by James Morris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
Acked-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 19e4529e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1980,10 +1980,6 @@ static int selinux_sysctl(ctl_table *table, int op)
	u32 tsid, sid;
	int rc;

	rc = secondary_ops->sysctl(table, op);
	if (rc)
		return rc;

	sid = current_sid();

	rc = selinux_sysctl_get_sid(table, (op == 0001) ?