| /linux/tools/testing/selftests/exec/ |
| H A D | binfmt_script.py | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test that truncation of bprm->buf doesn't cause unexpected execs paths, along 33 # test - produce a binfmt_script hashbang line for testing 35 # @size: bytes for bprm->buf line, including hashbang but not newline 54 remaining = size - len(hashbang) - len(leading) - len(root) - len(target) - len(arg) 57 middle += fill * (NAME_MAX - 1) 59 remaining -= NAME_MAX 73 script = "binfmt_script-%s" % (name) 83 print("ok %d - binfmt_script %s (successful good exec)" 87 print("not ok %d - binfmt_script %s succeeded when it should have failed" [all …]
|
| /linux/LICENSES/dual/ |
| H A D | MPL-1.1 | 1 Valid-License-Identifier: MPL-1.1 2 SPDX-URL: https://spdx.org/licenses/MPL-1.1.html 3 Usage-Guide: 4 Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: MPL-1.1 12 License-Text: 17 --------------- 67 Original Code, and which, at the time of its release under this 81 appropriate decompression or de-archiving software is widely available [all …]
|
| H A D | CDDL-1.0 | 1 Valid-License-Identifier: CDDL-1.0 2 SPDX-URL: https://spdx.org/licenses/CDDL-1.0.html 3 Usage-Guide: 4 Do NOT use. The CDDL-1.0 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: ($GPL-COMPATIBLE-ID OR CDDL-1.0) 13 License-Text: 36 makes Original Software available under this License. 59 under the terms of this License. 62 of computer software code that is originally released under [all …]
|
| H A D | copyleft-next-0.3.1 | 1 Valid-License-Identifier: copyleft-next-0.3.1 2 SPDX-URL: https://spdx.org/licenses/copyleft-next-0.3.1 3 Usage-Guide: 4 copyleft-next-0.3.1 is explicitly compatible with GPLv2 (or later) and 7 licensing the code under both licenses expressed by the OR operator. 8 To use the copyleft-next-0.3.1 license put the following SPDX tag/value 11 SPDX-License-Identifier: GPL-2.0-only OR copyleft-next 0.3.1 12 SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 13 License-Text: 17 copyleft-next 0.3.1 ("this License") [all …]
|
| H A D | CC-BY-4.0 | 1 Valid-License-Identifier: CC-BY-4.0 2 SPDX-URL: https://spdx.org/licenses/CC-BY-4.0 3 Usage-Guide: 6 with a GPL2 compatible license using "OR", as CC-BY-4.0 texts processed by 12 SPDX-License-Identifier: CC-BY-4.0 13 License-Text: 21 Creative Commons public licenses does not create a lawyer-client or 23 information available on an "as-is" basis. Creative Commons gives no 24 warranties regarding its licenses, any material licensed under their 47 material not subject to the license. This includes other CC- [all …]
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-hypervisor-xen | 4 Contact: xen-devel@lists.xenproject.org 5 Description: If running under Xen: 13 Contact: xen-devel@lists.xenproject.org 14 Description: If running under Xen: 22 Contact: xen-devel@lists.xenproject.org 23 Description: If running under Xen: 31 Contact: xen-devel@lists.xenproject.org 32 Description: If running under Xen: 34 is in the format: <class>-<major>.<minor>-<arch> 38 <class>: "xen" -- x86: paravirtualized, arm: standard [all …]
|
| /linux/net/bridge/ |
| H A D | br_stp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 .orig_dev = p->dev, in br_set_state() 42 if (p->flags & BR_MRP_AWARE) in br_set_state() 45 p->state = state; in br_set_state() 46 if (br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_set_state() 49 br_warn(p->br, "error setting MST state on port %u(%s)\n", in br_set_state() 50 p->port_no, netdev_name(p->dev)); in br_set_state() 52 err = switchdev_port_attr_set(p->dev, &attr, NULL); in br_set_state() 53 if (err && err != -EOPNOTSUPP) in br_set_state() 54 br_warn(p->br, "error setting offload STP state on port %u(%s)\n", in br_set_state() [all …]
|
| /linux/Documentation/networking/ |
| H A D | netdevices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 -------------- 41 .. code-block:: c 50 return -ENOMEM; 86 Device management under RTNL 87 ---------------------------- 94 Example flow of netdev handling under ``rtnl_lock``: 96 .. code-block:: c 100 dev->needs_free_netdev = true; 105 some_obj_destroy(priv->obj); [all …]
|
| /linux/LICENSES/deprecated/ |
| H A D | GPL-1.0 | 1 Valid-License-Identifier: GPL-1.0+ 2 SPDX-URL: https://spdx.org/licenses/GPL-1.0.html 3 Usage-Guide: 10 SPDX-License-Identifier: GPL-1.0+ 11 License-Text: 27 software--to make sure the software is free for all its users. The 68 distributed under the terms of this General Public License. The 84 it, and copy and distribute such modifications under the terms of Paragraph 93 third parties under the terms of this General Public License (except 102 warranty) and that users may redistribute the program under these [all …]
|
| H A D | GFDL-1.2 | 1 Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later 2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-only 3 Valid-License-Identifier: GFDL-1.2-no-invariants-or-later 4 Valid-License-Identifier: GFDL-1.2-no-invariants-only 5 SPDX-URL: https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.html 6 Usage-Guide: 8 Invariant Sections, Front-Cover Texts or Back-Cover Texts. 13 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later 15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only 17 SPDX-License-Identifier: GFDL-1.2-no-invariants-or-later [all …]
|
| H A D | GFDL-1.1 | 1 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only 3 Valid-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Valid-License-Identifier: GFDL-1.1-no-invariants-only 5 SPDX-URL: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html 6 Usage-Guide: 8 Invariant Sections, Front-Cover Texts or Back-Cover Texts. 11 userspace-api media documentation). 15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 17 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only [all …]
|
| H A D | CC0-1.0 | 1 Valid-License-Identifier: CC0-1.0 2 SPDX-URL: https://spdx.org/licenses/CC0-1.0.html 3 Usage-Guide: 7 SPDX-License-Identifier: CC0-1.0 8 License-Text: 15 ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 16 INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES 44 elects to apply CC0 to the Work and publicly distribute the Work under its 48 1. Copyright and Related Rights. A Work made available under CC0 may be 62 vi. database rights (such as those arising under Directive 96/9/EC of the [all …]
|
| /linux/LICENSES/preferred/ |
| H A D | GPL-2.0 | 1 Valid-License-Identifier: GPL-2.0 2 Valid-License-Identifier: GPL-2.0-only 3 Valid-License-Identifier: GPL-2.0+ 4 Valid-License-Identifier: GPL-2.0-or-later 5 SPDX-URL: https://spdx.org/licenses/GPL-2.0.html 6 Usage-Guide: 11 SPDX-License-Identifier: GPL-2.0 13 SPDX-License-Identifier: GPL-2.0-only 15 SPDX-License-Identifier: GPL-2.0+ 17 SPDX-License-Identifier: GPL-2.0-or-later [all …]
|
| H A D | LGPL-2.1 | 1 Valid-License-Identifier: LGPL-2.1 2 Valid-License-Identifier: LGPL-2.1-only 3 Valid-License-Identifier: LGPL-2.1+ 4 Valid-License-Identifier: LGPL-2.1-or-later 5 SPDX-URL: https://spdx.org/licenses/LGPL-2.1.html 6 Usage-Guide: 11 SPDX-License-Identifier: LGPL-2.1 14 SPDX-License-Identifier: LGPL-2.1+ 15 License-Text: 34 intended to guarantee your freedom to share and change free software--to [all …]
|
| H A D | LGPL-2.0 | 1 Valid-License-Identifier: LGPL-2.0 2 Valid-License-Identifier: LGPL-2.0+ 3 SPDX-URL: https://spdx.org/licenses/LGPL-2.0.html 4 Usage-Guide: 9 SPDX-License-Identifier: LGPL-2.0 12 SPDX-License-Identifier: LGPL-2.0+ 13 License-Text: 31 intended to guarantee your freedom to share and change free software--to 97 However, unrestricted linking of non-free programs would deprive the users 100 developers of non-free programs to use free libraries, while preserving [all …]
|
| /linux/tools/usb/usbip/ |
| H A D | COPYING | 5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 14 software--to make sure the software is free for all its users. This 64 under the terms of this General Public License. The "Program", below, 66 means either the Program or any derivative work under copyright law: 92 distribute such modifications or work under the terms of Section 1 101 parties under the terms of this License. 108 a warranty) and that users may redistribute the program under 131 a storage or distribution medium does not bring the other work under 135 under Section 2) in object code or executable form under the terms of 138 a) Accompany it with the complete corresponding machine-readable [all …]
|
| /linux/arch/x86/xen/ |
| H A D | efi.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <xen/xen-ops.h> 19 #include "xen-ops.h" 33 .con_in_handle = EFI_INVALID_TABLE_ADDR, /* Not used under Xen. */ 34 .con_in = NULL, /* Not used under Xen. */ 35 .con_out_handle = EFI_INVALID_TABLE_ADDR, /* Not used under Xen. */ 36 .con_out = NULL, /* Not used under Xen. */ 37 .stderr_handle = EFI_INVALID_TABLE_ADDR, /* Not used under Xen. */ 38 .stderr = EFI_INVALID_TABLE_ADDR, /* Not used under Xen. */ 40 /* Not used under Xen. */ [all …]
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | memcg_test.rst | 7 Base Kernel Version: based on 2.6.33-rc7-mm(candidate for 34). 13 (*) Topics on API should be in Documentation/admin-guide/cgroup-v1/memory.rst) 29 occurs. swap_cgroup is used only when a charged page is swapped-out. 41 a page/swp_entry may be uncharged (usage -= PAGE_SIZE) by 50 3. charge-commit-cancel 55 - mem_cgroup_try_charge() 56 - mem_cgroup_commit_charge() or mem_cgroup_cancel_charge() 63 At cancel(), simply usage -= PAGE_SIZE. 65 Under below explanation, we assume CONFIG_SWAP=y. 71 - page fault into MAP_ANONYMOUS mapping. [all …]
|
| /linux/Documentation/i2c/ |
| H A D | gpio-fault-injection.rst | 7 which is driven by the I2C bus master driver under test. The GPIO fault 12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually 15 injection. They will be described now along with their intended use-cases. 21 ----- 26 because the bus master under test will not be able to clock. It should detect 31 ----- 36 master under test should detect this condition and trigger a bus recovery (see 56 -------------------------- 63 above, the bus master under test should detect this condition and try a bus 68 ----------------------- [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | topic.h | 9 * Software distributed under the License is distributed on an "AS IS" 12 * limitations under the License. 18 * Alternatively, the contents of this file may be used under the 22 * only under the terms of the GPL and not to allow others to use 23 * your version of this file under the MPL, indicate your decision by 27 * under either the MPL or the GPL. 107 #define TOPIC_PCI_CFG_PPBCN 0x3e /* 16-bit */ 136 socket->socket.zoom_video = topic97_zoom_video; in topic97_override() 151 socket->flags |= YENTA_16BIT_POWER_EXCA | YENTA_16BIT_POWER_DF; in topic95_override() 153 /* Disable write buffers to prevent lockups under load with numerous in topic95_override() [all …]
|
| H A D | vg468.h | 9 * Software distributed under the License is distributed on an "AS IS" 12 * limitations under the License. 18 * Alternatively, the contents of this file may be used under the 22 * only under the terms of the GPL and not to allow others to use 23 * your version of this file under the MPL, indicate your decision by 27 * under either the MPL or the GPL. 72 #define VG468_CTL_TSSI 0x08 /* Tri-state some outputs */ 89 #define VG468_MISC_GPIO 0x04 /* General-purpose IO */
|
| /linux/Documentation/userspace-api/media/ |
| H A D | fdl-appendix.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 .. _fdl-preamble: 37 .. _fdl-section1: 43 .. _fdl-document: 46 placed by the copyright holder saying it can be distributed under the 52 .. _fdl-modified: 59 .. _fdl-secondary: 61 A "Secondary Section" is a named appendix or a front-matter section of 62 the :ref:`Document <fdl-document>` that deals exclusively with the 73 .. _fdl-invariant: [all …]
|
| /linux/Documentation/dev-tools/kunit/ |
| H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 KUnit - Linux Kernel Unit Testing 29 if built-in, or load as a module. KUnit automatically flags and reports 31 :doc:`KTAP (Kernel - Test Anything Protocol) format</dev-tools/ktap>`. 42 KUnit follows the white-box testing approach. The test has access to 44 restricted to things exposed to user-space. 47 that configures the Linux kernel, runs KUnit tests under QEMU or UML 53 -------- 55 - Provides a framework for writing unit tests. 56 - Runs tests on any kernel architecture. [all …]
|
| /linux/tools/testing/selftests/tc-testing/creating-testcases/ |
| H A D | AddingTestCases.txt | 1 tdc - Adding test cases for tdc 3 Author: Lucas Bates - lucasb@mojatatu.com 6 ----------------- 8 User-defined tests should be added by defining a separate JSON file. This 12 Include the 'id' field, but do not assign a value. Running tdc with the -i 15 tdc will recursively search the 'tc-tests' subdirectory (or the 16 directories named with the -D option) for .json files. Any test case 19 tdc with the -f argument and the path to your file, or the -D argument 22 Be aware of required escape characters in the JSON data - particularly 30 ------------------- [all …]
|
| /linux/Documentation/iio/ |
| H A D | iio_configfs.rst | 8 Configfs is a filesystem-based manager of kernel objects. IIO uses some 21 Then, mount the configfs filesystem (usually under /config directory):: 24 $ mount -t configfs none /config 27 under /config/iio. Next chapters will describe available IIO configuration 35 under /config/iio/triggers. 42 * drivers/iio/trigger/iio-trig-sample.c 69 .name = "trig-sample", 76 Each trigger type has its own directory under /config/iio/triggers. Loading 77 iio-trig-sample module will create 'trig-sample' trigger type directory 78 /config/iio/triggers/trig-sample. [all …]
|