/linux/lib/ |
H A D | Kconfig.kgdb | 1 # SPDX-License-Identifier: GPL-2.0-only 6 # set if architecture has the its kgdb_arch_handle_qxfer_pkt 34 If set to Y the debug core will use the kprobe blocklist to 35 identify symbols where it is unsafe to set breakpoints. 49 Share a serial console with kgdb. Sysrq-g must be used 83 bool "KGDB: Allow debugging with traps in notifiers" 88 exception handler which will allow kgd [all...] |
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6125-xiaomi-laurel-sprout.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 compatible = "xiaomi,laurel-sprout", "qcom,sm6125"; 18 chassis-type = "handset"; 21 qcom,msm-id = <394 0>; /* sm6125 v1 */ 22 qcom,board-id = <11 0>; [all …]
|
H A D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 17 qcom,board-id = <34 0>; 21 chassis-type = "handset"; 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
/linux/Documentation/leds/ |
H A D | ledtrig-transient.rst | 8 to be off. The delay_on value specifies the time period an LED should stay 11 gets deactivated. There is no provision for one time activation to implement 16 set a timer to hold a state, however when user space application crashes or 36 that are active at the time driver gets suspended, continue to run, without 41 class device property. When brightness is set to 0 from user space via 56 non-transient state. When driver gets suspended, irrespective of the transient 69 transient trigger is activated these properties are set to default values. 71 - duration allows setting timer value in msecs. The initial value is 0. 72 - activate allows activating and deactivating the timer specified by 73 duration as needed. The initial and default value is 0. This will allow [all …]
|
/linux/include/uapi/linux/ |
H A D | capability.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 11 * ftp://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/ 19 /* User-level do most of the mapping between kernel and user 25 a set of three capability sets. The transposition of 3*the 33 #define _LINUX_CAPABILITY_VERSION_2 0x20071026 /* deprecated - use v3 */ 96 * Backwardly compatible definition for source code - trapped in a 97 * 32-bit world. If you find you need this, please consider using 107 ** POSIX-draft defined capabilities. 155 /* Allows set*uid(2) manipulation (including fsuid). */ 162 ** Linux-specific capabilities [all …]
|
/linux/Documentation/w1/slaves/ |
H A D | w1_therm.rst | 16 ----------- 47 time required by parasited powered device on the line. Reading 49 -1 if at least one sensor still in conversion, 1 if conversion is complete 55 time of issue of the bulk read command (not the current temperature). 59 ``conv_time`` is used to get current conversion time (read), and 60 adjust it (write). A temperature conversion time depends on the device type and 61 its current resolution. Default conversion time is set by the driver according 62 to the device datasheet. A conversion time for many original device clones 63 deviate from datasheet specs. There are three options: 1) manually set the 64 correct conversion time by writing a value in milliseconds to ``conv_time``; 2) [all …]
|
/linux/include/media/ |
H A D | rc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab 14 #include <linux/time.h> 16 #include <media/rc-map.h> 19 * enum rc_driver_type - type of the RC driver. 23 * It needs a Infra-Red pulse/space decoder 34 * struct rc_scancode_filter - Filter scan codes. 44 * enum rc_filter_type - Filter type constants. 57 * struct lirc_fh - represents an open lirc file 61 * set with an ioctl and then the high end with another ioctl [all …]
|
/linux/include/linux/platform_data/ |
H A D | mtd-nand-s3c2410.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * S3C2410 - NAND device controller platform_device info 15 * struct s3c2410_nand_set - define a set of one or more nand chips 16 * @flash_bbt: Openmoko u-boot can create a Bad Block Table 17 * Setting this flag will allow the kernel to 18 * look for it at boot time and also skip the NAND 20 * @options: Default value to set into 'struct nand_chip' options. 21 * @nr_chips: Number of chips in this set 23 * @name: Name of set (optional) 24 * @nr_map: Map for low-layer logical to physical chip numbers (option) [all …]
|
/linux/Documentation/virt/kvm/devices/ |
H A D | vcpu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 kvm_device_attr as other devices, but targets VCPU-wide settings and controls. 19 ------ [all...] |
/linux/Documentation/admin-guide/ |
H A D | xfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 on the SGI IRIX platform. It is completely multi-threaded, can 15 for further details. This implementation is on-disk compatible 25 Sets the buffered I/O end-of-file preallocation size when 28 through to 1GiB, inclusive, in power-of-2 increments. 30 The default behaviour is for dynamic end-of-file 31 preallocation size, which uses a set of heuristics to 40 on-disk. When the new form is used for the first time when 42 attributes) the on-disk superblock feature bit field will be 45 The default behaviour is determined by the on-disk feature [all …]
|
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 26 source to check if firmware has set the FF flag. This 28 nospcr -- disable console in ACPI SPCR table as [all …]
|
/linux/include/linux/ |
H A D | lru_cache.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 24 This header file (and its .c file; kernel-doc of functions see there) 26 and changes to an "active set" of objects, as well as pending transactions, 30 the active set before we can "heat" a previously unused region. 33 As it actually Tracks Objects in an Active SeT, we could also call it 42 we need to resync all regions that have been target of in-flight WRITE IO 48 This is known as "write intent log", and can be implemented as on-disk [all …]
|
/linux/Documentation/userspace-api/ |
H A D | check_exec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 `samples/check-exec/inc.c`_ example. 28 for script interpreters and dynamic linkers to check the securebits at run time 31 set to 1 (i.e. always enforce restrictions). 41 Programs should always perform this check to apply kernel-level checks against 60 To avoid race conditions leading to time-of-check to time-of-use issues, 67 When ``SECBIT_EXEC_RESTRICT_FILE`` is set, a process should only interpret or 71 This secure bit may be set by user session managers, service managers, 73 related ``SECBIT_EXEC_RESTRICT_FILE_LOCKED`` bit should also be set. 76 securebits but without relying on any other user-controlled configuration. [all …]
|
H A D | landlock.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 3 .. Copyright © 2019-2020 ANSSI 4 .. Copyright © 2021-2022 Microsoft Corporation 14 filesystem or network access) for a set of processes. Because Landlock 16 new security layers in addition to the existing system-wide access-controls. 23 ``dmesg | grep landlock || journalctl -kb -g landlock`` . 33 perform. A set of rules is aggregated in a ruleset, which can then restrict 48 ---------------------------------------- 52 For this example, the ruleset will contain rules that only allow filesystem [all …]
|
H A D | unshare.rst | 10 ---------- 14 -------- 26 ----------- 37 outside the confinement of all-or-nothing shared resources of legacy 38 threads. On Linux, at the time of thread creation using the clone system 44 shared at the time of their creation. unshare() was conceptualized by 45 Al Viro in the August of 2000, on the Linux-Kernel mailing list, as part 49 addition to the set of available primitives on Linux that implement 53 ----------- 59 even non-threaded applications if they have a need to disassociate [all …]
|
H A D | seccomp_filter.rst | 11 certain subset of userland applications benefit by having a reduced set 12 of available system calls. The resulting set reduces the total kernel 22 history of being exposed to userland and a straightforward data set. 25 to time-of-check-time-of-use (TOCTOU) attacks that are common in system 65 call will return -1 and set errno to ``EINVAL``. 73 true, ``-EACCES`` will be returned. This requirement ensures that filter 79 time, but allow for further decreasing the attack surface during 82 The above call returns 0 on success and non-zero on error. 106 task without executing the system call. ``siginfo->si_call_addr`` 108 ``siginfo->si_syscall`` and ``siginfo->si_arch`` will indicate which [all …]
|
/linux/Documentation/block/ |
H A D | data-integrity.rst | 10 corruption is done at read time which could potentially be months 40 allow the operating system to interact with the integrity metadata 53 encouraged them to allow separation of the data and integrity metadata 54 scatter-gather lists. 60 Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs 63 performance for a number of workloads. Some controllers allow a 64 lighter-weight checksum to be used when interfacing with the operating 66 The IP checksum received from the OS is converted to the 16-bit CRC 91 device. However, at the same time this is also the biggest 102 concept of an end-to-end protection scheme is a layering violation. [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | devices.rst | 24 An entry is added using devices.allow, and removed using 27 echo 'c 1:3 mr' > /sys/fs/cgroup/1/devices.allow 36 echo a > /sys/fs/cgroup/1/devices.allow 61 access permissions than its parent. Every time an entry is written to 63 from their whitelist and all the locally set whitelist entries will be 64 re-evaluated. In case one of the locally set whitelist entries would provide 74 A allow "b 8:* rwm", "c 116:1 rw" 103 # echo "c *:3 rwm" >A/devices.allow 113 # echo "c 2:3 rwm" >B/devices.allow 114 # echo "c 50:3 r" >B/devices.allow [all …]
|
/linux/drivers/iio/adc/ |
H A D | ti-ads7924.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * IIO driver for Texas Instruments ADS7924 ADC, 12-bit, 4-Channels, I2C 8 * based on iio/adc/ti-ads1015.c 58 * Register address INC bit: when set to '1', the register address is 60 * reading of multiple registers. Set INC to '0' when reading a single register. 98 * The power-up time is allowed to elapse whenever the device has been shutdown 99 * in idle mode. Power-up time can allow external circuits, such as an 101 * The nominal time programmed by the PUTIME[4:0] register bits is given by: 103 * If a power-up time is not required, set the bits to '0' to effectively bypass. 108 * Acquisition Time according to ACQTIME[4:0] register bits. [all …]
|
/linux/Documentation/arch/x86/ |
H A D | pti.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 To mitigate this class of attacks, we create an independent set of 27 This approach helps to ensure that side-channel attacks leveraging 30 time. Once enabled at compile-time, it can be disabled at boot with 31 the 'nopti' or 'pti=' kernel parameters (see kernel-parameters.txt). 37 The first set is very similar to the single set which is present in 43 that any missed kernel->user CR3 switch will immediately crash 49 each CPU's copy of the area a compile-time-fixed virtual address. 58 layers of the page tables. This leaves a single, shared set of 59 userspace page tables to manage. One PTE to lock, one set of [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 23 time introduces a new set of challenges because it introduces a multiplexed 24 division of time beyond the control of the guest CPU. 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- [all …]
|
/linux/include/ufs/ |
H A D | ufshcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 16 #include <linux/blk-crypto-profile.h> 17 #include <linux/blk-mq.h> 19 #include <linux/fault-inject.h> 23 #include <linux/dma-direction.h> 68 * struct uic_command - UIC command structure 92 /* Host <-> Device UniPro Link state */ 100 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) [all …]
|
/linux/drivers/powercap/ |
H A D | idle_inject.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * states for a specified fraction of time over a specified period. 13 * All of the kthreads used for idle injection are created at init time. 25 * After all of them have been woken up, a timer is set to start the next idle 34 * It is up to the user of this framework to provide a lock for higher-level 51 * struct idle_inject_thread - task on/off switch structure 61 * struct idle_inject_device - idle injection data 63 * @idle_duration_us: duration of CPU idle time to inject 64 * @run_duration_us: duration of CPU run time to allow 74 * Actual CPU idle time is injected by calling kernel scheduler interface [all …]
|
/linux/Documentation/admin-guide/cifs/ |
H A D | usage.rst | 18 MS-SMB2 (for detailed SMB2/SMB3/SMB3.1.1 protocol specification) 36 (e.g. /usr/src/linux-2.5.73) 48 the modules directory e.g. /lib/modules/6.3.0-060300-generic/kernel/fs/smb/client/cifs.ko). 57 required, mount.cifs is recommended. Most distros include a ``cifs-utils`` 63 found at cifs-utils.git on git.samba.org 72 at module initialization time (by running insmod cifs.ko) can be seen. 122 mounts, unless umount is invoked with -i (which will avoid invoking a umount 125 allow adding entries to a file to the /etc/permissions file to achieve the 166 disabled on a per-mount basis by specifying ``nouser_xattr`` on mount. 168 The CIFS client can get and set POSIX ACLs (getfacl, setfacl) to Samba servers [all …]
|
/linux/net/sched/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 example if some of your network devices are real time devices that 25 To administer these schedulers, you'll need the user-level utilities 54 in-depth articles. 74 Say Y here if you want to use an n-band priority queue packet 81 tristate "Hardware Multiqueue-aware Multi Band Queuing (MULTIQ)" 83 Say Y here if you want to use an n-band queue packet scheduler 173 tristate "Time Aware Priority (taprio) Scheduler" 176 Say Y here if you want to use the Time Aware Priority (taprio) packet 199 re-ordering. This is often useful to simulate networks when [all …]
|