/freebsd/sys/contrib/device-tree/Bindings/mmc/ |
H A D | mmci.txt | 11 - compatible : contains "arm,pl18x", "arm,primecell". 12 - vmmc-supply : phandle to the regulator device tree node, mentioned 16 - arm,primecell-periphid : contains the PrimeCell Peripheral ID, it overrides 18 - resets : phandle to internal reset line. 20 - vqmmc-supply : phandle to the regulator device tree node, mentioned 23 - st,sig-dir-dat0 : bus signal direction pin used for DAT[0]. 24 - st,sig-dir-dat2 : bus signal direction pin used for DAT[2]. 25 - st,sig-dir-dat31 : bus signal direction pin used for DAT[3] and DAT[1]. 26 - st,sig-dir-dat74 : bus signal direction pin used for DAT[4] to DAT[7]. 27 - st,sig-dir-cmd : cmd signal direction pin used for CMD. [all …]
|
H A D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linu [all...] |
/freebsd/crypto/openssh/regress/unittests/sshsig/ |
H A D | webauthn.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 15 allow signing of data using the just-generated key. The data may be signed 17 easier to test using command-line tools. 23 <span id="error" style="color: #800; font-weight: bold; font-size: 150%;"></span> 35 <pre id="enrollresultjson" style="color: #008; font-family: monospace;"></pre> 37 <pre id="enrollresultraw" style="color: #008; font-family: monospace;"></pre> 39 <pre id="enrollresultattestobj" style="color: #008; font-family: monospace;"></pre> 41 <pre id="keyhandle" style="color: #008; font-family: monospace;"></pre> 43 <pre id="enrollresultauthdataraw" style="color: #008; font-family: monospace;"></pre> 45 <pre id="enrollresultauthdata" style="color: #008; font-family: monospace;"></pre> [all …]
|
/freebsd/contrib/libedit/TEST/ |
H A D | wtc1.c | 31 sig(int i) in sig() function 50 buf.str[needed - 1] = 0; in my_wcstombs() 59 DIR *dd = opendir("."); in complete() 66 wchar_t dir[1024]; in complete() local 69 for (ptr = lf->cursor -1; !iswspace(*ptr) && ptr > lf->buffer; --ptr) in complete() 71 len = lf->cursor - ++ptr; in complete() 80 /* Note: really should test for -1 return from wctomb */ in complete() 84 mblen = bptr - buf; in complete() 88 if (mblen > strlen(dp->d_name)) in complete() 90 if (strncmp(dp->d_name, buf, mblen) == 0) { in complete() [all …]
|
H A D | tc1.c | 3 /*- 70 static void sig(int); 82 sig(int i) in sig() function 90 DIR *dd = opendir("."); in complete() 100 for (ptr = lf->cursor - 1; in complete() 101 !isspace((unsigned char)*ptr) && ptr > lf->buffer; ptr--) in complete() 103 len = lf->cursor - ++ptr; in complete() 106 if (len > strlen(dp->d_name)) in complete() 108 if (strncmp(dp->d_name, ptr, len) == 0) { in complete() 109 if (el_insertstr(el, &dp->d_name[len]) == -1) in complete() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-hre [all...] |
H A D | ste-snowball.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011 ST-Ericsson AB 6 /dts-v1/; 7 #include "ste-db9500.dtsi" 8 #include "ste-href-ab850 [all...] |
H A D | ste-nomadik-stn8815.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC 6 #include <dt-bindings/gpio/gpio.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 18 L2: cache-controller { 19 compatible = "arm,l210-cache"; 21 interrupt-paren [all...] |
/freebsd/tools/test/stress2/misc/ |
H A D | syzkaller57.sh | 17 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x82222e7da, rsp = 0x820d68d88, rbp = 0x820d68f00 --- 22 # FreeBSD 14.0-CURRENT #0 main-n255847-d46174cd8838b: Sat May 28 20:56:08 CEST 2022 26 [ `uname -p` != "amd64" ] && exit 0 32 // Reported-by: syzbot+6c484f116b9dc88f7db1@syzkaller.appspotmail.com 59 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused) 61 uintptr_t addr = (uintptr_t)info->si_addr; 66 if (sig == SIGBUS) { 72 exit(sig); 100 while (waitpid(-1, status, 0) != pid) { 129 static void __attribute__((noinline)) remove_dir(const char* dir) [all …]
|
H A D | syzkaller69.sh | 30 # --- trap 0xc, rip = 0xffffffff80d3c17b, rsp = 0xfffffe00e49fab80, rbp = 0xfffffe00e49facc0 --- 39 # --- trap 0, rip = 0, rsp = 0, rbp = 0 --- 44 # version: FreeBSD 14.0-CURRENT #0 main-n264110-43ed91e00bbb1: Tue Jul 11 06:28:21 CEST 2023 48 uname -p | grep -Eq "amd64" || exit 0 49 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 56 // Reported-by: syzbot+e7d2e451f89fb444319b@syzkaller.appspotmail.com 88 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused) 91 exit(sig); 93 uintptr_t addr = (uintptr_t)info->si_addr; 98 if (sig == SIGBUS) [all …]
|
H A D | syzkaller47.sh | 3 # panic: ASan: Invalid access, 32-byte read at 0xfffffe01f76145a0, UseAfterScope(f8) 23 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x8003afafa, rsp = 0x7fffdfffdf58, rbp = 0x7fffdfffd… 28 # version: FreeBSD 14.0-CURRENT #0 main-n250242-eab5358b9080-dirty: Mon Oct 25 11:32:45 CEST 2021 29 # pho@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO-KASAN 32 [ `uname -p` != "amd64" ] && exit 0 33 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 34 [ "`sysctl -in kern.features.kasan`" != "1" ] && exit 0 40 // Reported-by: syzbot+a5898c11651b423b501f@syzkaller.appspotmail.com 69 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused) 71 uintptr_t addr = (uintptr_t)info->si_addr; [all …]
|
H A D | syzkaller23.sh | 3 # panic: Bad link elm 0xfffff80b62eb7500 prev->next != elm 21 # --- syscall (1, FreeBSD ELF64, sys_sys_exit), rip = 0x80045376a, rsp = 0x7fffffffe4c8, rbp = 0x7f… 23 [ `uname -p` != "amd64" ] && exit 0 57 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused) 59 uintptr_t addr = (uintptr_t)info->si_addr; 64 if (sig == SIGBUS) { 70 exit(sig); 95 while (waitpid(-1, status, 0) != pid) { 124 static void remove_dir(const char* dir) 126 DIR* dp = opendir(dir); [all …]
|
H A D | syzkaller25.sh | 23 # --- trap 0x9, rip = 0xffffffff8237cbac, rsp = 0xfffffe01026e4910, rbp = 0xfffffe01026e4980 --- 31 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x8003b0a1a, rsp = 0x7fffdfffdbb8, rbp = 0x7fffdfffd… 36 # version: FreeBSD 13.0-CURRENT #0 r366401: Sat Oct 3 19:00:37 CEST 2020 40 [ `uname -p` != "amd64" ] && exit 0 43 kldstat -v | grep -q sctp || kldload sctp.ko 48 // Reported-by: syzbot+77fcf6a9d28f301bc2e5@syzkaller.appspotmail.com 79 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused) 81 uintptr_t addr = (uintptr_t)info->si_addr; 86 if (sig == SIGBUS) { 92 exit(sig); [all …]
|
H A D | signal.sh | 38 wd=/tmp/signal.dir 39 rm -rf $wd 40 mkdir -p $wd 65 long lwp_id = thisArg->id; 72 if( pthread_mutex_lock(thisArg->mutex) != 0 ) { 79 if( pthread_mutex_unlock(thisArg->mutex) != 0 ) { 118 arg->id = i; 119 arg->mutex = mutex; 176 printf("Usage: %s <pid> <lwp_id> <sig>\n", argv[0]); 186 int sig; [all …]
|
H A D | syzkaller21.sh | 3 # $ pgrep syzkaller21 | xargs ps -lHp 5 # 0 3891 1 0 20 0 29828 2852 - T 0 0:00,14 ./syzkaller21 8 # $ pgrep syzkaller21 | xargs procstat -k 10 # 3891 100250 syzkaller21 - mi_switch thread_suspend_switch thread_singl… 11 # 3891 100777 syzkaller21 - mi_switch sleepq_switch sleeplk lockmgr_xloc… 12 # 3891 100778 syzkaller21 - mi_switch sleepq_switch sleeplk lockmgr_sloc… 13 # $ uname -a 14 # FreeBSD t2.osted.lan 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r363786M: Tue Aug 4 16:51:52 CEST 2020 18 [ `uname -p` != "amd64" ] && exit 0 50 static void segv_handler(int sig, siginfo_t* info, void* ctx __unused) [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_exec.c | 4 * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). 5 * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. 9 * Common Development and Distribution License Version 1.0 (CDDL-1.0). 10 * You can obtain a copy of the license from the top-level file 11 * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>. 53 p1 = ((const struct launched_process_node *) x1)->pid; in _launched_process_node_compare() 54 p2 = ((const struct launched_process_node *) x2)->pid; in _launched_process_node_compare() 57 return (-1); in _launched_process_node_compare() 64 static pthread_t _reap_children_tid = (pthread_t)-1; 73 * Return a newly-allocated environment, or NULL on error. [all …]
|
/freebsd/usr.sbin/pkg/ |
H A D | pkg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2012-2014 Baptiste Daroussin <bapt@FreeBSD.org> 60 unsigned char *sig; member 68 unsigned char *sig; member 102 ret = -1; in extract_pkg_static() 111 if (lseek(fd, 0, 0) == -1) { in extract_pkg_static() 127 if (strcmp(end, "/pkg-static") == 0) { in extract_pkg_static() 140 warnx("failed to extract pkg-static: %s", in extract_pkg_static() 156 case -1: in install_pkg_static() [all …]
|
/freebsd/contrib/diff/src/ |
H A D | sdiff.c | 1 /* sdiff - side-by-side merge of file differences 21 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 27 #include <unlocked-io.h> 29 #include <c-stack.h> 34 #include <file-type.h> 37 #include <version-etc.h> 87 #define handler_index_of_SIGINT (NUM_SIGS - 2) 88 #define handler_index_of_SIGPIPE (NUM_SIGS - 1) 98 # define signal_handler(sig, handler) signal (sig, handler) argument 105 # define sigmask(sig) (1 << ((sig) - 1)) argument [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerIO.cpp | 1 //===- FuzzerIO.cpp - IO utils. -------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 81 // Use raw C interface because this function may be called from a sig handler. in WriteToFile() 112 if ((NumLoaded & (NumLoaded - 1)) == 0 && NumLoaded >= 1024) in ReadDirToVectorOfUnits() 116 V->push_back(S); in ReadDirToVectorOfUnits() 118 VPaths->push_back(X); in ReadDirToVectorOfUnits() 123 void GetSizedFilesFromDir(const std::string &Dir, std::vector<SizedFile> *V) { in GetSizedFilesFromDir() argument 125 ListFilesInDirRecursive(Dir, 0, &Files, /*TopDir*/true); in GetSizedFilesFromDir() [all …]
|
/freebsd/sys/contrib/zstd/ |
H A D | appveyor.yml | 4 - 8 - release 9 - master 10 - /appveyor*/ 11 - /visual*/ 14 - COMPILER: "gcc" 17 SCRIPT: "make allzstd MOREFLAGS=-static" 20 - COMPILER: "gcc" 23 SCRIPT: "make allzstd MOREFLAGS=-static" 27 - COMPILER: "clang-cl" [all …]
|
/freebsd/bin/csh/ |
H A D | Makefile | 4 # To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. 24 DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"' 26 DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"' 28 CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS} 30 SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \ 33 sh.set.c sh.time.c sh.char.h sh.dir.h sh.proc.h sh.h 41 tc.sched.c tc.sig.c tc.sig.h tc.str.c sh.types.h tc.vers.c tc.wait.h \ 60 FILES= complete.tcsh csh-mode.el 63 CATALOGS= et:et_EE.UTF-8 \ 64 finnish:fi_FI.UTF-8 \ [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Linux_util.cpp | 2 * z_Linux_util.cpp -- platform specific routines. 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 93 (ts)->tv_sec = (tv)->tv_sec; \ 94 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 126 cond->c_cond.__c_lock.__status, cond->c_cond.__c_lock.__spinlock, in __kmp_print_cond() 127 cond->c_cond.__c_waiting); in __kmp_print_cond() 160 mask_size += sizeof(__kmp_affin_mask_size) - in __kmp_affinity_determine_capable() 295 "cannot determine mask size - affinity not supported\n")); in __kmp_affinity_determine_capable() [all …]
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1 /*- 2 * ------+---------+---------+-------- + --------+---------+---------+---------* 4 * Copyright (c) 2003, 2004 - Garance Alistair Drosehn <gad@FreeBSD.org>. 28 * ------+---------+---------+-------- + --------+---------+---------+---------* 52 * newsyslog - roll over selected logs at the appropriate time, keeping the a 104 * Bit-values for the 'flags' parsed from a config-file entry. 112 #define CE_SIGNALGROUP 0x0080 /* Signal a process-group instead of a single */ 143 static const char *gzip_flags[] = { "-f" }; 146 static const char *zstd_flags[] = { "-q", "-T0", "--adapt", "--long", "--rm" }; 176 int firstcreate; /* Creating log for the first time (-C). */ [all …]
|
/freebsd/contrib/tcsh/ |
H A D | src.desc | 16 sh.dir.c: Directory handling (cd, pushd, popd, dirs). Initialization 26 sh.hist.c: History book-keeping. 52 tc.sig.c: Signal emulation for SVR2, SVR1 and V5.
|
/freebsd/lib/libutil/ |
H A D | pw_util.c | 1 /*-- 2 * SPDX-License-Identifier: BSD-3-Clause 11 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 66 static pid_t editpid = -1; 67 static int lockfd = -1; 75 pw_cont(int sig) 78 if (editpid != -1) 79 kill(editpid, sig); 88 pw_init(const char *dir, const char *master) in pw_init() argument 94 if (dir == NULL) { in pw_init() [all …]
|