Home
last modified time | relevance | path

Searched full:scoped (Results 1 – 25 of 52) sorted by relevance

123

/linux/security/landlock/
H A Dtask.c33 * domain_scope_le - Checks domain ordering for scoped ptrace
55 /* @parent is in the scoped hierarchy of @child. */ in task_is_scoped()
169 * domain_is_scoped - Checks if the client domain is scoped in the same in domain_is_scoped()
176 * Returns: True if the @client domain is scoped to access the @server, in domain_is_scoped()
177 * unless the @server is also scoped in the same domain as @client. in domain_is_scoped()
204 * parent domains are scoped. in is_abstract_socket()
223 * hierarchy. If the client is scoped, the request is in hook_unix_stream_connect()
H A Daccess.h43 /* Makes sure all scoped rights can be stored. */
H A Dsyscalls.c104 ruleset_size += sizeof(ruleset_attr.scoped); in build_check_abi()
241 if ((ruleset_attr.scoped | LANDLOCK_MASK_SCOPE) != LANDLOCK_MASK_SCOPE) in SYSCALL_DEFINE3()
247 ruleset_attr.scoped); in SYSCALL_DEFINE3()
/linux/include/linux/
H A Dkcsan-checks.h22 #define KCSAN_ACCESS_SCOPED (1 << 4) /* Access is a scoped access. */
130 /* Scoped access information. */
145 /* Location where scoped access was set up. */
157 * kcsan_begin_scoped_access - begin scoped access
159 * Begin scoped access and initialize @sa, which will cause KCSAN to
163 * Scoped accesses are implemented by appending @sa to an internal list for the
177 * kcsan_end_scoped_access - end scoped access
179 * End a scoped access, which will stop KCSAN checking the memory range.
390 * Scoped variant of ASSERT_EXCLUSIVE_WRITER().
457 * Scoped variant of ASSERT_EXCLUSIVE_ACCESS().
H A Dkcsan.h24 int disable_scoped; /* disable scoped access counter */
52 /* List of scoped accesses; likely to be empty. */
57 * Scoped access for modeling access reordering to detect missing memory
/linux/arch/powerpc/mm/book3s64/
H A Dradix_tlb.c66 /* Flush process scoped entries. */ in tlbiel_all_isa300()
108 prs = 1; /* process scoped */ in __tlbiel_pid()
122 prs = 1; /* process scoped */ in __tlbie_pid()
136 prs = 0; /* partition scoped */ in __tlbie_lpid()
150 prs = 1; /* process scoped */ in __tlbie_lpid_guest()
166 prs = 1; /* process scoped */ in __tlbiel_va()
182 prs = 1; /* process scoped */ in __tlbie_va()
198 prs = 0; /* partition scoped */ in __tlbie_lpid_va()
1146 * Flush partition scoped LPID address translation for all CPUs.
1159 * Flush partition scoped PWC from LPID for all CPUs.
[all …]
/linux/samples/landlock/
H A Dsandboxer.c236 if (!(ruleset_attr->scoped & in check_ruleset_scope()
267 ruleset_attr->scoped &= ~LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET; in check_ruleset_scope()
269 ruleset_attr->scoped &= ~LANDLOCK_SCOPE_SIGNAL; in check_ruleset_scope()
355 .scoped = LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET | in main()
429 ruleset_attr.scoped &= ~(LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET | in main()
/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c77 * after getting scoped.
107 * domain is not scoped. in TEST_F()
169 * This test ensures that a scoped process cannot send signal out of
170 * scoped domain.
H A Dscoped_test.c24 .scoped = scoped_mask, in TEST()
H A Dscoped_common.h17 .scoped = scope, in create_scoped_domain()
H A Dscoped_abstract_unix_test.c71 * parent, when they have scoped domain or no domain.
167 * its child, when they have scoped domain or no domain.
413 * grand child processes when they can have scoped or non-scoped domains. in TEST_F()
1024 * the domain is not scoped. in TEST()
1113 /* Child's domain is scoped. */
H A Daudit_test.c75 .scoped = LANDLOCK_SCOPE_SIGNAL, in TEST_F()
221 .scoped = LANDLOCK_SCOPE_SIGNAL, in TEST_F()
363 .scoped = LANDLOCK_SCOPE_SIGNAL, in TEST_F()
556 .scoped = LANDLOCK_SCOPE_SIGNAL, in TEST_F()
H A Dsandbox-and-launch.c22 .scoped = LANDLOCK_SCOPE_SIGNAL, in main()
/linux/Documentation/userspace-api/
H A Dlandlock.rst84 .scoped =
128 ruleset_attr.scoped &= ~(LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET |
325 The operations which can be scoped are:
344 If an operation is scoped within a domain, no rules can be added to allow access
588 ``LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET`` to the ``scoped`` ruleset attribute.
595 ``scoped`` ruleset attribute.
/linux/kernel/kcsan/
H A Dcore.c212 /* Check scoped accesses; never inline because this is a slow-path! */
568 * 2. Avoid races of scoped accesses from nested interrupts (below). in kcsan_setup_watchpoint()
574 * Avoid races of scoped accesses from nested interrupts (or scheduler). in kcsan_setup_watchpoint()
575 * Assume setting up a watchpoint for a non-scoped (normal) access that in kcsan_setup_watchpoint()
576 * also conflicts with a current scoped access. In a nested interrupt, in kcsan_setup_watchpoint()
577 * which shares the context, it would check a conflicting scoped access. in kcsan_setup_watchpoint()
578 * To avoid, disable scoped access checking. in kcsan_setup_watchpoint()
/linux/include/uapi/linux/
H A Dopenat2.h36 be scoped inside the dirfd
H A Dlandlock.h49 * @scoped: Bitmask of scopes (cf. `Scope flags`_)
53 __u64 scoped; member
/linux/tools/include/uapi/linux/
H A Dopenat2.h
/linux/Documentation/arch/powerpc/
H A Dultravisor.rst305 scoped page table. But the Hypervisor can provide a hint to the
372 partition-scoped page-table of the SVM. If `dest_gpa` is not shared,
488 scoped page tables for the Hypervisor as well as each of the
490 operates in partition 0 and its partition-scoped page tables
494 scoped and process-scoped page table entries for the Hypervisor
/linux/Documentation/virt/kvm/arm/
H A Dvcpu-features.rst27 system. The ID register values may be VM-scoped in KVM, meaning that the
/linux/net/ipv4/
H A Dping.c343 int addr_type, scoped, has_addr; in ping_check_bind_addr() local
356 scoped = __ipv6_addr_needs_scope_id(addr_type); in ping_check_bind_addr()
359 (scoped && !addr->sin6_scope_id)) in ping_check_bind_addr()
379 scoped); in ping_check_bind_addr()
386 if (scoped) in ping_check_bind_addr()
/linux/Documentation/networking/devlink/
H A Ddevlink-region.rst17 Snapshot identifiers are scoped to the devlink instance, not a region.
/linux/tools/testing/selftests/openat2/
H A Dhelpers.h62 be scoped inside the dirfd
/linux/include/acpi/
H A Dactbl1.h400 /* Subtable 0: Device Scoped Memory Affinity Structure (DSMAS) */
416 /* Subtable 1: Device scoped Latency and Bandwidth Information Structure (DSLBIS) */
429 /* Subtable 2: Device Scoped Memory Side Cache Information Structure (DSMSCIS) */
438 /* Subtable 3: Device Scoped Initiator Structure (DSIS) */
450 /* Subtable 4: Device Scoped EFI Memory Type Structure (DSEMTS) */
460 /* Subtable 5: Switch Scoped Latency and Bandwidth Information Structure (SSLBIS) */
/linux/tools/testing/selftests/kvm/x86/
H A Dhyperv_cpuid.c108 * Note, the CPUID array returned by the system-scoped helper is a one- in test_hv_cpuid()

123