]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - security/selinux/selinuxfs.c
Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[zynq/linux.git] / security / selinux / selinuxfs.c
index 0b3155d827a19a7bceb560435ab4a6686b795d72..e6c7643c3fc08219e07b3fd8894abb3a8df4ff1d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* Updated: Karl MacMillan <kmacmillan@tresys.com>
  *
  *     Added conditional policy language extensions
@@ -9,9 +10,6 @@
  * Copyright (C) 2007 Hewlett-Packard Development Company, L.P.
  * Copyright (C) 2003 - 2004 Tresys Technology, LLC
  * Copyright (C) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com>
- *     This program is free software; you can redistribute it and/or modify
- *     it under the terms of the GNU General Public License as published by
- *     the Free Software Foundation, version 2.
  */
 
 #include <linux/kernel.h>
@@ -181,7 +179,7 @@ static ssize_t sel_write_enforce(struct file *file, const char __user *buf,
                selnl_notify_setenforce(new_value);
                selinux_status_update_setenforce(state, new_value);
                if (!new_value)
-                       call_lsm_notifier(LSM_POLICY_CHANGE, NULL);
+                       call_blocking_lsm_notifier(LSM_POLICY_CHANGE, NULL);
        }
        length = count;
 out: