Searched refs:SID (Results 1 - 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dacls.h95 * Maximum SID size and a type large enough to hold it
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_usi
[all...]
H A Dacls.c70 * null SID (S-1-0-0)
80 static const SID *nullsid = (const SID*)nullsidbytes;
83 * SID for world (S-1-1-0)
93 const SID *worldsid = (const SID*)worldsidbytes;
96 * SID for authenticated user (S-1-5-11)
106 static const SID *authsid = (const SID*)authsidbytes;
109 * SID fo
[all...]
H A Dsecurity.c146 * null SID (S-1-0-0)
149 extern const SID *nullsid;
218 * ntfs_sid_to_mbs_size - determine maximum size for the string of a SID
219 * @sid: [IN] SID for which to determine the maximum string size
222 * store the standard textual representation of the SID pointed to by @sid.
228 int ntfs_sid_to_mbs_size(const SID *sid)
266 * ntfs_sid_to_mbs - convert a SID to a multi byte string
267 * @sid: [IN] SID to convert
268 * @sid_str: [OUT] string in which to return the SID (optional)
271 * Convert the SID pointe
[all...]
H A Dsecurity.h45 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 Dlayout.h536 * COLLATION_NTOFS_SID - Sorting is done according to ascending SID values.
1223 * the SID structure (see below).
1225 typedef enum { /* SID string prefix. */
1241 * Note: The relative identifier (RID) refers to the portion of a SID, which
1242 * identifies a user or group in relation to the authority that issued the SID.
1243 * For example, the universal well-known SID Creator Owner ID (S-1-3-0) is
1355 * union SID_IDENTIFIER_AUTHORITY - A 48-bit value used in the SID structure
1368 * struct SID -
1370 * The SID structure is a variable-length structure used to uniquely identify
1371 * users or groups. SID stand
1400 } __attribute__((__packed__)) SID; typedef in typeref:struct:__anon53
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dsd.c28 SID *sid;
131 * security descriptor, we now have the owner SID.
133 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner));
146 * security descriptor, we have the group SID.
148 sid = (SID*)((char*)sd + le32_to_cpu(sd->group));
176 SID *sid;
371 sid = (SID*)((char*)sd + le32_to_cpu(sd->owner));
384 sid = (SID*)((char*)sd + le32_to_cpu(sd->group));
411 SID *sid;
479 sid = (SID*)((cha
[all...]

Completed in 75 milliseconds