Lines Matching refs:nosuid
2253 int nosuid = !mnt_may_suid(bprm->file->f_path.mnt);
2257 if (!nnp && !nosuid)
2258 return 0; /* neither NNP nor nosuid */
2265 * then we permit transitions under NNP or nosuid if the
2273 if (nosuid)
2283 * We also permit NNP or nosuid transitions to bounded SIDs,
2293 * On failure, preserve the errno values for NNP vs nosuid.
2295 * nosuid: Permission denied to file.
2332 /* Fail on NNP or nosuid if not an allowed transition. */
2345 * Fallback to old SID on NNP or nosuid if not an allowed