Home
last modified time | relevance | path

Searched full:security (Results 1 – 25 of 1318) sorted by relevance

12345678910>>...53

/Linux-v5.4/drivers/memory/tegra/
Dtegra186.c23 unsigned int security; member
33 .security = 0x004,
40 .security = 0x074,
47 .security = 0x0ac,
54 .security = 0x0b4,
61 .security = 0x0e4,
68 .security = 0x0fc,
75 .security = 0x13c,
82 .security = 0x15c,
89 .security = 0x18c,
[all …]
/Linux-v5.4/Documentation/security/
Dlsm.rst2 Linux Security Modules: General Security Hooks for Linux
16 In March 2001, the National Security Agency (NSA) gave a presentation
17 about Security-Enhanced Linux (SELinux) at the 2.5 Linux Kernel Summit.
20 implemented as its own particular kernel patch. Several other security
25 patch to support its security needs.
28 remarks that described a security framework he would be willing to
30 general framework that would provide a set of security hooks to control
31 operations on kernel objects and a set of opaque security fields in
32 kernel data structures for maintaining security attributes. This
34 desired model of security. Linus also suggested the possibility of
[all …]
/Linux-v5.4/security/
DKconfig3 # Security configuration
6 menu "Security options"
8 source "security/keys/Kconfig"
22 config SECURITY config
23 bool "Enable different security models"
27 This allows you to choose different security modules to be
30 If this option is not selected, the default Linux security
36 depends on SECURITY
44 various security modules (AppArmor, IMA, SafeSetID, TOMOYO, TPM).
49 bool "Socket and Networking Security Hooks"
[all …]
/Linux-v5.4/Documentation/driver-api/nvdimm/
Dsecurity.rst2 NVDIMM Security
9 specification [1], security DSMs are introduced. The spec added the following
10 security DSMs: "get security state", "set passphrase", "disable passphrase",
12 data structure has been added to struct dimm in order to support the security
17 The "security" sysfs attribute is provided in the nvdimm sysfs directory. For
19 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/nmem0/security
21 The "show" attribute of that attribute will display the security state for
23 frozen, and overwrite. If security is not supported, the sysfs attribute
27 in order to support some of the security functionalities:
29 disable <keyid> - disable enabled security and remove key.
[all …]
/Linux-v5.4/include/linux/
Dlsm_hooks.h2 * Linux Security Module interfaces
28 #include <linux/security.h>
33 * union security_list_options - Linux Security Module hook function list
35 * Security hooks for program execution operations.
38 * Save security information in the bprm->security field, typically based
41 * transitions between security domains).
44 * checking to see if @bprm->security is non-NULL. If so, then the hook
45 * may decide either to retain the security information saved earlier or
55 * begin. It allows a check the @bprm->security value which is set in the
63 * Prepare to install the new security attributes of a process being
[all …]
/Linux-v5.4/Documentation/admin-guide/
Dsecurity-bugs.rst3 Security bugs
6 Linux kernel developers take security very seriously. As such, we'd
7 like to know when a security bug is found so that it can be fixed and
8 disclosed as quickly as possible. Please report security bugs to the
9 Linux kernel security team.
14 The Linux kernel security team can be contacted by email at
15 <security@kernel.org>. This is a private list of security officers
19 security team will bring in extra help from area maintainers to
20 understand and fix the security vulnerability.
32 The security list is not a disclosure channel. For that, see Coordination
[all …]
/Linux-v5.4/Documentation/process/
Dembargoed-hardware-issues.rst7 Hardware issues which result in security problems are a different category
8 of security bugs than pure software bugs which only affect the Linux
23 The Linux kernel hardware security team is separate from the regular Linux
24 kernel security team.
26 The team only handles the coordination of embargoed hardware security
27 issues. Reports of pure software security bugs in the Linux kernel are not
29 Linux kernel security team (:ref:`Documentation/admin-guide/
32 The team can be contacted by email at <hardware-security@kernel.org>. This
33 is a private list of security officers who will help you to coordinate an
41 While hardware security issues are often handled by the affected hardware
[all …]
/Linux-v5.4/Documentation/netlabel/
Dlsm_interface.rst2 NetLabel Linux Security Module Interface
12 NetLabel is a mechanism which can set and retrieve security attributes from
15 The NetLabel security module API is defined in 'include/net/netlabel.h' but a
18 NetLabel Security Attributes
22 it uses the concept of security attributes to refer to the packet's security
23 labels. The NetLabel security attributes are defined by the
25 NetLabel subsystem converts the security attributes to and from the correct
28 security attributes into whatever security identifiers are in use for their
44 label and the internal LSM security identifier can be time consuming. The
47 LSM has received a packet, used NetLabel to decode its security attributes,
[all …]
Dintroduction.rst12 NetLabel is a mechanism which can be used by kernel security modules to attach
13 security attributes to outgoing network packets generated from user space
14 applications and read security attributes from incoming network packets. It
16 layer, and the kernel security module API.
22 network packet's security attributes. If any translation between the network
23 security attributes and those on the host are required then the protocol
26 the NetLabel kernel security module API described below.
41 Security Module API
44 The purpose of the NetLabel security module API is to provide a protocol
46 to protocol independence, the security module API is designed to be completely
[all …]
Ddraft-ietf-cipso-ipsecurity-01.txt6 COMMERCIAL IP SECURITY OPTION (CIPSO 2.2)
13 IP Security Option (CIPSO). This draft reflects the version as approved by
35 Currently the Internet Protocol includes two security options. One of
36 these options is the DoD Basic Security Option (BSO) (Type 130) which allows
37 IP datagrams to be labeled with security classifications. This option
38 provides sixteen security classifications and a variable number of handling
39 restrictions. To handle additional security information, such as security
40 categories or compartments, another security option (Type 133) exists and
41 is referred to as the DoD Extended Security Option (ESO). The values for
46 mandatory access controls and multi-level security. These systems are
[all …]
/Linux-v5.4/security/integrity/evm/
DKconfig11 EVM protects a file's security extended attributes against
37 In addition to the original security xattrs (eg. security.selinux,
38 security.SMACK64, security.capability, and security.ima) included
40 Smack xattrs: security.SMACK64EXEC, security.SMACK64TRANSMUTE and
41 security.SMACK64MMAP.
56 /sys/kernel/security/integrity/evm/evm_xattrs.
/Linux-v5.4/Documentation/admin-guide/LSM/
Dindex.rst2 Linux Security Module Usage
5 The Linux Security Module (LSM) framework provides a mechanism for
6 various security checks to be hooked by new kernel extensions. The name
10 ``"security=..."`` kernel command line argument, in the case where multiple
14 (MAC) extensions which provide a comprehensive security policy. Examples
25 A list of the active security modules can be found by reading
26 ``/sys/kernel/security/lsm``. This is a comma separated list, and
32 Process attributes associated with "major" security modules should
34 A security module may maintain a module specific subdirectory there,
36 security module and contains all its special files. The files directly
Dapparmor.rst8 AppArmor is MAC style security extension for the Linux kernel. It implements
19 If AppArmor should be selected as the default security module then set::
26 If AppArmor is not the default security module it can be enabled by passing
27 ``security=apparmor`` on the kernel's command line.
29 If AppArmor is the default security module it can be disabled by passing
30 ``apparmor=0, security=XXXX`` (where ``XXXX`` is valid security module), on the
/Linux-v5.4/security/selinux/
Dxfrm.c3 * NSA Security-Enhanced Linux (SELinux) security module
29 * 3. Testing addition of sk_policy's with security context via setsockopt
33 #include <linux/security.h>
63 * Returns true if the xfrm contains a security blob for SELinux.
67 return selinux_authorizable_ctx(x->security); in selinux_authorizable_xfrm()
71 * Allocates a xfrm_sec_state and populates it using the supplied security
182 if (!xp->security) in selinux_xfrm_state_pol_flow_match()
183 if (x->security) in selinux_xfrm_state_pol_flow_match()
190 if (!x->security) in selinux_xfrm_state_pol_flow_match()
198 state_sid = x->security->ctx_sid; in selinux_xfrm_state_pol_flow_match()
[all …]
/Linux-v5.4/fs/cachefiles/
Dsecurity.c2 /* CacheFiles security management
13 * determine the security context within which we access the cache from within
33 pr_err("Security denies permission to nominate security context: error %d\n", in cachefiles_get_security_ID()
56 pr_err("Security denies permission to make dirs: error %d", in cachefiles_check_cache_dir()
63 pr_err("Security denies permission to create files: error %d", in cachefiles_check_cache_dir()
70 * check the security details of the on-disk cache
71 * - must be called with security override in force
72 * - must return with a security override in force - even in the case of an
92 /* use the cache root dir's security context as the basis with in cachefiles_determine_cache_security()
/Linux-v5.4/include/uapi/linux/
Drxrpc.h33 #define RXRPC_SECURITY_KEY 1 /* [clnt] set client security key */
34 #define RXRPC_SECURITY_KEYRING 2 /* [srvr] set ring of server security keys */
36 #define RXRPC_MIN_SECURITY_LEVEL 4 /* minimum security level */
63 * RxRPC security levels
70 * RxRPC security indices
72 #define RXRPC_SECURITY_NONE 0 /* no security protocol */
102 * Rx kerberos security abort codes
103 * - unfortunately we have no generalised security abort codes to say things
104 * like "unsupported security", so we have to use these instead and hope the
107 #define RXKADINCONSISTENCY 19270400 /* security module structure inconsistent */
[all …]
/Linux-v5.4/Documentation/filesystems/caching/
Dcachefiles.txt21 (*) Security model and SELinux.
23 (*) A note on security.
311 SECURITY MODEL AND SELINUX
314 CacheFiles is implemented to deal properly with the LSM security features of
319 security context that is not appropriate for accessing the cache - either
324 The way CacheFiles works is to temporarily change the security context (fsuid,
325 fsgid and actor security label) that the process acts as - without changing the
326 security context of the process when it the target of an operation performed by
332 (1) Finds the security label attached to the root cache directory and uses
333 that as the security label with which it will create files. By default,
[all …]
/Linux-v5.4/fs/ceph/
DKconfig41 bool "CephFS Security Labels"
42 depends on CEPH_FS && SECURITY
44 Security labels support alternative access control models
45 implemented by security modules like SELinux. This option
46 enables an extended attribute handler for file security
49 If you are not using a security module that requires using
50 extended attributes for file security labels, say N.
/Linux-v5.4/security/tomoyo/
Dsecurityfs_if.c3 * security/tomoyo/securityfs_if.c
8 #include <linux/security.h>
29 * tomoyo_write_self - write() for /sys/kernel/security/tomoyo/self_domain interface.
91 * tomoyo_read_self - read() for /sys/kernel/security/tomoyo/self_domain interface.
118 /* Operations for /sys/kernel/security/tomoyo/self_domain interface. */
125 * tomoyo_open - open() for /sys/kernel/security/tomoyo/ interface.
140 * tomoyo_release - close() for /sys/kernel/security/tomoyo/ interface.
152 * tomoyo_poll - poll() for /sys/kernel/security/tomoyo/ interface.
166 * tomoyo_read - read() for /sys/kernel/security/tomoyo/ interface.
182 * tomoyo_write - write() for /sys/kernel/security/tomoyo/ interface.
[all …]
/Linux-v5.4/net/netfilter/
Dxt_CONNSECMARK.c3 * This module is used to copy security markings from packets
4 * to connections, and restore security markings from connections
24 MODULE_DESCRIPTION("Xtables: target for copying between connection and security mark");
29 * If the packet has a security mark and the connection does not, copy
30 * the security mark from the packet to the connection.
47 * If packet has no security mark, and the connection does, restore the
48 * security mark from the connection to the packet.
89 strcmp(par->table, "security") != 0) { in connsecmark_tg_check()
90 pr_info_ratelimited("only valid in \'mangle\' or \'security\' table, not \'%s\'\n", in connsecmark_tg_check()
/Linux-v5.4/fs/ext2/
DKconfig32 bool "Ext2 Security Labels"
35 Security labels support alternative access control models
36 implemented by security modules like SELinux. This option
37 enables an extended attribute handler for file security
40 If you are not using a security module that requires using
41 extended attributes for file security labels, say N.
/Linux-v5.4/fs/9p/
DKconfig35 bool "9P Security Labels"
38 Security labels support alternative access control models
39 implemented by security modules like SELinux. This option
40 enables an extended attribute handler for file security
43 If you are not using a security module that requires using
44 extended attributes for file security labels, say N.
/Linux-v5.4/fs/jfs/
DKconfig23 bool "JFS Security Labels"
26 Security labels support alternative access control models
27 implemented by security modules like SELinux. This option
28 enables an extended attribute handler for file security
31 If you are not using a security module that requires using
32 extended attributes for file security labels, say N.
/Linux-v5.4/drivers/infiniband/core/
Dsecurity.c33 #include <linux/security.h>
87 ret = security_ib_pkey_access(qp_sec->security, subnet_prefix, pkey); in enforce_qp_pkey_security()
94 ret = security_ib_pkey_access(shared_qp_sec->security, in enforce_qp_pkey_security()
103 /* The caller of this function must hold the QP security
104 * mutex of the QP of the security structure in *pps.
106 * It takes separate ports_pkeys and security structure
108 * or the pps will be for the real QP and security structure
150 /* The caller of this function must hold the QP security
164 * the qp pointer in the security structure is in qp_to_error()
240 /* The caller of this function must hold the QP security
[all …]
/Linux-v5.4/security/selinux/include/
Dobjsec.h3 * NSA Security-Enhanced Linux (SELinux) security module
5 * This file contains the SELinux security data structures for kernel objects.
51 u16 sclass; /* security class of this object */
80 u16 sclass; /* security class of this object */
118 u16 sclass; /* sock security class */
150 return cred->security + selinux_blob_sizes.lbs_cred; in selinux_cred()
169 return msg_msg->security + selinux_blob_sizes.lbs_msg_msg; in selinux_msg_msg()
175 return ipc->security + selinux_blob_sizes.lbs_ipc; in selinux_ipc()
179 * get the subjective security ID of the current task

12345678910>>...53