Lines Matching refs:nosuid
2244 int nosuid = !mnt_may_suid(bprm->file->f_path.mnt);
2248 if (!nnp && !nosuid)
2249 return 0; /* neither NNP nor nosuid */
2256 * then we permit transitions under NNP or nosuid if the
2264 if (nosuid)
2273 * We also permit NNP or nosuid transitions to bounded SIDs,
2283 * On failure, preserve the errno values for NNP vs nosuid.
2285 * nosuid: Permission denied to file.
2322 /* Fail on NNP or nosuid if not an allowed transition. */
2335 * Fallback to old SID on NNP or nosuid if not an allowed