| /linux/Documentation/arch/x86/ |
| H A D | shstk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Control-flow Enforcement Technology (CET) Shadow Stack 10 Control-flow Enforcement Technology (CET) covers several related x86 processor 20 control-protection fault. IBT verifies indirect CALL/JMP targets are intended 22 Stack and Indirect Branch Tracking. Today in the 64-bit kernel, only userspace 44 An application's CET capability is marked in its ELF note and can be verified 45 from readelf/llvm-readelf output:: 47 readelf -n <application> | grep -a SHSTK 60 on a per-thread basis. The enablement status is inherited on clone, so if the 90 -EPERM if any of the passed feature are locked. [all …]
|
| H A D | intel_txt.rst | 6 Technology (Intel(R) TXT), defines platform-level enhancements that 13 - Provides dynamic root of trust for measurement (DRTM) 14 - Data protection in case of improper shutdown 15 - Measurement and verification of launched environment 18 non-vPro systems. It is currently available on desktop systems 30 - LinuxTAG 2008: 31 http://www.linuxtag.org/2008/en/conf/events/vp-donnerstag.html 33 - TRUST2008: 34 http://www.trust-conference.eu/downloads/Keynote-Speakers/ 35 3_David-Grawrock_The-Front-Door-of-Trusted-Computing.pdf [all …]
|
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | arm,corstone1000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> 11 - Hugues Kamba Mpiana <hugues.kambampiana@arm.com> 14 ARM's Corstone1000 includes pre-verified Corstone SSE-710 subsystem that 19 systems for M-Class (or other) processors for adding sensors, connectivity, 25 seamless integration of the optional CryptoCell™-312 cryptographic 33 - description: Corstone1000 MPS3 it has 1 Cortex-A35 CPU core in a FPGA 37 - const: arm,corstone1000-mps3 [all …]
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm-security.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 12 ------------ 22 ----------------------------------------------- 42 --------------------------- 68 ---------------- 77 --------------------------------------- 104 name, which is what is exported via sysfs so user-space can run the 112 -------------- 116 hands to user-space the name of the derived null seed key which can 117 then be verified by certification in user-space. Therefore, this chain [all …]
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | seq-ext.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Check that after SEQ number wrap-around: 3 * 1. SEQ-extension has upper bytes set 18 /* Move them closer to roll-over */ 25 /* make them roll-over during quota, but on different segments */ in test_adjust_seqs() 27 new_seq1 = ((uint32_t)-1) - msg_len; in test_adjust_seqs() 28 new_seq2 = ((uint32_t)-1) - (quota - 2 * msg_len); in test_adjust_seqs() 30 new_seq1 = ((uint32_t)-1) - (quota - 2 * msg_len); in test_adjust_seqs() 31 new_seq2 = ((uint32_t)-1) - msg_len; in test_adjust_seqs() 34 img->in.seq = new_seq1; in test_adjust_seqs() [all …]
|
| H A D | restore.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* This is over-simplified TCP_REPAIR for TCP_ESTABLISHED sockets 4 * It tests that TCP-AO enabled connection can be restored. 6 * https://github.com/checkpoint-restore/criu/blob/criu-dev/soccr/soccr.h 30 if (test_add_key(lsk, DEFAULT_TEST_PASSWORD, this_ip_dest, -1, 100, 100)) in try_server_run() 85 synchronize_threads(); /* 4: verified => closed */ in try_server_run() 94 try_server_run("TCP-AO migrate to another socket (server)", port++, in server_fn() 96 try_server_run("TCP-AO with wrong send ISN (server)", port++, in server_fn() 98 try_server_run("TCP-AO with wrong receive ISN (server)", port++, in server_fn() 100 try_server_run("TCP-AO with wrong send SEQ ext number (server)", port++, in server_fn() [all …]
|
| /linux/fs/nfsd/ |
| H A D | nfsfh.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Extensive rewrite by Neil Brown <neilb@cse.unsw.edu.au> Southern-Spring 1999 8 * ... and again Southern-Winter 2001 to support export_operations 25 * if not, require that we can walk up to exp->ex_dentry 35 if (exp->ex_flags & NFSEXP_NOSUBTREECHECK) in nfsd_acceptable() 39 while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { in nfsd_acceptable() 52 if (tdentry != exp->ex_path.dentry) in nfsd_acceptable() 54 rv = (tdentry == exp->ex_path.dentry); in nfsd_acceptable() 67 umode_t mode = d_inode(dentry)->i_mode & S_IFMT; in nfsd_mode_check() 97 if (cred->cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok() [all …]
|
| /linux/Documentation/w1/slaves/ |
| H A D | w1_therm.rst | 16 ----------- 49 -1 if at least one sensor still in conversion, 1 if conversion is complete 72 the sensor. Resolution is reset when the sensor gets power-cycled. 81 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual 82 resolution is read back from the chip and verified. 86 The write-only sysfs entry ``eeprom_cmd`` is an alternative for EEPROM operations. 94 Values shall be space separated and in the device range (typical -55 degC 106 be force-enabled. 118 location of the chip in the 1-wire bus without needing pre-existing 133 Documentation/ABI/testing/sysfs-driver-w1_therm [all …]
|
| /linux/Documentation/crypto/ |
| H A D | asymmetric-keys.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Asymmetric / Public-key Cryptography Key Type 9 - Overview. 10 - Key identification. 11 - Accessing asymmetric keys. 12 - Signature verification. 13 - Asymmetric key subtypes. 14 - Instantiation data parsers. 15 - Keyring link restrictions. 22 public-key cryptography, without imposing any particular restrictions on the [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | orangefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal 51 On Fedora, install orangefs and orangefs-server:: 53 dnf -y install orangefs orangefs-server 64 pvfs2-client-core. 68 pvfs2-server -f /etc/orangefs/orangefs.conf 72 systemctl start orangefs-server 76 pvfs2-ping -m /pvfsmnt 81 systemctl start orangefs-client 85 mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt [all …]
|
| /linux/fs/jfs/ |
| H A D | xattr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 27 * Overall design -- 34 * where <name> is constructed from a null-terminated ascii string 36 * (1 ... 65535 bytes). The in-memory format is 39 * +-------+--------+--------+----------------+-------------------+ 42 * +-------+--------+--------+----------------+-------------------+ 47 * +------------+-------------------+--------------------+----- 50 * +------------+-------------------+--------------------+----- 52 * On-disk: [all …]
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-gen.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-gen 6 --- [all...] |
| /linux/drivers/phy/rockchip/ |
| H A D | phy-rockchip-usbdp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2021-2024 Rockchip Electronics Co., Ltd 9 #include <dt-bindings/phy/phy.h> 115 /* u2phy-grf */ 119 /* usb-grf */ 123 /* usbdpphy-grf */ 129 /* vo-grf */ 179 bool hs; /* flag for high-speed */ 206 /* voltage swing 0, pre-emphasis 0->3 */ 214 /* voltage swing 1, pre-emphasis 0->2 */ [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | offload.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 103 key_len = nfp_flow->meta.key_len; in nfp_flower_xmit_flow() 104 mask_len = nfp_flow->meta.mask_len; in nfp_flower_xmit_flow() 105 act_len = nfp_flow->meta.act_len; in nfp_flower_xmit_flow() 112 nfp_flow->meta.key_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow() 113 nfp_flow->meta.mask_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow() 114 nfp_flow->meta.act_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow() 118 return -ENOMEM; in nfp_flower_xmit_flow() 121 memcpy(msg, &nfp_flow->meta, meta_len); in nfp_flower_xmit_flow() [all …]
|
| H A D | action.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 39 push_mpls->head.jump_id = NFP_FL_ACTION_OPCODE_PUSH_MPLS; in nfp_fl_push_mpls() 40 push_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_push_mpls() 43 if (act->mpls_push.bos != ACT_MPLS_BOS_NOT_SET) { in nfp_fl_push_mpls() 44 mpls_lse |= act->mpls_push.bos << MPLS_LS_S_SHIFT; in nfp_fl_push_mpls() 47 return -EOPNOTSUPP; in nfp_fl_push_mpls() 51 if (act->mpls_push.tc != ACT_MPLS_TC_NOT_SET) in nfp_fl_push_mpls() 52 mpls_lse |= act->mpls_push.tc << MPLS_LS_TC_SHIFT; in nfp_fl_push_mpls() 54 /* Proto, label and TTL are enforced and verified for MPLS push. */ in nfp_fl_push_mpls() [all …]
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | liquidio_common.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 19 * \brief Common: Structures and macros used in PCI-NIC package by core and 50 /* pre-defined host->NIC tag values */ 60 /* Subcodes are used by host driver/apps to identify the sub-operation 85 #define VF_DRV_REMOVED -1 101 #define CVM_DRV_APP_END (CVM_DRV_INVALID_APP - 1) 123 index = index + count - max; in incr_index() 149 /*--------------------------- SCATTER GATHER ENTRY -----------------------*/ 151 /* The Scatter-Gather List Entry. The scatter or gather component used with [all …]
|
| /linux/drivers/md/ |
| H A D | dm-verity-target.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors 16 #include "dm-verity.h" 17 #include "dm-verity-fec.h" 18 #include "dm-verity-verify-sig.h" 19 #include "dm-audit.h" 72 * Auxiliary structure appended to each dm-bufio buffer. If the value 73 * hash_verified is nonzero, hash of the block has been verified. 94 aux->hash_verified = 0; in dm_bufio_alloc_callback() 102 return dm_target_offset(v->ti, bi_sector); in verity_map_sector() [all …]
|
| /linux/tools/testing/selftests/bpf/verifier/ |
| H A D | calls.c | 25 "calls: invalid kfunc call: ptr_to_mem to struct with non-scalar", 28 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -8), 43 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -8), 58 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -8), 70 "calls: invalid kfunc call: reg->type != PTR_TO_CTX", 73 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -8), 88 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -8), 100 "calls: trigger reg2btf_ids[reg->type] for reg->type > __BPF_REG_TYPE_MAX", 103 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, - [all...] |
| /linux/net/sched/ |
| H A D | sch_mqprio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 switch (priv->mode) { in mqprio_enable_offload() 48 if (priv->shaper != TC_MQPRIO_SHAPER_DCB) in mqprio_enable_offload() 49 return -EINVAL; in mqprio_enable_offload() 52 mqprio.flags = priv->flags; in mqprio_enable_offload() 53 if (priv->flags & TC_MQPRIO_F_MODE) in mqprio_enable_offload() 54 mqprio.mode = priv->mode; in mqprio_enable_offload() 55 if (priv->flags & TC_MQPRIO_F_SHAPER) in mqprio_enable_offload() 56 mqprio.shaper = priv->shaper; in mqprio_enable_offload() 57 if (priv->flags & TC_MQPRIO_F_MIN_RATE) in mqprio_enable_offload() [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | kasan.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 -------- 11 designed to find out-of-bounds and use-after-free bugs. 16 2. Software Tag-Based KASAN 17 3. Hardware Tag-Based KASAN 23 Software Tag-Based KASAN or SW_TAGS KASAN, enabled with CONFIG_KASAN_SW_TAGS, 26 using it for testing on memory-restricted devices with real workloads. 28 Hardware Tag-Based KASAN or HW_TAGS KASAN, enabled with CONFIG_KASAN_HW_TAGS, 29 is the mode intended to be used as an in-field memory bug detector or as a 37 The Generic and the Software Tag-Based modes are commonly referred to as the [all …]
|
| /linux/mm/ |
| H A D | zswap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * zswap.c - zswap driver file 7 * RAM-based memory pool. This can result in a significant I/O reduction on 31 #include <linux/page-flags.h> 119 /* Enable/disable memory pressure-based shrinker. */ 148 * The lock ordering is zswap_tree.lock -> zswap_pool.lru_lock. 151 * needs to be verified that it's still valid in the tree. 178 * swpentry - associated swap entry, the offset indexes into the red-black tree 179 * length - the length in bytes of the compressed page data. Needed during 181 * referenced - true if the entry recently entered the zswap pool. Unset by the [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_debugfs.c | 1 // SPDX-License-Identifier: MIT 29 #include <media/cec-notifier.h> 68 /* parse_write_buffer_into_params - Helper function to parse debugfs write buffer into an array 95 return -EFAULT; in parse_write_buffer_into_params() 109 /* skip non-space*/ in parse_write_buffer_into_params() 158 * debugfs is located at /sys/kernel/debug/dri/0/DP-x/link_settings 160 * --- to get dp configuration 162 * cat /sys/kernel/debug/dri/0/DP-x/link_settings 164 * It will list current, verified, reported, preferred dp configuration. 165 * current -- for current video mode [all …]
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | mmu-hash.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 #include <asm/asm-const.h> 46 #define SLB_VSID_N ASM_CONST(0x0000000000000200) /* no-execute */ 167 * taken as such, concurrent access on pre POWER5 hardware could result 192 return -1; in shift_to_mmu_psize() 211 return -1; in ap_to_shift() 285 lp = (l >> LP_SHIFT) & ((1 << LP_BITS) - 1); in __hpte_page_size() 315 * to use 4k pages when they create cache-inhibited mappings. 330 * The AVA field omits the low-order 23 bits of the 78 bits VA. in hpte_encode_avpn() 332 * low-order b of these bits are part of the byte offset in hpte_encode_avpn() [all …]
|
| /linux/fs/erofs/ |
| H A D | super.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017-2018 HUAWEI, Inc. 13 #include <linux/backing-dev.h> 34 KERN_SOH_ASCII, level, sb->s_id, &vaf); in _erofs_printk() 43 u32 len = 1 << EROFS_SB(sb)->blkszbits, crc; in erofs_superblock_csum_verify() 46 len -= EROFS_SUPER_OFFSET; in erofs_superblock_csum_verify() 47 len -= offsetof(struct erofs_super_block, checksum) + in erofs_superblock_csum_verify() 48 sizeof(dsb->checksum); in erofs_superblock_csum_verify() 50 /* skip .magic(pre-verified) and .checksum(0) fields */ in erofs_superblock_csum_verify() 51 crc = crc32c(0x5045B54A, (&dsb->checksum) + 1, len); in erofs_superblock_csum_verify() [all …]
|
| /linux/fs/cramfs/ |
| H A D | inode.c | 36 * cramfs super-block data in memory 51 return sb->s_fs_info; in CRAMFS_SB() 64 #define OFFSET(x) ((x)->i_ino) 68 if (!cino->offset) in cramino() 70 if (!cino->size) in cramino() 75 * cramfs_inode->offset is set to a non zero value for entries in cramino() 78 switch (cino->mode & S_IFMT) { in cramino() 82 return cino->offset << 2; in cramino() 97 return ERR_PTR(-ENOMEM); in get_cramfs_inode() 98 if (!(inode->i_state & I_NEW)) in get_cramfs_inode() [all …]
|