Lines Matching full:capabilities
2 /* Common capabilities, needed by capability.o.
31 * !secure(SECURE_NOROOT) mode, then we raise capabilities.
33 * the file capabilities to be applied, and the setuid-root
35 * to get full privilege on a kernel without file capabilities
36 * support. So in that case we do not raise capabilities.
45 " effective capabilities. Therefore not raising all" in warn_setuid_and_fcaps_mixed()
46 " capabilities.\n", fname); in warn_setuid_and_fcaps_mixed()
76 /* Do we have the necessary capabilities? */ in cap_capable()
126 * task's capabilities, then ptrace access is allowed.
163 * capabilities, then ptrace access is allowed.
197 * This function retrieves the capabilities of the nominated task and returns
216 * Determine whether the inheritable capabilities are limited to the old
231 * cap_capset - Validate and apply proposed changes to current's capabilities
234 * @effective: A pointer to the proposed new effective capabilities set
235 * @inheritable: A pointer to the proposed new inheritable capabilities set
236 * @permitted: A pointer to the proposed new permitted capabilities set
258 /* no new pI capabilities outside bounding set */ in cap_capset()
614 * do not have enough capabilities, we return an error if they are in bprm_caps_from_vfs_caps()
615 * missing some "forced" (aka file-permitted) capabilities. in bprm_caps_from_vfs_caps()
625 * @cpu_caps: vfs capabilities
779 * @has_fcap: Are any file capabilities set?
784 * SECURE_NOROOT. If file capabilities are set, they won't be combined with
887 /* Process setpcap binaries and capabilities for uid 0 */ in cap_bprm_creds_from_file()
1056 * cap_emulate_setxuid() fixes the effective / permitted capabilities of
1060 * {r,e,s}uid != 0, the permitted and effective capabilities are
1064 * capabilities of the process are cleared.
1067 * capabilities are set to the permitted capabilities.
1075 * A process may, via prctl(), elect to keep its capabilities when it
1101 * by exec to drop capabilities. We should make sure that in cap_emulate_setxuid()
1129 /* juggle the capabilities to follow [RES]UID changes unless in cap_task_fix_setuid()
1136 /* juggle the capabilities to follow FSUID changes, unless in cap_task_fix_setuid()
1139 * FIXME - is fsuser used for all CAP_FS_MASK capabilities? in cap_task_fix_setuid()
1258 * Allow process control functions (sys_prctl()) to alter capabilities; may
1283 * capabilities are not in use) to a system using filesystem in cap_task_prctl()
1284 * capabilities only - as the POSIX.1e draft intended. in cap_task_prctl()
1313 * the "sendmail capabilities bug") in cap_task_prctl()