/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_add_impl.inc | 1 //===----- lib/fp_add_impl.inc - floaing point addition -----------*- C -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file implements soft-float addition with the IEEE-754 default rounding 12 //===----------------------------------------------------------------------===// 24 if (aAbs - REP_C(1) >= infRep - REP_C(1) || 25 bAbs - REP_C(1) >= infRep - REP_C(1)) { 34 // +/-infinity + -/+infinity = qNaN 37 // +/-infinity + anything remaining = +/- infinity 42 // anything remaining + +/-infinity = +/-infinity [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | baikal,bt1-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Baikal-T1 PCIe Root Port Controller 10 - Serge Semin <fancer.lancer@gmail.com> 13 Embedded into Baikal-T1 SoC Root Complex controller with a single port 14 activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured 18 performed by software. There four in- and four outbound iATU regions 22 - $ref: /schemas/pci/snps,dw-pcie.yaml# [all …]
|
H A D | snps,dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pci [all...] |
/freebsd/lib/libsys/ |
H A D | chmod.2 | 64 is the super-user. 93 are constructed by a bitwise-inclusive OR of flags from the following list, defined 96 .Bl -tag -width indent 141 .Bd -literal -offset indent -compact 159 #define S_ISVTX 0001000 /* sticky bit */ 162 The non-standard 169 VM system totally ignores the sticky bit 172 On UFS-based file systems (FFS, LFS) the sticky 177 (the `sticky bit') is set on a directory, 180 The sticky bit may be [all …]
|
H A D | stat.2 | 96 are constructed by a bitwise-inclusive OR of flags from this list, 99 .Bl -tag -width indent 160 .Bl -tag -width ".Va st_nlink" 180 The time-related fields of 183 .Bl -tag -width ".Va st_birthtim" 237 These time-related macros are defined for compatibility: 238 .Bd -literal 254 Size-related fields of the 257 .Bl -tag -width ".Va st_blksize" 263 Actual number of blocks allocated for the file in 512-byte units. [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | addsf3.S | 1 //===-- addsf3.S - Adds two single precision floating pointer numbers-----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // addition with the IEEE-754 default rounding (to nearest, ties to even) 13 //===----------------------------------------------------------------------===// 55 // Get the significands and shift them to give us round, guard and sticky. 56 lsls r4, r0, #(typeWidth - significandBits) 57 lsrs r4, r4, #(typeWidth - significandBits - 3) // aSignificand << 3 58 lsls r5, r1, #(typeWidth - significandBits) 59 lsrs r5, r5, #(typeWidth - significandBits - 3) // bSignificand << 3 [all …]
|
/freebsd/bin/chmod/ |
H A D | chmod.1 | 1 .\"- 53 .Bl -tag -width indent 116 Only the owner of a file or the super-user is permitted to change 119 .Ex -std 125 .Bl -tag -width 6n -compact -offset indent 131 sub-directories created in them to be owned by the directory owner 144 (the sticky bit). 148 .Xr sticky 7 . 177 others, and no set-uid or set-gid behaviour is 755 181 .Bd -literal -offset indent [all …]
|
/freebsd/tools/sched/ |
H A D | schedgraph.py | 3 # Copyright (c) 2002-2003, 2009, Jeffrey Roberson <jeff@freebsd.org> 37 # - Install the ports/x11-toolkits/py-tkinter package; e.g. 38 # pkg install x11-toolkits/py-tkinter 39 # - Add KTR_SCHED to KTR_COMPILE and KTR_MASK in your KERNCONF; e.g. 44 # - It is encouraged to increase KTR_ENTRIES size to gather enough 49 # - Rebuild kernel with proper changes to KERNCONF and boot new kernel. 50 # - Run your workload to be profiled. 51 # - While the workload is continuing (i.e. before it finishes), disable 58 # - Dump the trace to a file: 'ktrdump -ct > ktr.out' 59 # - Alternatively, use schedgraph.d script in this directory for getting [all …]
|
/freebsd/contrib/pjdfstest/tests/granular/ |
H A D | 02.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/granular/02.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="NFSv4 granular permissions checking - ACL_READ_ACL and ACL_WRITE_ACL" 25 expect 0 -u 65534 -g 65534 readacl ${n0} 28 expect EACCES -u 65534 -g 65534 readacl ${n0} 30 expect 0 -u 65534 -g 65534 readacl ${n0} 36 expect EPERM -u 65534 -g 65534 prependacl ${n0} user:65534:read_data::allow 38 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:read_data::allow 43 expect EPERM -u 65534 -g 65534 chmod ${n0} 0777 45 expect 0 -u 65534 -g 65534 chmod ${n0} 0777 63 expect EPERM -u 65534 -g 65534 chmod ${n0} 04777 [all …]
|
/freebsd/sys/powerpc/fpu/ |
H A D | fpu_implode.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 69 * 2 bits (a la fpu_shr(), but we do not bother with fp->fp_sticky). 72 * Note that we may leave the value 2.0 in fp->fp_mant; it is the caller's 82 m0 = fp->fp_mant[0]; in round() 83 m1 = fp->fp_mant[1]; in round() 84 m2 = fp->fp_mant[2]; in round() 85 m3 = fp->fp_mant[3]; in round() 87 s = fp->fp_sticky; in round() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | tw.color.c | 2 * tw.color.c: builtin color ls-F 4 /*- 47 suffix, variable, { defaultcolor, sizeof(defaultcolor) - 1 }, \ 48 { defaultcolor, sizeof(defaultcolor) - 1 } \ 70 VAR(NOS, "no", "0"), /* Normal (non-filename) text */ 81 VAR(NOS, "tw", ""), /* Sticky and other writable dir (+t,o+w) */ 82 VAR(NOS, "ow", ""), /* Other writable dir (o+w) but not sticky */ 83 VAR(NOS, "st", ""), /* Sticky dir (+t) but not other writable */ 111 VSticky, /* Directory writable to others and sticky */ 112 VOther, /* Directory writable to others but not sticky */ [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/ |
H A D | dfmul.S | 1 //===----------------------Hexagon builtin routine ------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 56 #define END(TAG) .size TAG,.-TAG 73 ATMP = insert(A,#MANTBITS,#EXPBITS-1) 74 BTMP = asl(B,#EXPBITS-1) 75 TMP = #-BIAS 83 // H <= 2^31-1. L <= 2^32-1. Therefore, HL <= 2^63-2^32-2^31+1 84 // Adding 2 HLs, we get 2^64-3*2^32+2 maximum. 85 // Therefore, we can add 3 2^32-1 values safely without carry. We only need one. [all …]
|
/freebsd/contrib/googletest/docs/ |
H A D | gmock_for_dummies.md | 12 actually mean very different things in the Test-Driven Development (TDD) 17 not suitable for production. An in-memory file system would be an example of 19 * **Mocks** are objects pre-programmed with *expectations*, which form a 22 If all this seems too abstract for you, don't worry - the most important thing 46 error-prone. No wonder people go great distance to avoid it. 62 * You are stuck with a sub-optimal design and wish you had done more 77 hand-written mocks. 93 relies on a [LOGO](https://en.wikipedia.org/wiki/Logo_programming_language)-like 97 shiny new graphics card that has better anti-aliasing? Suddenly you have to 119 **all** classes you intend to inherit from - otherwise the destructor of the [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | policy.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 64 return (priv_policy_ns(cr, capability, err, cr->user_ns)); in priv_policy() 77 return (priv_policy_ns(cr, capability, err, cr->user_ns)); in priv_policy_user() 84 * Checks for operations that are either client-only or are used by 131 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_any_access() 154 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_chown() 191 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner))) in secpolicy_vnode_setdac() 199 * Are we allowed to retain the set-uid/set-gid bits when 201 * "issuid" should be true when set-uid; only in that case 222 if (!kgid_has_mapping(cr->user_ns, SGID_TO_KGID(gid))) in secpolicy_vnode_setids_setgids() [all …]
|
/freebsd/sys/netinet6/ |
H A D | ip6_output.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 /*- 164 ((eh)->ip6e_len + 1) << 3); \ 167 (_ol) += (*(mp))->m_len; \ 187 (m)->m_next = (mp)->m_next;\ 188 (mp)->m_next = (m);\ 199 if (m->m_pkthdr.csum_flags & CSUM_UDP_IPV6 && csum == 0) in in6_delayed_cksum() 201 offset += m->m_pkthdr.csum_data; /* checksum offset */ in in6_delayed_cksum() 203 if (offset + sizeof(csum) > m->m_len) in in6_delayed_cksum() [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | readcf.c | 2 * Copyright (c) 1998-2006, 2008-2010, 2013 Proofpoint, Inc. and its suppliers. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 23 SM_RCSID("@(#)$Id: readcf.c,v 8.692 2013-11-22 20:51:56 ca Exp $") 54 ** INITBOUNCEQUEUE -- determine BounceQueue if option is set. 83 BounceQueue = s->s_quegrp->qg_index; in initbouncequeue() 94 ** READCF -- read configuration file. 107 ** only produce one string-valued result. 108 ** Hname: value Define header with field-name 'name' 131 ** cfname -- configuration file name. 132 ** safe -- true if this is the system config file; [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/rtest/ |
H A D | semi.c | 4 * Copyright (c) 1999-2019, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 if ((ex > 0x3ff + 52 - 1) || /* things this big can't be fractional */ in test_rint() 47 roundword |= 2; /* preserve sticky bit */ in test_rint() 82 if ((ex > 0x7f + 23 - 1) || /* things this big can't be fractional */ in test_rintf() 107 roundword |= 2; /* preserve sticky bit */ in test_rintf() 182 am[1] -= bm[1]; in test_fmod() 183 am[0] = am[0] - bm[0] - (am[1] > ~bm[1]); in test_fmod() 188 aex--; in test_fmod() 251 am -= bm; in test_fmodf() [all …]
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | route_to.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 34 atf_set descr 'Basic route-to test' 50 jexec alcatraz route add -net 198.51.100.0/24 192.0.2.1 51 jexec alcatraz pfctl -e 55 "pass out route-to (${epair_route}b 203.0.113.1) from 192.0.2.2 to 198.51.100.1 no state" 56 jexec alcatraz nc -w 3 -s 192.0.2.2 198.51.100.1 22 70 atf_set descr 'Basic route-to test (IPv6)' 79 ifconfig ${epair_send}a inet6 2001:db8:42::1/64 up no_dad -ifdisabled 81 ifconfig ${epair_route}a inet6 2001:db8:43::1/64 up no_dad -ifdisabled 86 jexec alcatraz route add -6 2001:db8:666::/64 2001:db8:42::2 [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_disk.3 | 1 .\" Copyright (c) 2003-2007 Tim Kientzle 37 Streaming Archive Library (libarchive, -larchive) 81 .Bl -tag -width indent 96 .Bl -tag -compact -width "indent" 102 platform-specific file flags which might prevent its removal. 124 other pre-existing objects are unlinked and recreated from scratch. 129 Full permissions (including SGID, SUID, and sticky bit [all...] |
/freebsd/bin/test/ |
H A D | test.1 | 1 .\"- 60 .Bl -tag -width Ar 100 exists and its sticky bit is set. 135 The file is not writable on a read-only file 265 .Bl -tag -width Ar 304 .St -p1003.2 , 322 .Bl -tag -width indent 333 .Li test FILE1 -nt FILE2 338 .Dl test -n \&"$(find -L -- FILE1 -prune -newer FILE2 2>/dev/null)\&" 340 This can be modified using non-standard [all …]
|
/freebsd/share/man/man9/ |
H A D | make_dev.9 | 94 .Bd -literal -offset indent -compact 135 .Bd -literal -offset indent -compact 153 #define S_ISVTX 0001000 /* sticky bit */ 172 .Bl -tag -width "It Dv MAKEDEV_CHECKNAME" -compac [all...] |
/freebsd/sbin/ifconfig/ |
H A D | ifconfig.8 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-3-Clause 93 .Bl -tag -width indent 120 The format is specified as a comma-separated list of 141 .Bl -tag -width default 145 .Bl -tag -width default -compact 158 Adjust the display of link-level ethernet (MAC) addresses: 160 .Bl -tag -width default -compact 175 .Bl -tag -width default -compact 192 .Bl -tag -width default -compact [all …]
|
/freebsd/sys/fs/p9fs/ |
H A D | p9_protocol.h | 1 /*- 122 P9PROTO_DMAPPEND = 0x40000000, /* permission bit for is append-only */ 126 P9PROTO_DMTMP = 0x04000000, /* permission bit for non-backed-up files */ 128 P9PROTO_DMLINK = 0x01000000, /* permission bit for hard-link (9P2000.u) */ 134 P9PROTO_DMSETVTX = 0x00010000, /* permission bit for sticky bit (9P2000.u) */ 138 * QID types - they are primarly used to 143 P9PROTO_QTAPPEND = 0x40, /* append-only */ 147 P9PROTO_QTTMP = 0x04, /* non-backed-up files */ 173 uint64_t bavail; /* free blocks avail to non-superuser */
|
/freebsd/usr.bin/stat/ |
H A D | stat.1 | 99 .Bl -tag -width indent 210 .Bl -tag -width indent 213 Non-zero octal output will have a leading zero, and non-zero 220 Non-negative numbers are not usually printed 222 .It Cm - 229 Reserves a space at the front of non-negative signed output fields. 236 .Bl -tag -width indent 267 .Bl -tag -width indent 294 .Dq Li " -\*[Gt] " 311 .Bl -tag -width indent [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_policy.c | 87 if (cr->cr_uid == mp->mnt_cred->cr_uid && in secpolicy_fs_owner() 88 cr->cr_prison == mp->mnt_cred->cr_prison) { in secpolicy_fs_owner() 105 if (secpolicy_fs_owner(vp->v_mount, cr) == 0) in secpolicy_basic_link() 121 if (secpolicy_fs_owner(vp->v_mount, cr) == 0) in secpolicy_vnode_remove() 130 if (secpolicy_fs_owner(vp->v_mount, cr) == 0) in secpolicy_vnode_access() 140 if (vp->v_type == VDIR) { in secpolicy_vnode_access() 181 if (secpolicy_fs_owner(vp->v_mount, cr) == 0) in secpolicy_vnode_any_access() 185 if (owner == cr->cr_uid) in secpolicy_vnode_any_access() 193 if (vp->v_type == VDIR) in secpolicy_vnode_any_access() 197 if (vp->v_type != VDIR) in secpolicy_vnode_any_access() [all …]
|