Lines Matching refs:old
271 * found; in that case, continue using the old label.
568 /* check if the old mount command had the same options */
841 struct superblock_security_struct *old = oldsb->s_security;
843 char oldflags = old->flags & SE_MNTMASK;
848 if ((oldflags & FSCONTEXT_MNT) && old->sid != new->sid)
850 if ((oldflags & CONTEXT_MNT) && old->mntpoint_sid != new->mntpoint_sid)
852 if ((oldflags & DEFCONTEXT_MNT) && old->def_sid != new->def_sid)
895 /* how can we clone if the old one wasn't set up?? */
2121 static int selinux_capset(struct cred *new, const struct cred *old,
2127 cred_sid(old), cred_sid(new), SECCLASS_PROCESS,
2267 * the old and new contexts.
2345 * Fallback to old SID on NNP or nosuid if not an allowed
2489 /* Check whether the new SID can inherit resource limits from the old
2532 /* Check whether the new SID can inherit signal state from the old SID.
2874 const struct cred *old,
2881 rc = selinux_determine_inode_label(selinux_cred(old),
3939 static int selinux_cred_prepare(struct cred *new, const struct cred *old,
3942 const struct task_security_struct *old_tsec = selinux_cred(old);
3952 static void selinux_cred_transfer(struct cred *new, const struct cred *old)
3954 const struct task_security_struct *old_tsec = selinux_cred(old);