/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
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 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 29 - arm,pl180 30 - arm,pl181 31 - arm,pl18x [all …]
|
/openbmc/linux/scripts/ |
H A D | Kbuild.include | 1 # SPDX-License-Identifier: GPL-2.0 11 space_escape := _-_SPACE_-_ 20 # Usage: $(call test-lt, $(CONFIG_LLD_VERSION), 150000) 25 test-ge = $(intcmp $(strip $1)0, $(strip $2)0,,y,y) 26 test-gt = $(intcmp $(strip $1)0, $(strip $2)0,,,y) 28 test-ge = $(shell test $(strip $1)0 -ge $(strip $2)0 && echo y) 29 test-gt = $(shell test $(strip $1)0 -gt $(strip $2)0 && echo y) 31 test-le = $(call test-ge, $2, $1) 32 test-lt = $(call test-gt, $2, $1) 36 dot-target = $(dir $@).$(notdir $@) [all …]
|
H A D | Makefile.modinst | 1 # SPDX-License-Identifier: GPL-2.0 12 install-y := 14 ifeq ($(KBUILD_EXTMOD)$(sign-only),) 17 $(shell rm -fr $(MODLIB)/kernel $(MODLIB)/build) 19 install-$(CONFIG_MODULES) += $(addprefix $(MODLIB)/, build modules.order) 22 $(call cmd,symlink) 25 cmd_symlink = ln -s $(CURDIR) $@ 28 $(call cmd,install_modorder) 34 install-y += $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo) 37 $(call cmd,install) [all …]
|
H A D | leaking_addresses.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 7 # - Scans dmesg output. 8 # - Walks directory tree and parses each file (for each directory in @DIRS). 10 # Use --debug to output path before parsing, this is useful to find files that 41 # Kernel addresses vary by architecture. We can only auto-detect the following 42 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 55 my $opt_32bit = 0; # Scan 32-bit kernel. 56 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. 61 '/proc/device-tree', 91 -o, --output-raw=<file> Save results for future processing. [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | gpg_sign.py | 4 # SPDX-License-Identifier: GPL-2.0-only 21 self.gpg_agent_bin = bb.utils.which(os.getenv('PATH'), "gpg-agent") 26 self.gpg_cmd += ["--agent-program=%s|--auto-expand-secmem" % (self.gpg_agent_bin)] 34 …cmd = self.gpg_cmd + ["--no-permission-warning", "--batch", "--yes", "--export", "-o", output_file] 36 cmd += ["--homedir", self.gpg_path] 38 cmd += ["--armor"] 39 cmd += [keyid] 40 subprocess.check_output(cmd, stderr=subprocess.STDOUT) 45 cmd = self.rpm_bin + " --addsign --define '_gpg_name %s' " % keyid 46 …gpg_args = '--no-permission-warning --batch --passphrase=%s --agent-program=%s|--auto-expand-secme… [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <subcmd/parse-options.h> 39 * OK - session is up and running 40 * RECONFIG - session is pending for reconfiguration, 42 * KILL - session is pending to be killed 48 * - reads config file and setup session objects 51 * OK - no change needed 52 * RECONFIG - session needs to be changed 54 * KILL - session needs to be killed 58 * - scans session objects and does following actions [all …]
|
/openbmc/linux/arch/arm/boot/dts/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-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [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-ab8500.dtsi" 9 #include "ste-href-family-pinctrl.dtsi" 13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 21 compatible = "simple-battery"; 22 battery-type = "lithium-ion-polymer"; 25 thermal-zones { [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-parent = <&vica>; 23 cache-unified; 24 cache-level = <2>; [all …]
|
H A D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | stm32mp15xx-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include "stm32mp15-pinctrl.dtsi" 7 #include "stm32mp15xxaa-pinctrl.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/mfd/st,stpmic1.h> 24 reserved-memory { 25 #address-cells = <1>; 26 #size-cells = <1>; 30 compatible = "shared-dma-pool"; [all …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/test/ |
H A D | utest.cpp | 50 auto version = "test-version"; in TEST_F() 87 auto version = "test-version"; in TEST_F() 104 auto releasePath = _directory + "/" + "os-release"; in TEST_F() 105 auto version = "1.2.3-test-version"; in TEST_F() 119 auto releasePath = _directory + "/" + "os-release"; in TEST_F() 120 auto version = "9.88.1-test-version"; in TEST_F() 135 auto version = "test-id"; in TEST_F() 158 auto releasePath = _directory + "/" + "os-release"; in TEST_F() 159 auto ExtendedVersion = "9.88.1-test-ExtendedVersion"; in TEST_F() 174 static constexpr auto opensslCmd = "openssl dgst -sha256 -sign "; [all …]
|
/openbmc/linux/include/linux/ |
H A D | lsm_hook_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com> 12 * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com> 60 LSM_HOOK(int, -ENOPARAM, fs_context_parse_param, struct fs_context *fc, 84 LSM_HOOK(int, -EOPNOTSUPP, dentry_init_security, struct dentry *dentry, 91 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry) 92 LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry, 94 LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry) 95 LSM_HOOK(int, 0, path_mknod, const struct path *dir, struct dentry *dentry, 98 LSM_HOOK(int, 0, path_symlink, const struct path *dir, struct dentry *dentry, [all …]
|
H A D | security.h | 5 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com> 93 * reason are not guaranteed to be stable - the same reason may block 220 /* bprm->unsafe reasons */ 335 int security_inode_init_security(struct inode *inode, struct inode *dir, 341 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode); 342 int security_inode_link(struct dentry *old_dentry, struct inode *dir, 344 int security_inode_unlink(struct inode *dir, struct dentry *dentry); 345 int security_inode_symlink(struct inode *dir, struct dentry *dentry, 347 int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode); 348 int security_inode_rmdir(struct inode *dir, struct dentry *dentry); [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 15 #include <linux/blk-integrity.h> 25 #include <linux/nvme-rdma.h> 161 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx() 167 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue() 168 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue() 173 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size() 177 size_t capsule_size, enum dma_data_direction dir) in nvme_rdma_free_qe() argument [all …]
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | sstate.bbclass | 4 # SPDX-License-Identifier: MIT 11 SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control" 12 SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}" 19 limit = 254 - 8 31 …ail = (limit - len(hash + "_" + taskname + extension) - len(components[0]) - len(components[1]) - … 42 SSTATE_PKGSPEC = "sstate:${PN}:${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}:${PV}:${PR}:${SSTATE… 60 # sdk-provides-dummy-nativesdk and nativesdk-buildtools-perl-dummy overlap for different SDKMACHINE 61 …= "${DEPLOY_DIR_RPM}/sdk_provides_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/sdk-provides-dummy-nativesdk/" 62 …ES += "${DEPLOY_DIR_RPM}/buildtools_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/buildtools-dummy-nativesdk/" 63 # target-sdk-provides-dummy overlaps that allarch is disabled when multilib is used [all …]
|
/openbmc/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Nicholas A. Bellinger <nab@linux-iscsi.org> 50 isert_put_response(struct iscsit_conn *conn, struct iscsit_cmd *cmd); 70 return -EINVAL; in isert_sg_tablesize_set() 76 isert_prot_cmd(struct isert_conn *conn, struct se_cmd *cmd) in isert_prot_cmd() argument 78 return (conn->pi_support && in isert_prot_cmd() 79 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd() 88 ib_event_msg(e->event), e->event, isert_conn); in isert_qp_event_callback() 90 switch (e->event) { in isert_qp_event_callback() 92 rdma_notify(isert_conn->cm_id, IB_EVENT_COMM_EST); in isert_qp_event_callback() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/host/mmci.c - ARM PrimeCell MMCI PL180/1 driver 6 * Copyright (C) 2010 ST-Ericsson SA 26 #include <linux/mmc/slot-gpio.h> 33 #include <linux/dma-mapping.h> 47 #define DRIVER_NAME "mmci-pl18x" 373 spin_lock_irqsave(&host->lock, flags); in mmci_card_busy() 374 if (readl(host->base + MMCISTATUS) & host->variant->busy_detect_flag) in mmci_card_busy() 376 spin_unlock_irqrestore(&host->lock, flags); in mmci_card_busy() 390 if (host->cclk < 25000000) in mmci_reg_delay() [all …]
|
/openbmc/linux/security/ |
H A D | security.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 9 * Copyright (C) 2023 Microsoft Corporation <paul@paul-moore.com> 29 #include <linux/backing-dev.h> 35 #define LSM_COUNT (__end_lsm_info - __start_lsm_info) 85 /* Boot-time LSM user choice */ 104 if (!lsm->enabled) in is_enabled() 107 return *lsm->enabled; in is_enabled() 117 * a hard-coded location for storing the default enabled state. in set_enabled() 119 if (!lsm->enabled) { in set_enabled() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/ |
H A D | rdist-6.1.5-cleanup.patch | 1 Upstream-Status: Inappropriate [1] 4 http://vault.centos.org/5.8/os/SRPMS/rdist-6.1.5-44.src.rpm 6 --- rdist-6.1.5/src/gram.y.cleanup 2003-12-17 11:38:16.000000000 +0100 7 +++ rdist-6.1.5/src/gram.y 2003-12-17 11:38:16.000000000 +0100 8 @@ -40,7 +40,7 @@ 12 -#ifndef lint 17 @@ -170,7 +170,7 @@ 20 cmd: INSTALL options opt_namelist ';' { 21 - register struct namelist *nl; 24 $1->sc_options = $2 | options; [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 40 #include <linux/dma-buf.h> 41 #include <linux/dma-resv.h> 63 struct mlx5_ib_dev *dev = to_mdev(pd->device); in set_mkc_access_pd_addr_fields() 72 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_write)) in set_mkc_access_pd_addr_fields() 75 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_read) || in set_mkc_access_pd_addr_fields() 76 (MLX5_CAP_GEN(dev->mdev, in set_mkc_access_pd_addr_fields() 78 pcie_relaxed_ordering_enabled(dev->mdev->pdev))) in set_mkc_access_pd_addr_fields() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | lsm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 174 rules = list_first_entry(&profile->rules, in apparmor_capget() 177 rules->caps.allow); in apparmor_capget() 179 rules->caps.allow); in apparmor_capget() 203 * common_perm - basic common permission check wrapper fn for paths 227 * common_perm_cond - common permission wrapper around inode cond 236 vfsuid_t vfsuid = i_uid_into_vfsuid(mnt_idmap(path->mnt), in common_perm_cond() 237 d_backing_inode(path->dentry)); in common_perm_cond() [all …]
|
/openbmc/linux/Documentation/ |
H A D | conf.py | 1 # -*- coding: utf-8 -*- 4 # sphinx-quickstart on Fri Feb 12 13:51:46 2016. 7 # containing dir. 21 # ------ 23 def have_command(cmd): argument 24 """Search ``cmd`` in the ``PATH`` environment. 29 return shutil.which(cmd) is not None 47 # -- General configuration ------------------------------------------------ 168 #source_encoding = 'utf-8-sig' 210 # command-line options and find it for ourselves. [all …]
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Security-Enhanced Linux (SELinux) security module 13 * Copyright (C) 2003-2008 Red Hat, Inc., James Morris <jmorris@redhat.com> 15 * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. 17 * Copyright (C) 2006, 2007, 2009 Hewlett-Packard Development Company, L.P. 18 * Paul Moore <paul@paul-moore.com> 82 #include <linux/posix-timers.h> 154 * selinux_secmark_enabled - Check to see if SECMARK is currently enabled 171 * selinux_peerlbl_enabled - Check to see if peer labeling is currently enabled 214 tsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security() [all …]
|
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Casey Schaufler <casey@schaufler-ca.com> 11 * Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com> 12 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P. 13 * Paul Moore <paul@paul-moore.com> 57 * SMACK64 - for access control, 58 * SMACK64TRANSMUTE - label initialization, 59 * Not saved on files - SMACK64IPIN and SMACK64IPOUT, 60 * Must be set explicitly - SMACK64EXEC and SMACK64MMAP 71 #define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s} [all …]
|