Home
last modified time | relevance | path

Searched +full:use +full:- +full:guard +full:- +full:pages (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-src/lib/libsys/
H A Dmmap.24 .\" Redistribution and use in source and binary forms, with or without
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43 system call causes the pages starting at
55 Any such extension beyond the end of the mapped object will be zero-filled.
85 is non-zero, it is used as a hint to the system.
102 .Bl -tag -width PROT_WRITE -compact
104 Pages may not be accessed.
106 Pages may be read.
108 Pages may be written.
[all …]
/freebsd-src/share/man/man9/
H A Dmemguard.94 .\" Redistribution and use in source and binary forms, with or without
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 to help detect tamper-after-free scenarios.
59 can guard all allocations larger than
61 and can guard a random fraction of all allocations.
65 To use
69 .Bd -literal -offset indent
76 variable at run-time:
77 .Bd -literal -offset indent
[all …]
/freebsd-src/sys/vm/
H A Dvm_glue.c1 /*-
2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU)
8 * The Mach Operating System project at Carnegie-Mellon University.
10 * Redistribution and use in source and binary forms, with or without
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * OUT OF THE USE O
437 vm_thread_stack_create(struct domainset * ds,int pages) vm_thread_stack_create() argument
482 vm_thread_stack_dispose(vm_offset_t ks,int pages) vm_thread_stack_dispose() argument
514 vm_thread_new(struct thread * td,int pages) vm_thread_new() argument
556 int pages; vm_thread_dispose() local
[all...]
H A Dmemguard.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Redistribution and use in source and binary forms, with or without
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33 * which provides ElectricFence-style memory barrier protection on
34 * objects being allocated, and is used to detect tampering-after-free
90 if (error != 0 || req->newptr == NULL) in memguard_sysctl_desc()
132 &memguard_fail_pgs, 0, "MemGuard failures due to lack of pages");
141 "\t0x001 - add guard pages around each allocation\n"
[all …]
H A Dvm_map.c1 /*-
2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU)
8 * The Mach Operating System project at Carnegie-Mellon University.
10 * Redistribution and use in source and binary forms, with or without
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * OUT OF THE USE O
4685 vm_size_t grow_amount, guard, max_grow, sgp; vm_map_growstack() local
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dqcom,rmtfs-mem.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/qcom,rmtfs-mem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Bjorn Andersson <bjorn.andersson@linaro.org>
18 - $ref: reserved-memory.yaml
22 const: qcom,rmtfs-mem
24 qcom,client-id:
27 identifier of the client to use this region for buffers
29 qcom,use-guard-pages:
[all …]
/freebsd-src/sys/riscv/include/
H A Dparam.h1 /*-
8 * Redistribution and use in source and binary forms, with or without
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * Machine dependent constants for RISC-V.
39 #define STACKALIGNBYTES (16 - 1)
69 #define ALIGNED_POINTER(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0)
72 * CACHE_LINE_SIZE is the compile-time maximum cache line size for an
80 #define PAGE_MASK (PAGE_SIZE - 1)
85 #define KSTACK_PAGES 4 /* pages o
[all...]
/freebsd-src/sys/i386/include/
H A Dparam.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
10 * Redistribution and use in source and binary forms, with or without
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
77 * CACHE_LINE_SIZE is the compile-time maximum cache line size for an
85 #define PAGE_MASK (PAGE_SIZE -
[all...]
/freebsd-src/sys/arm64/include/
H A Dparam.h1 /*-
8 * Redistribution and use in source and binary forms, with or without
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43 #define STACKALIGNBYTES (16 - 1)
76 #define ALIGNED_POINTER(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0)
79 * CACHE_LINE_SIZE is the compile-time maximum cache line size for an
96 #define PAGE_MASK (PAGE_SIZE - 1)
104 #define KSTACK_PAGES 4 /* pages of kernel stack (with pcb) */
108 #define KSTACK_GUARD_PAGES 1 /* pages o
[all...]
/freebsd-src/usr.bin/systat/
H A Dproc.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Redistribution and use in source and binary forms, with or without
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 uint32_t swapped; /* in pages */
65 uint32_t pages; member
83 uname = user_from_uid(pu[idx]->uid, 0); in display_proc_line()
84 swapbytes = ptoa(pu[idx]->pages); in display_proc_line()
86 snprintf(buf, sizeof(buf), "%6d %-10s %-10.10s", pu[idx]->pid, uname, in display_proc_line()
[all …]
/freebsd-src/lib/libsys/x86/
H A Dpkru.37 .\" Redistribution and use in source and binary forms, with or without
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nm Protection Key Rights for User pages
33 .Nd provide fast user-managed key-based access control for pages
57 to control access to user-mode addresses.
61 It cannot guard against conscious accesses since permissions
62 are user-controllabl
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.h1 //===-- guarded_pool_allocator.h --------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
34 // This class is the primary implementation of the allocator portion of GWP-
38 // Functions in the public interface of this class are thread-compatible until
39 // init() is called, at which point they become thread-safe (unless specified
43 // Name of the GWP-ASan mapping that for `Metadata`.
44 static constexpr const char *kGwpAsanMetadataName = "GWP-ASan Metadata";
47 // in this allocation pool if the allocator decides to runtime-disable
48 // GWP-ASan. The constructor value-initialises the class such that if no
[all …]
H A Dguarded_pool_allocator.cpp1 //===-- guarded_pool_allocator.cpp --------
[all...]
/freebsd-src/sys/amd64/include/
H A Dparam.h1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
12 * Redistribution and use in source and binary forms, with or without
20 * 3. All advertising materials mentioning features or use of this software
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
83 * CACHE_LINE_SIZE is the compile-tim
[all...]
/freebsd-src/sys/arm/arm/
H A Dmachdep_boot.c1 /*-
3 * Copyright (c) 1994-1998 Mark Brinicombe.
7 * Redistribution and use in source and binary forms, with or without
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
103 snprintf(board_serial, sizeof(board_serial)-1, in board_set_serial()
146 /* Convert the U-Boot command line into FreeBSD kenv and boot options. */
148 cmdline_set_env(char *cmdline, const char *guard) in cmdline_set_env() argument
156 /* Test and remove guard. */ in cmdline_set_env()
157 if (guard ! in cmdline_set_env()
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64BranchTargets.cpp1 //===-- AArch64BranchTargets.cpp -- Harden code using v8.5-A BTI extension -==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 // which is not a valid BTI instruction. This is intended to guard against
13 // control-flow hijacking attacks. Note that this does not do anything for RET
17 //===----------------------------------------------------------------------===//
29 #define DEBUG_TYPE "aarch64-branch-targets"
49 INITIALIZE_PASS(AArch64BranchTargets, "aarch64-branch-targets",
62 if (!MF.getInfo<AArch64FunctionInfo>()->branchTargetEnforcement()) in runOnMachineFunction()
70 // to be address-taken (the address can't escape anywhere else), but they are in runOnMachineFunction()
[all …]
/freebsd-src/sys/powerpc/include/
H A Dparam.h1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
11 * Redistribution and use in source and binary forms, with or without
19 * 3. All advertising materials mentioning features or use of this software
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
94 #define ALIGNED_POINTER(p, t) ((((uintptr_t)(p)) & (sizeof (t) -
[all...]
/freebsd-src/usr.bin/procstat/
H A Dprocstat.11 .\"-
2 .\" Copyright (c) 2007-2009 Robert N. M. Watson
5 .\" Redistribution and use in source and binary forms, with or without
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .Op Fl -libxo
42 .Op Fl -libxo
50 .Op Fl -libxo
73 .Op Fl -libxo
96 .Op Fl -libxo
[all …]
/freebsd-src/crypto/openssl/crypto/
H A Dmem_sec.c2 * Copyright 2015-2023 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright 2004-2014, Akamai Technologies. All Rights Reserved.
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
187 secure_mem_used -= actual_size; in CRYPTO_secure_free()
212 secure_mem_used -= actual_size; in CRYPTO_secure_clear_free()
276 * The implementation provided here uses a fixed-sized mmap() heap,
286 * This code assumes eight-bit bytes. The numbers 3 and 7 are all over the
326 ossl_ssize_t list = sh.freelist_size - 1; in sh_getlist()
327 size_t bit = (sh.arena_size + ptr - sh.arena) / sh.minsize; in sh_getlist()
329 for (; bit; bit >>= 1, list--) { in sh_getlist()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp1 //===-- Process.cpp --------
559 std::lock_guard<std::recursive_mutex> guard(m_language_runtimes_mutex); Finalize() local
799 std::lock_guard<std::recursive_mutex> guard(thread_list.GetMutex()); HandleProcessStateChangedEvent() local
1041 std::lock_guard<std::mutex> guard(m_exit_status_mutex); GetExitStatus() local
1049 std::lock_guard<std::mutex> guard(m_exit_status_mutex); GetExitDescription() local
1058 std::lock_guard<std::mutex> guard(m_exit_status_mutex); SetExitStatus() local
1151 std::lock_guard<std::recursive_mutex> guard(m_thread_list.GetMutex()); UpdateThreadListIfNeeded() local
1436 std::lock_guard<std::recursive_mutex> guard(m_private_state.GetMutex()); SetPrivateState() local
1508 std::lock_guard<std::recursive_mutex> guard(m_language_runtimes_mutex); GetLanguageRuntimes() local
1528 std::lock_guard<std::recursive_mutex> guard(m_language_runtimes_mutex); GetLanguageRuntime() local
2458 std::lock_guard<std::recursive_mutex> guard(m_thread_mutex); LoadOperatingSystemPlugin() local
2508 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); LaunchPrivate() local
2809 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); Attach() local
3063 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); ConnectRemote() local
3354 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); DestroyImpl() local
4285 std::lock_guard<std::recursive_mutex> guard(m_stdio_communication_mutex); AppendSTDOUT() local
4292 std::lock_guard<std::recursive_mutex> guard(m_stdio_communication_mutex); AppendSTDERR() local
4299 std::lock_guard<std::recursive_mutex> guard(m_profile_data_comm_mutex); BroadcastAsyncProfileData() local
4322 std::lock_guard<std::recursive_mutex> guard(m_profile_data_comm_mutex); GetAsyncProfileData() local
4347 std::lock_guard<std::recursive_mutex> guard(m_stdio_communication_mutex); GetSTDOUT() local
4404 std::lock_guard<std::mutex> guard(m_mutex); SetIsRunning() local
4431 std::lock_guard<std::mutex> guard(m_mutex); Run() local
4473 std::lock_guard<std::mutex> guard(m_mutex); Cancel() local
4545 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); SetSTDIOFileDescriptor() local
4554 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); ProcessIOHandlerIsActive() local
4562 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); PushProcessIOHandler() local
4582 std::lock_guard<std::mutex> guard(m_process_input_reader_mutex); PopProcessIOHandler() local
5496 std::lock_guard<std::recursive_mutex> guard(GetThreadList().GetMutex()); RunThreadPlan() local
5591 std::lock_guard<std::recursive_mutex> guard(GetThreadList().GetMutex()); GetThreadStatus() local
5772 std::lock_guard<std::recursive_mutex> guard(m_language_runtimes_mutex); DidExec() local
[all...]
/freebsd-src/contrib/ntp/html/
H A Dhistory.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
12 <!-- #BeginDate format:En2m -->10-Mar-2014 05:07<!-- #EndDate -->
22 <p>The documentation required a major upgrade. Many pages have been overhauled, some completely re…
23pages have been added on association management, automatic server discovery and rate management. M…
27guard time) and minimum average headway. This is a major improvement over the original limitreject…
35 <p>In the original design the frequency file was written at one-hour intervals. This apparently mak…
47 …g nothing to do with the DNS name. This opens up a possible future plan to use the Autokey name ra…
55-6 monitoring protocol was designed circa 1988 the considered intent was that monitoring functions…
57 … purposes, some scripts no longer worked. The scripts should be changed to use only the leap and s…
[all …]
/freebsd-src/contrib/libfido2/
H A DCMakeLists.txt1 # Copyright (c) 2018-2022 Yubico AB. All rights reserved.
2 # Use of this source code is governed by a BSD-style
4 # SPDX-License-Identifier: BSD-2-Clause
38 option(BUILD_MANPAGES "Build man pages" ON)
43 option(USE_HIDAPI "Use hidapi as the HID backend" OFF)
48 add_definitions(-D_FIDO_MAJOR=${FIDO_MAJOR})
49 add_definitions(-D_FIDO_MINOR=${FIDO_MINOR})
50 add_definitions(-D_FIDO_PATCH=${FIDO_PATCH})
65 add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600)
74 set(FIDO_CFLAGS "${FIDO_CFLAGS} -D_POSIX_C_SOURCE=200809L")
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h1 //===-- combined.h --------
[all...]
H A Dsecondary.h1 //===-- secondary.h --------
[all...]
/freebsd-src/sys/dev/iommu/
H A Diommu_gas.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * Redistribution and use in source and binary forms, with or without
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
100 SLIST_INIT(&res->pgtbl_free); in iommu_gas_alloc_entry()
102 res->domai in iommu_gas_alloc_entry()
[all...]

123