| /linux/security/landlock/ |
| H A D | task.c | 270 const struct landlock_cred_security *const subject = in hook_unix_stream_connect() local 275 if (!subject) in hook_unix_stream_connect() 281 if (!sock_is_scoped(other, subject->domain)) in hook_unix_stream_connect() 284 landlock_log_denial(subject, &(struct landlock_request) { in hook_unix_stream_connect() 301 const struct landlock_cred_security *const subject = in hook_unix_may_send() local 305 if (!subject) in hook_unix_may_send() 318 if (!sock_is_scoped(other->sk, subject->domain)) in hook_unix_may_send() 321 landlock_log_denial(subject, &(struct landlock_request) { in hook_unix_may_send() 344 const struct landlock_cred_security *subject; in hook_task_kill() local 362 subject = landlock_get_applicable_subject(cred, signal_scope, in hook_task_kill() [all …]
|
| H A D | fs.c | 952 const struct landlock_cred_security *const subject = in current_check_access_path() local 957 if (!subject) in current_check_access_path() 960 access_request = landlock_init_layer_masks(subject->domain, in current_check_access_path() 963 if (is_access_to_paths_allowed(subject->domain, path, access_request, in current_check_access_path() 968 landlock_log_denial(subject, &request); in current_check_access_path() 1133 const struct landlock_cred_security *const subject = in current_check_refer_path() local 1143 if (!subject) in current_check_refer_path() 1170 subject->domain, in current_check_refer_path() 1173 if (is_access_to_paths_allowed(subject->domain, new_dir, in current_check_refer_path() 1179 landlock_log_denial(subject, &request1); in current_check_refer_path() [all …]
|
| H A D | audit.c | 359 void landlock_log_denial(const struct landlock_cred_security *const subject, in landlock_log_denial() argument 367 if (WARN_ON_ONCE(!subject || !subject->domain || in landlock_log_denial() 368 !subject->domain->hierarchy || !request)) in landlock_log_denial() 378 youngest_layer = get_denied_layer(subject->domain, in landlock_log_denial() 387 get_hierarchy(subject->domain, youngest_layer); in landlock_log_denial() 391 get_hierarchy(subject->domain, youngest_layer); in landlock_log_denial() 409 if (subject->domain_exec & BIT(youngest_layer)) { in landlock_log_denial()
|
| H A D | net.c | 58 const struct landlock_cred_security *const subject = in current_check_access_socket() local 62 if (!subject) in current_check_access_socket() 190 rule = landlock_find_rule(subject->domain, id); in current_check_access_socket() 191 access_request = landlock_init_layer_masks(subject->domain, in current_check_access_socket() 201 landlock_log_denial(subject, in current_check_access_socket()
|
| /linux/scripts/ |
| H A D | git-resolve.sh | 19 local subject="$1" 22 escaped_subject=$(printf '%s\n' "$subject" | sed 's/[[\.*^$()+?{}|]/\\&/g') 40 local subject="" 44 subject="${input#* }" 46 subject="${subject#*(\"}" 47 subject="${subject%\")*}" 66 if [ -n "$subject" ]; then 69 grep_pattern=$(convert_to_grep_pattern "$subject") 76 while read -r hash subject; do 77 if echo "$subject" | grep -qP "$grep_pattern"; then
|
| /linux/security/smack/ |
| H A D | smack_access.c | 117 int smk_access(struct smack_known *subject, struct smack_known *object, in smk_access() argument 129 if (subject == &smack_known_star) { in smk_access() 138 if (object == &smack_known_web || subject == &smack_known_web) in smk_access() 149 if (subject->smk_known == object->smk_known) in smk_access() 159 if (subject == &smack_known_hat) in smk_access() 170 may = smk_access_entry(subject->smk_known, object->smk_known, in smk_access() 171 &subject->smk_rules); in smk_access() 194 if (subject == smack_unconfined) in smk_access() 201 smack_log(subject->smk_known, object->smk_known, in smk_access() 327 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback() [all …]
|
| /linux/Documentation/admin-guide/LSM/ |
| H A D | Smack.rst | 134 This interface reports whether a subject with the specified 142 This interface reports whether a subject with the specified 159 where the first string is the subject label, the second the 162 "rwxat-". If a rule for a given subject and object exists it will be 223 where the first string is the subject label, the second the 238 where the first string is the subject label, the second the 293 For the ``PTRACE_READ`` a subject needs to have a read access on 298 only allowed when subject's and object's labels are equal. 305 revoke-subject 307 rules with that subject label. [all …]
|
| /linux/crypto/asymmetric_keys/ |
| H A D | x509_public_key.c | 175 pr_devel("Cert Subject: %s\n", cert->subject); in x509_key_preparse() 194 sulen = strlen(cert->subject); in x509_key_preparse() 206 p = memcpy(desc, cert->subject, sulen); in x509_key_preparse()
|
| H A D | x509.asn1 | 20 subject Name ({ x509_note_subject }),
|
| /linux/ |
| H A D | COPYING | 20 All contributions to the Linux Kernel are subject to this COPYING file.
|
| /linux/Documentation/security/ |
| H A D | credentials.rst | 52 A subject is an object that is acting upon another object. 65 A subject has an additional interpretation of its credentials. A subset 68 subject acts. 77 Linux has a number of actions available that a subject may perform upon an 78 object. The set of actions available depends on the nature of the subject 86 When a subject acts upon an object, a security calculation is made. This 88 action, and searching one or more sets of rules to see whether the subject 101 is an abbreviated ACL with three fixed classes of subject ('user', 118 subject label, the object label and the action and look for a rule
|
| /linux/Documentation/networking/ |
| H A D | ax25.rst | 15 https://vger.kernel.org. The subject and body of the message are
|
| /linux/Documentation/bpf/ |
| H A D | bpf_devel_QA.rst | 142 following subject lines (``yyyy-mm-dd`` is the date of the pull 153 so please read up on it. The subject line must indicate whether the 157 For fixes eventually landing in bpf -> net tree, the subject must 160 git format-patch --subject-prefix='PATCH bpf' start..finish 163 bpf-next -> net-next, the subject must look like:: 165 git format-patch --subject-prefix='PATCH bpf-next' start..finish 169 problem either if the subject line says net or net-next as target. 179 version number (``v2``, ``v3``, ...) into the subject prefix:: 181 git format-patch --subject-prefix='PATCH bpf-next v2' start..finish 264 be subject to change. [all …]
|
| /linux/LICENSES/deprecated/ |
| H A D | Zlib | 19 commercial applications, and to alter it and redistribute it freely, subject
|
| /linux/arch/arm/boot/dts/arm/ |
| H A D | arm-realview-eb-bbrevd.dts | 9 * furnished to do so, subject to the following conditions:
|
| H A D | arm-realview-eb-a9mp-bbrevd.dts | 9 * furnished to do so, subject to the following conditions:
|
| H A D | arm-realview-eb-11mp-bbrevd.dts | 9 * furnished to do so, subject to the following conditions:
|
| H A D | arm-realview-eb-11mp-bbrevd-ctrevb.dts | 9 * furnished to do so, subject to the following conditions:
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
| H A D | hubgf100.fuc3 | 9 * Software is furnished to do so, subject to the following conditions:
|
| H A D | gpcgk208.fuc5 | 9 * Software is furnished to do so, subject to the following conditions:
|
| H A D | gpcgf117.fuc3 | 9 * Software is furnished to do so, subject to the following conditions:
|
| H A D | gpcgm107.fuc5 | 9 * Software is furnished to do so, subject to the following conditions:
|
| H A D | hubgk104.fuc3 | 9 * Software is furnished to do so, subject to the following conditions:
|
| H A D | gpcgk110.fuc3 | 9 * Software is furnished to do so, subject to the following conditions:
|
| H A D | hubgk110.fuc3 | 9 * Software is furnished to do so, subject to the following conditions:
|