From 0d0530ab01a6819febf18178b0d27724cd61b962 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Thu, 30 Jun 2005 02:58:51 -0700 Subject: [PATCH] --- yaml --- r: 3995 b: refs/heads/master c: 6931dfc9f3f81d148b7ed0ab3fd796f8b986a995 h: refs/heads/master i: 3993: d7f8ade04535666fefb3cf56b6bdfa6baae30b80 3991: 35e7dcd3faecb7d8e5e58c468ce7178f770137b6 v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d08f47d01525..0ac2e54ab95e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9a936eb928c1a253c2e5d66b947688bdc55094a6 +refs/heads/master: 6931dfc9f3f81d148b7ed0ab3fd796f8b986a995 diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index 17a1189f1ff8..6be273851144 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -68,6 +68,7 @@ #include #include #include +#include #include "avc.h" #include "objsec.h" @@ -1943,7 +1944,7 @@ static int selinux_sb_copy_data(struct file_system_type *type, void *orig, void } } while (*in_end++); - copy_page(in_save, nosec_save); + strcpy(in_save, nosec_save); free_page((unsigned long)nosec_save); out: return rc;