]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/kernel/vpe.c
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[karo-tx-linux.git] / arch / mips / kernel / vpe.c
index 42d3ca08bd281e3681226ccf9ffceb60ca2dd119..11da314565cc331a03ad2e5b75b834361842d831 100644 (file)
@@ -804,9 +804,6 @@ static int vpe_open(struct inode *inode, struct file *filp)
        v->load_addr = NULL;
        v->len = 0;
 
-       v->uid = filp->f_cred->fsuid;
-       v->gid = filp->f_cred->fsgid;
-
        v->cwd[0] = 0;
        ret = getcwd(v->cwd, VPE_PATH_MAX);
        if (ret < 0)
@@ -901,28 +898,6 @@ void *vpe_get_shared(int index)
 }
 EXPORT_SYMBOL(vpe_get_shared);
 
-int vpe_getuid(int index)
-{
-       struct vpe *v = get_vpe(index);
-
-       if (v == NULL)
-               return -1;
-
-       return v->uid;
-}
-EXPORT_SYMBOL(vpe_getuid);
-
-int vpe_getgid(int index)
-{
-       struct vpe *v = get_vpe(index);
-
-       if (v == NULL)
-               return -1;
-
-       return v->gid;
-}
-EXPORT_SYMBOL(vpe_getgid);
-
 int vpe_notify(int index, struct vpe_notifications *notify)
 {
        struct vpe *v = get_vpe(index);