Searched refs:SID (Results 1 – 6 of 6) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | acls.h | 120 extern const SID *adminsid; 121 extern const SID *worldsid; 128 BOOL ntfs_valid_pattern(const SID *sid); 129 BOOL ntfs_valid_sid(const SID *sid); 130 BOOL ntfs_same_sid(const SID *first, const SID *second); 132 BOOL ntfs_is_user_sid(const SID *usid); 135 int ntfs_sid_size(const SID * sid); 138 const SID *ntfs_find_usid(const struct MAPPING *usermapping, 139 uid_t uid, SID *pdefsid); 140 const SID *ntfs_find_gsid(const struct MAPPING *groupmapping, [all …]
|
H A D | acls.c | 80 static const SID *nullsid = (const SID*)nullsidbytes; 93 const SID *worldsid = (const SID*)worldsidbytes; 106 static const SID *authsid = (const SID*)authsidbytes; 120 const SID *adminsid = (const SID*)adminsidbytes; 133 static const SID *systemsid = (const SID*)systemsidbytes; 147 static const SID *ownersid = (const SID*)ownersidbytes; 161 static const SID *groupsid = (const SID*)groupsidbytes; 167 int ntfs_sid_size(const SID * sid) in ntfs_sid_size() 176 BOOL ntfs_same_sid(const SID *first, const SID *second) in ntfs_same_sid() 194 static int is_world_sid(const SID * usid) in is_world_sid() [all …]
|
H A D | security.c | 149 extern const SID *nullsid; 228 int ntfs_sid_to_mbs_size(const SID *sid) in ntfs_sid_to_mbs_size() 295 char *ntfs_sid_to_mbs(const SID *sid, char *sid_str, size_t sid_str_size) in ntfs_sid_to_mbs() 2088 const SID *usid; /* owner of file/directory */ in ntfs_get_perm() 2089 const SID *gsid; /* group of file/directory */ in ntfs_get_perm() 2113 gsid = (const SID*)& in ntfs_get_perm() 2126 usid = (const SID*)& in ntfs_get_perm() 2190 const SID *usid; /* owner of file/directory */ in ntfs_get_posix_acl() 2191 const SID *gsid; /* group of file/directory */ in ntfs_get_posix_acl() 2213 gsid = (const SID*)& in ntfs_get_posix_acl() [all …]
|
H A D | security.h | 45 SID *sid; /* Windows id : usid or gsid */ 214 extern int ntfs_sid_to_mbs_size(const SID *sid); 215 extern char *ntfs_sid_to_mbs(const SID *sid, char *sid_str, 335 int ntfs_get_user(struct SECURITY_API *scapi, const SID *usid); 336 int ntfs_get_group(struct SECURITY_API *scapi, const SID *gsid);
|
H A D | layout.h | 1400 } __attribute__((__packed__)) SID; typedef 1669 /* 8*/ SID sid; /* The SID associated with the ACE. */ 1694 /* 44*/ SID sid; /* The SID associated with the ACE. */ 1844 SID *owner; /* Points to a SID representing an object's owner. If 1847 SID *group; /* Points to a SID representing an object's primary 2250 SID sid; /* The SID of the user/object associated with 2363 SID sid; /* $O index in FILE_Extend/$Quota:
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | sd.c | 28 SID *sid; in init_system_file_sd() 133 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); in init_system_file_sd() 148 sid = (SID*)((char*)sd + le32_to_cpu(sd->group)); in init_system_file_sd() 176 SID *sid; in init_root_sd() 371 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); in init_root_sd() 384 sid = (SID*)((char*)sd + le32_to_cpu(sd->group)); in init_root_sd() 411 SID *sid; in init_secure_sds() 479 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); in init_secure_sds() 494 sid = (SID*)((char*)sd + le32_to_cpu(sd->group)); in init_secure_sds() 575 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner)); in init_secure_sds() [all …]
|