/security/keys/ |
D | permission.c | 50 if (key->gid != -1 && key->perm & KEY_GRP_ALL) { in key_task_permission() 51 if (key->gid == cred->fsgid) { in key_task_permission() 56 ret = groups_search(cred->group_info, key->gid); in key_task_permission()
|
D | process_keys.c | 131 keyring = keyring_alloc("_tid", new->uid, new->gid, new, in install_thread_keyring_to_cred() 177 keyring = keyring_alloc("_pid", new->uid, new->gid, in install_process_keyring_to_cred() 236 keyring = keyring_alloc("_ses", cred->uid, cred->gid, in install_session_keyring_to_cred() 305 tsk->cred->thread_keyring->gid = tsk->cred->fsgid; in key_fsgid_changed() 800 keyring = keyring_alloc(name, old->uid, old->gid, old, in join_session_keyring() 856 new-> gid = old-> gid; in key_replace_session_keyring()
|
D | keyctl.c | 542 key->gid, in keyctl_describe_key() 738 long keyctl_chown_key(key_serial_t id, uid_t uid, gid_t gid) in keyctl_chown_key() argument 746 if (uid == (uid_t) -1 && gid == (gid_t) -1) in keyctl_chown_key() 769 if (gid != (gid_t) -1 && gid != key->gid && !in_group_p(gid)) in keyctl_chown_key() 818 if (gid != (gid_t) -1) in keyctl_chown_key() 819 key->gid = gid; in keyctl_chown_key() 1476 pcred->gid != mycred->egid || in keyctl_session_to_parent()
|
D | key.c | 232 uid_t uid, gid_t gid, const struct cred *cred, in key_alloc() argument 300 key->gid = gid; in key_alloc()
|
D | proc.c | 257 key->gid, in proc_keys_show()
|
D | keyring.c | 245 struct key *keyring_alloc(const char *description, uid_t uid, gid_t gid, in keyring_alloc() argument 253 uid, gid, cred, in keyring_alloc()
|
/security/tomoyo/ |
D | tomoyo.c | 376 static int tomoyo_path_chown(struct path *path, uid_t uid, gid_t gid) in tomoyo_path_chown() argument 381 if (!error && gid != (gid_t) -1) in tomoyo_path_chown() 382 error = tomoyo_path_number_perm(TOMOYO_TYPE_CHGRP, path, gid); in tomoyo_path_chown()
|
D | audit.c | 194 stat->uid, stat->gid, (unsigned long) in tomoyo_print_header() 201 stat->uid, stat->gid, (unsigned long) in tomoyo_print_header()
|
D | condition.c | 721 stat->gid = inode->i_gid; in tomoyo_get_attributes() 979 value = stat->gid; in tomoyo_condition()
|
D | common.h | 565 gid_t gid; member
|
/security/integrity/evm/ |
D | evm_crypto.c | 102 gid_t gid; in hmac_add_misc() member 110 hmac_misc.gid = inode->i_gid; in hmac_add_misc()
|
/security/ |
D | commoncap.c | 531 new->egid != old->gid || in cap_bprm_set_creds() 538 new->egid = new->gid; in cap_bprm_set_creds() 601 cred->egid != cred->gid); in cap_bprm_secureexec()
|
D | security.c | 453 int security_path_chown(struct path *path, uid_t uid, gid_t gid) in security_path_chown() argument 457 return security_ops->path_chown(path, uid, gid); in security_path_chown()
|
D | capability.c | 307 static int cap_path_chown(struct path *path, uid_t uid, gid_t gid) in cap_path_chown() argument
|
/security/apparmor/ |
D | lsm.c | 355 static int apparmor_path_chown(struct path *path, uid_t uid, gid_t gid) in apparmor_path_chown() argument
|