Lines Matching full:capabilities
2 /* Common capabilities, needed by capability.o.
32 * !secure(SECURE_NOROOT) mode, then we raise capabilities.
34 * the file capabilities to be applied, and the setuid-root
36 * to get full privilege on a kernel without file capabilities
37 * support. So in that case we do not raise capabilities.
46 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed()
47 " capabilities.\n", fname); in warn_setuid_and_fcaps_mixed()
77 /* Do we have the necessary capabilities? */ in cap_capable()
127 * task's capabilities, then ptrace access is allowed.
164 * capabilities, then ptrace access is allowed.
198 * This function retrieves the capabilities of the nominated task and returns
217 * Determine whether the inheritable capabilities are limited to the old
232 * cap_capset - Validate and apply proposed changes to current's capabilities
235 * @effective: A pointer to the proposed new effective capabilities set
236 * @inheritable: A pointer to the proposed new inheritable capabilities set
237 * @permitted: A pointer to the proposed new permitted capabilities set
259 /* no new pI capabilities outside bounding set */ in cap_capset()
615 * do not have enough capabilities, we return an error if they are in bprm_caps_from_vfs_caps()
616 * missing some "forced" (aka file-permitted) capabilities. in bprm_caps_from_vfs_caps()
626 * @cpu_caps: vfs capabilities
780 * @has_fcap: Are any file capabilities set?
785 * SECURE_NOROOT. If file capabilities are set, they won't be combined with
888 /* Process setpcap binaries and capabilities for uid 0 */ in cap_bprm_creds_from_file()
1057 * cap_emulate_setxuid() fixes the effective / permitted capabilities of
1061 * {r,e,s}uid != 0, the permitted and effective capabilities are
1065 * capabilities of the process are cleared.
1068 * capabilities are set to the permitted capabilities.
1076 * A process may, via prctl(), elect to keep its capabilities when it
1102 * by exec to drop capabilities. We should make sure that in cap_emulate_setxuid()
1130 /* juggle the capabilities to follow [RES]UID changes unless in cap_task_fix_setuid()
1137 /* juggle the capabilities to follow FSUID changes, unless in cap_task_fix_setuid()
1140 * FIXME - is fsuser used for all CAP_FS_MASK capabilities? in cap_task_fix_setuid()
1259 * Allow process control functions (sys_prctl()) to alter capabilities; may
1284 * capabilities are not in use) to a system using filesystem in cap_task_prctl()
1285 * capabilities only - as the POSIX.1e draft intended. in cap_task_prctl()
1314 * the "sendmail capabilities bug") in cap_task_prctl()