Lines Matching refs:user

1130  *	Should not be called for user root, however the group may be root
1139 struct MAPPING *user;
1143 user = scx->mapping[MAPUSERS];
1144 while (user && ((uid_t)user->xid != uid))
1145 user = user->next;
1146 if (user) {
1147 groups = user->groups;
1148 grcnt = user->grcnt;
1161 * Should not be called for user root, however the group may be root
1170 uid_t pr_euid; /* effective user id */
1171 uid_t pr_ruid; /* real user id */
1172 uid_t pr_suid; /* saved user id (from exec) */
1236 * Should not be called for user root, however the group may be root
1402 * a security_id only changes when user mapping is changed, which
1412 * reciprocal for some configuration of the user mapping data
2061 * Takes into account the relation of user to file (owner, group, ...)
2295 * Takes into account the relation of user to file (owner, group, ...)
2692 ntfs_log_error("File created by an unmapped user/group %d/%d\n",
2749 ntfs_log_error("File created by an unmapped user/group %d/%d\n",
2831 ntfs_log_error("File created by an unmapped user/group %d/%d\n",
2936 ntfs_log_error("File made owned by an unmapped user/group %d/%d\n",
3001 * Check whether user has ownership rights on a file
3244 * Checks user mapping has been defined before request for setting
3428 * Check whether user can access a file in a specific way
3430 * Returns 1 if access is allowed, including user is root or no
3431 * user mapping defined
3514 * Check whether user can create a file (or directory)
3566 * Check whether user can access the parent directory
3569 * Returns true if access is allowed, including user is root and
3570 * no user mapping defined
3911 * If there is no user mapping and this is not a root
3912 * user, we have to get owner and group from somewhere,
3915 * rely on a user mapping
4023 * inherited (which is not the case on Windows) if no user mapping
4086 static int link_single_group(struct MAPPING *usermapping, struct passwd *user,
4101 while (*grmem && strcmp(user->pw_name, *grmem))
4139 struct passwd *user;
4147 user = getpwuid(usermapping->xid);
4148 if (user && user->pw_name) {
4152 if (link_single_group(usermapping, user,
4157 user, (gid_t)0))
4165 * Apply default single user mapping
4244 * Try and apply default single user mapping
4276 * Basic read from a user mapping file on another volume
4286 * Read from a user mapping file on current NTFS partition
4296 * Build the user mapping
4298 * - or try default single user mapping if possible
4362 ntfs_log_error("There were no valid user or no valid group\n");
4375 ntfs_log_info("Using default user mapping\n");
4554 * Selective feeding of a security descriptor into user buffer
5220 * Get the mapped user SID
5272 * Get the user mapped to a SID