diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 17a1189f1ff8..6be273851144 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -68,6 +68,7 @@ | |||
68 | #include <linux/personality.h> | 68 | #include <linux/personality.h> |
69 | #include <linux/sysctl.h> | 69 | #include <linux/sysctl.h> |
70 | #include <linux/audit.h> | 70 | #include <linux/audit.h> |
71 | #include <linux/string.h> | ||
71 | 72 | ||
72 | #include "avc.h" | 73 | #include "avc.h" |
73 | #include "objsec.h" | 74 | #include "objsec.h" |
@@ -1943,7 +1944,7 @@ static int selinux_sb_copy_data(struct file_system_type *type, void *orig, void | |||
1943 | } | 1944 | } |
1944 | } while (*in_end++); | 1945 | } while (*in_end++); |
1945 | 1946 | ||
1946 | copy_page(in_save, nosec_save); | 1947 | strcpy(in_save, nosec_save); |
1947 | free_page((unsigned long)nosec_save); | 1948 | free_page((unsigned long)nosec_save); |
1948 | out: | 1949 | out: |
1949 | return rc; | 1950 | return rc; |