Home
last modified time | relevance | path

Searched +full:linux +full:- +full:no +full:- +full:asm (Results 1 – 25 of 160) sorted by relevance

1234567

/third_party/musl/
DWHATSNEW1 0.5.0 - initial release
5 0.5.9 - signal ABI bugfix, various cleanup and fixes:
25 many internal improvements have been made to the syscall-related code
30 0.6.0 - x86_64 port, various important bugs fixed
48 0.7.0 - major improvements to posix conformance and completeness
59 added syscall wrappers for the linux inotify interface.
61 malloc(0) now returns a non-null pointer.
64 hanging), and non-default-type mutex behavior.
67 libgcc with dwarf2 unwind support, and possibly other low-level tools.
69 improved musl-gcc compiler wrapper.
[all …]
/third_party/musl/scripts/build_lite/
DMakefile1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
21 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
35 MULTILIB = $(patsubst %.,%,$(shell $(CC) -print-multi-directory))
37 TARGET = $(ARCH)-liteos-ohos
39 CROSS_COMPILE = $(CLANG:%clang=%llvm-)
40 CC = $(CLANG) --target=$(TARGET) $(ARCH_CFLAGS)
41 …subst $(dir $(shell $(filter-out $(ARCH_CFLAGS),$(CC)) -print-libgcc-file-name))%,/%,$(dir $(shell…
46 SED_ARGS = -e '/install-libs:/s/if/and/g'
50 LINUXKERNELDIR = $(TOPDIR)/kernel/linux/linux-5.10
[all …]
/third_party/vulkan-loader/.github/workflows/
Dbuild.yml1 # Copyright (c) 2021-2023 Valve Corporation
2 # Copyright (c) 2021-2023 LunarG, Inc.
8 # http://www.apache.org/licenses/LICENSE-2.0
21 # https://docs.github.com/en/actions/using-jobs/using-concurrency
25 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
26 cancel-in-progress: true
32 - main
34 permissions: read-all
37 linux:
38 runs-on: ${{matrix.os}}
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dvdso_wrappers.rs3 //! <https://man7.org/linux/man-pages/man7/vdso.7.html>
18 #[cfg(all(asm, target_arch = "x86"))]
19 use core::arch::asm;
29 pub(crate) fn clock_gettime(which_clock: ClockId) -> __kernel_timespec { in clock_gettime()
32 // the side effect of writing to the result buffer, and no others. in clock_gettime()
46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()
51 // See `FD_TO_CLOCKID` in Linux's `clock_gettime` documentation. in clock_gettime_dynamic()
69 // the side effect of writing to the result buffer, and no others. in clock_gettime_dynamic()
71 const EINVAL: c::c_int = -(c::EINVAL as c::c_int); in clock_gettime_dynamic()
89 use crate::backend::arch::asm;
[all …]
/third_party/ltp/
Dconfigure.ac2 AC_INIT([ltp], [LTP_VERSION], [ltp@lists.linux.it])
9 include/mk/config-openposix.mk \
32 …[m4_fatal([must install pkg-config or pkgconfig and pkg.m4 macro (usual dependency), see INSTALL])…
36 AC_CHECK_DECLS([IFLA_NET_NS_PID],,,[#include <linux/if_link.h>])
42 asm/ldt.h \
47 linux/can.h \
48 linux/cgroupstats.h \
49 linux/cryptouser.h \
50 linux/close_range.h \
51 linux/dccp.h \
[all …]
/third_party/backends/backend/
Dplustek-pp_sysdep.h1 /* @file plustek-pp_sysdep.h
3 * kernel-versions some stuff is maybe not relevant, but anyway...
5 * Copyright (C) 2000-2013 Gerhard Jaeger <gerhard@gjaeger.de>
8 * 0.30 - initial version
9 * 0.38 - added this header
10 * 0.39 - added kernel 2.4 stuff
11 * 0.40 - added slab.h/malloc.h stuff for kernel >= 2.4.17
12 * 0.41 - no changes
13 * 0.42 - added _GET_TIME
14 * - added LINUX_26 for new kernel
[all …]
/third_party/ltp/testcases/cve/
Dcve-2015-3290.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2018-2022 Linux Test Project
12 http://www.openwall.com/lists/oss-security/2015/08/04/8
14 > +++++ CVE-2015-3290 +++++
19 > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9b6e6a8334d56354853f9c…
21 > The other fix (synchronous modify_ldt) does *not* fix CVE-2015-3290.
23 > You can mitigate CVE-2015-3290 by blocking modify_ldt or
24 > perf_event_open using seccomp. A fully-functional, portable, reliable
32 reliable privilege escalation on any Linux x86_64 system in which
36 Glossing over a lot of details, the basic structure of Linux' nested NMI
[all …]
Dcve-2017-17053.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 /* Regression test for CVE-2017-17053, original reproducer can be found
7 …* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ccd5b3235180eef3cf…
16 #include <asm/ldt.h>
70 shm->segfaulted = 1; in handler()
71 shm->do_exit = 1; in handler()
89 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in setup()
111 if (shm->do_exit) in run_test()
130 shm->do_exit = 0; in run()
131 shm->segfaulted = 0; in run()
[all …]
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork05.c22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 * Linux Test Project - Silicon Graphics, Inc.
52 *>There is no need to look at it, I know it cannot work anymore on recent
56 *>- --
57 *>- --------------. ,-. 444 Castro Street
58 *>Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
59 *>Red Hat `--' drepper at redhat.com `---------------------------
63 *On Sat, Aug 12, 2000 at 12:47:31PM -0700, Ulrich Drepper wrote:
65 *> appended test program worked. Now with 2.4.0-test6 it's not working
90 *> add this program. It's mostly self-contained. The correct handling
[all …]
/third_party/ltp/include/lapi/
Drt_sigaction.h1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #define INVAL_SA_PTR ((void *)-1)
39 * From asm/signal.h -- this value isn't exported anywhere outside of glibc and
40 * asm/signal.h and is only required for the rt_sig* function family because
49 * x86-64 should always use SA_RESTORER.
51 * -- thus SA_RESTORER must always be defined along with
67 int ret_code = -1; in sig_initial()
80 /* And voila -- we just tricked the kernel into giving us our in sig_initial()
96 * Based on glibc/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
105 : /* no outputs */ in __rt_sigreturn_stub()
[all …]
/third_party/mesa3d/bin/
Dperf-annotate-jit.py4 # Copyright 2008-2009 Jose Fonseca
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27 Linux `perf annotate` does not work with JIT code. This script takes the data
29 into /tmp/perf-XXXXX.map.asm and produces output similar to `perf annotate`.
55 """Base class for parsers that read line-based formats."""
106 stream = open(filename + '.asm', 'rt')
110 asm = []
115 asm.append((addr, instr))
118 return asm
126 """Parser for linux perf callgraph output.
[all …]
/third_party/python/Modules/
Dsocketmodule.h57 * interface at all, so there is no point including the code that
89 # include <asm/types.h>
91 # include <linux/netlink.h>
98 # include <asm/types.h>
100 # include <linux/qrtr.h>
127 # include <linux/tipc.h>
131 # include <linux/can.h>
140 #include <linux/can/raw.h>
144 #include <linux/can/bcm.h>
148 #include <linux/can/j1939.h>
[all …]
/third_party/vulkan-loader/loader/
DCMakeLists.txt2 # Copyright (c) 2014-2023 The Khronos Group Inc.
3 # Copyright (c) 2014-2023 Valve Corporation
4 # Copyright (c) 2014-2023 LunarG, Inc.
6 # Copyright (c) 2023-2023 RasterGrid Kft.
12 # http://www.apache.org/licenses/LICENSE-2.0
29 …# Note: When linking your app or driver to OneCore.lib, be sure to remove any links to non-umbrell…
35 # Build dev_ext_trampoline.c and unknown_ext_chain.c with /O2 to allow tail-call optimization.
36 # Setup two CMake targets (loader-norm and loader-opt) for the different compilation flags.
42 …string(REGEX REPLACE "/RTC." "" MODIFIED_C_FLAGS_DEBUG ${MODIFIED_C_FLAGS_DEBUG}) #remove run-tim…
62 # Place it in the build directory - the GN build will use the checked in file
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dstacktrace_powerpc-inl.inc7 // https://www.apache.org/licenses/LICENSE-2.0
17 // https://developer.apple.com/documentation/mac/runtimehtml/RTArch-59.html
18 // https://www.linux-foundation.org/spec/ELF/ppc64/PPC-elf64abi-1.9.html#STACK
19 // Linux has similar code: http://patchwork.ozlabs.org/linuxppc/patch?id=8882
25 #include <asm/ptrace.h> // for PT_NIP.
39 #include "absl/debugging/internal/vdso_support.h" // a no-op on non-elf or non-glibc systems
46 // linux ppc64), it's in sp[2]. For SYSV (used by linux ppc),
65 // stackframe, or return null if no stackframe can be found. Perform sanity
82 if ((uintptr_t)new_sp - (uintptr_t)old_sp > 100000) return nullptr;
84 // In the non-strict mode, allow discontiguous stack frames.
[all …]
/third_party/lzma/DOC/
Dlzma-sdk.txt2 --------------
17 7z is a main file format for 7-Zip compression program (www.7-zip.org).
19 7z also supports AES-256 based encryption.
28 -------
34 2) SHA-256: Wei Dai (Crypto++ library)
38 any purpose, commercial or non-commercial, and by any means.
45 -----------------
49 - C / C++ / C# / Java - LZMA compression and decompression
50 - C / C++ - LZMA2 compression and decompression
51 - C / C++ - XZ compression and decompression
[all …]
/third_party/skia/third_party/externals/libpng/contrib/arm-neon/
Dlinux-auxv.c1 /* contrib/arm-neon/linux-auxv.c
3 * Copyright (c) 2014 Glenn Randers-Pehrson
11 * SEE contrib/arm-neon/README before reporting bugs
14 * BUG REPORTS: png-mng-implement@sourceforge.net
16 * png_have_neon implemented for Linux versions which allow access to
18 * read /proc/cpuinfo in contrib/arm-neon/linux, however it is yet another piece
32 #include <asm/hwcap.h>
34 /* A read call may be interrupted, in which case it returns -1 and sets errno to
61 if (iread == -1) in safe_read()
64 * bytes read because of EINTR, yet it still returns -1 otherwise end in safe_read()
[all …]
/third_party/toybox/toys/posix/
Dulimit.c1 /* ulimit.c - Modify resource limits
8 * Deviations from posix: The units on -f are supposed to be 512 byte
9 * "blocks" (no other options are specified, and even hard drives don't
13 * Deviations from bash: Sizes are in bytes (instead of -p 512 and -f 1024).
14 * Bash's -p value has been wrong since 2010 (git 35f3d14dbbc5).
15 * The kernel implementation of RLIMIT_LOCKS (-x) was removed from Linux in
16 * 2003. Bash never implemented -b (it's in the help but unrecognized at
17 * runtime). We support -P to affect processes other than us.
19 USE_ULIMIT(NEWTOY(ulimit, ">1P#<1SHavutsrRqpnmlifedc[-SH][!apvutsrRqnmlifedc]", TOYFLAG_USR|TOYFLAG…
27 usage: ulimit [-P PID] [-SHRacdefilmnpqrstuv] [LIMIT]
[all …]
/third_party/abseil-cpp/
D0002-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch3 Date: Fri, 22 Mar 2024 14:21:13 -0700
4 Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support
6 Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1644
8 Starting with Linux 6.6 [1], RDCYCLE is a privileged instruction on RISC-V and can't be used direct…
12-V. Without processor specific implementation, abseil relies on std::chrono::steady_clock::now().t…
16 [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada1622…
17 [2] https://github.com/abseil/abseil-cpp/pull/1631
22 COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1644 from aurel32:rv64-no-unsca…
23 PiperOrigin-RevId: 618286262
24 Change-Id: Ie4120a727e7d0bb185df6e06ea145c780ebe6652
[all …]
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c1 // SPDX-License-Identifier: GPL-2.0
12 * - Unshares a network namespace (so network related actions
13 * have no effect on a real system).
14 * - Forks a child which creates a NETLINK_ROUTE netlink socket
17 * - Child then waits for parent approval to receive data from socket
18 * - Parent creates a new TAP interface (dummy0) and immediately
21 * - As the child was listening to RTMGRP_LINK multicast group, it should
28 #include <asm/types.h>
30 #include <linux/netlink.h>
31 #include <linux/rtnetlink.h>
[all …]
/third_party/rust/crates/rustix/
Dbuild.rs6 /// The directory for out-of-line ("outline") libraries.
12 println!("cargo:rerun-if-changed=build.rs"); in main()
16 // Features only used in no-std configurations. in main()
41 // Check for `--features=use-libc`. This allows crate users to enable the in main()
45 // Check for `--features=rustc-dep-of-std`. This is used when rustix is in main()
51 // Check for `RUSTFLAGS=--cfg=rustix_use_libc`. This allows end users to in main()
55 // Check for eg. `RUSTFLAGS=--cfg=rustix_use_experimental_asm`. This is a in main()
57 // and not something we want accidentally enabled via `--all-features`. in main()
60 // Miri doesn't support inline asm, and has builtin support for recognizing in main()
72 || os_name != "linux" in main()
[all …]
/third_party/benchmark/src/
Dcycleclock.h1 // ----------------------------------------------------------------------
4 // is actually time since power-on. This is like time() but doesn't
19 // ----------------------------------------------------------------------
59 // https://setisvn.ssl.berkeley.edu/svn/lib/fftw-3.0.1/kernel/cycle.h
61 // This should return the number of cycles since power-on. Thread-safe.
75 // this goes above x86-specific code because old versions of Emscripten in Now()
87 // This returns a time-base, which is not always precisely a cycle-count. in Now()
90 asm volatile("mfspr %0, 268" : "=r"(tb)); in Now()
94 asm volatile( in Now()
99 tbl &= -static_cast<int32_t>(tbu0 == tbu1); in Now()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_debug.cpp3 * Copyright 2009-2011 VMware, Inc.
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21 * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR
33 #include <llvm/Config/llvm-config.h>
34 #include <llvm-c/Core.h>
35 #include <llvm-c/Disassembler.h>
58 * and stack variables would often make the check a no op, defeating the
65 return ((uintptr_t)ptr & (alignment - 1)) == 0; in lp_check_alignment()
87 * - http://blog.llvm.org/2010/01/x86-disassembler.html
88 * - http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html
[all …]
/third_party/zlib/
DChangeLog5 - Reject overflows of zip header fields in minizip
6 - Fix bug in inflateSync() for data held in bit buffer
7 - Add LIT_MEM define to use more memory for a small deflate speedup
8 - Fix decision on the emission of Zip64 end records in minizip
9 - Add bounds checking to ERR_MSG() macro, used by zError()
10 - Neutralize zip file traversal attacks in miniunz
11 - Fix a bug in ZLIB_DEBUG compiles in check_match()
12 - Various portability and appearance improvements
15 - Remove K&R function definitions and zlib2ansi
16 - Fix bug in deflateBound() for level 0 and memLevel 9
[all …]
/third_party/libbpf/src/
Dbpf_helpers.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
7 * vmlinux.h (auto-generated from BTF) or linux/types.h
38 _Pragma("GCC diagnostic ignored \"-Wignored-attributes\"") \
44 /* Avoid 'linux/stddef.h' definition of '__always_inline'. */
56 * Use __hidden attribute to mark a non-static BPF subprogram effectively
63 /* When utilizing vmlinux.h with BPF CO-RE, user BPF programs can't include
64 * any system-level headers (such as stddef.h, linux/version.h, etc), and
65 * commonly-used macros like NULL and KERNEL_VERSION aren't available through
66 * vmlinux.h. This just adds unnecessary hurdles and forces users to re-define
82 * offset CO-RE relocation properly, so force-redefine offsetof() using
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/inline/
Dx86.rs1 //! 32-bit x86 Linux system calls.
16 use core::arch::asm;
22 ) -> RetReg<R0> { in indirect_syscall0()
24 asm!( in indirect_syscall0()
38 ) -> RetReg<R0> { in indirect_syscall1()
40 asm!( in indirect_syscall1()
55 ) -> ! { in indirect_syscall1_noreturn()
56 asm!( in indirect_syscall1_noreturn()
71 ) -> RetReg<R0> { in indirect_syscall2()
73 asm!( in indirect_syscall2()
[all …]

1234567