/haiku/headers/private/kernel/ |
H A D | usergroup.h | 32 gid_t _user_getgid(bool effective); 34 status_t _user_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged); 36 ssize_t _user_getgroups(int groupCount, gid_t* groupList); 37 ssize_t _user_setgroups(int groupCount, const gid_t* groupList);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | usergroup.cpp | 39 gid_t 53 gid_t 68 setgid(gid_t gid) 70 return set_errno_if_necessary(_kern_setregid(gid, (gid_t)-1, true)); 82 setegid(gid_t gid) 84 return set_errno_if_necessary(_kern_setregid((gid_t)-1, gid, false)); 96 setregid(gid_t rgid, gid_t egid) 110 getgroups(int groupCount, gid_t groupList[]) 117 setgroups(int groupCount, const gid_t* groupLis [all...] |
H A D | chown.c | 19 gid_t group) 29 if (group != (gid_t)-1) { 42 chown(const char *path, uid_t owner, gid_t group) 49 lchown(const char *path, uid_t owner, gid_t group) 56 fchown(int fd, uid_t owner, gid_t group) 63 fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag)
|
/haiku/headers/posix/ |
H A D | grp.h | 15 gid_t gr_gid; 24 extern struct group *getgrgid(gid_t gid); 26 extern int getgrgid_r(gid_t gid, struct group *group, char *buffer,
|
H A D | pwd.h | 19 gid_t pw_gid;
|
H A D | unistd.h | 391 extern int chown(const char *path, uid_t owner, gid_t group); 392 extern int fchown(int fd, uid_t owner, gid_t group); 393 extern int lchown(const char *path, uid_t owner, gid_t group); 394 extern int fchownat(int fd, const char *path, uid_t owner, gid_t group, 448 extern gid_t getegid(void); 450 extern gid_t getgid(void); 453 extern int setgid(gid_t gid); 455 extern int setegid(gid_t gid); 457 extern int setregid(gid_t rgid, gid_t egi [all...] |
/haiku/headers/posix/sys/ |
H A D | ipc.h | 30 gid_t gid; /* owner's group ID */ 32 gid_t cgid; /* creator's group ID */
|
/haiku/src/system/kernel/ |
H A D | usergroup.cpp | 40 common_setregid(gid_t rgid, gid_t egid, bool setAllIfPrivileged, bool kernel) 48 gid_t ssgid = team->saved_set_gid; 51 if (rgid == (gid_t)-1) { 84 if (egid == (gid_t)-1) { 166 common_getgroups(int groupCount, gid_t* groupList, bool kernel) 172 const gid_t* groups = NULL; 196 memcpy(groupList, groups, actualCount * sizeof(gid_t)); 200 actualCount * sizeof(gid_t)) != B_OK) { 210 common_setgroups(int groupCount, const gid_t* groupLis [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | security.h | 47 gid_t *groups; /* groups which the user is member of */ 57 gid_t gid; 95 gid_t gid; 146 gid_t gid; /* gid of user requesting (not the mounter) */ 232 ntfs_inode *ni, gid_t *pgid, mode_t *pdsetgid); 238 uid_t uid, gid_t gid, ntfs_inode *dir_ni, 242 uid_t uid, gid_t gid, mode_t mode, BOOL isdir); 245 uid_t uid, gid_t gid); 247 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); 250 ntfs_inode *ni, uid_t uid, gid_t gi [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | IdMap.h | 23 gid_t GetGroupId(const char* ownerGroup); 26 char* GetOwnerGroup(gid_t group);
|
H A D | RPCAuth.cpp | 71 gid_t* groups = (gid_t*)malloc(count * sizeof(gid_t));
|
H A D | IdMap.cpp | 47 gid_t 51 return _GetValue<gid_t>(ownerGroup, MsgNameToGID); 63 IdMap::GetOwnerGroup(gid_t group)
|
/haiku/headers/build/host/darwin/ |
H A D | unistd.h | 11 int fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag);
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | PackageNode.h | 52 gid_t GroupID() const { return fGroupID; } 53 void SetGroupID(gid_t id) { fGroupID = id; } 91 gid_t fGroupID;
|
/haiku/headers/os/kernel/ |
H A D | fs_index.h | 19 gid_t gid;
|
/haiku/headers/posix/compat/sys/ |
H A D | stat.h | 24 gid_t st_gid; /* group ID of the owner of this file */
|
/haiku/headers/private/libroot/ |
H A D | user_group.h | 108 gid_t gid, const char* home, const char* shell, const char* realName, 114 gid_t& gid, char*& home, char*& shell, char*& realName); 119 status_t copy_group_to_buffer(const char* name, const char* password, gid_t gid, 125 status_t parse_group_line(char* line, char*& name, char*& password, gid_t& gid,
|
/haiku/headers/build/os/storage/ |
H A D | Statable.h | 33 status_t GetGroup(gid_t *group) const; 34 status_t SetGroup(gid_t group);
|
/haiku/headers/os/storage/ |
H A D | Statable.h | 42 status_t GetGroup(gid_t* group) const; 43 status_t SetGroup(gid_t group);
|
/haiku/src/system/libroot/posix/ |
H A D | grp.cpp | 38 query_group_entry(const char* name, gid_t _gid, struct group *group, 209 getgrgid(gid_t gid) 221 getgrgid_r(gid_t gid, struct group *group, char *buffer, 229 getgrouplist(const char* user, gid_t baseGroup, gid_t* groupList, 273 initgroups(const char* user, gid_t baseGroup) 275 gid_t groups[NGROUPS_MAX + 1];
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | ntfs.h | 53 gid_t gid;
|
/haiku/src/bin/ |
H A D | id.c | 49 gid_t eGID; 50 gid_t rGID; 51 gid_t groupList; 85 gid_t *groups; 89 groups = (gid_t *)malloc(ngroups_max *sizeof(gid_t));
|
/haiku/src/build/libroot/ |
H A D | remapped_functions.h | 37 int _haiku_build_fchown(int fd, uid_t owner, gid_t group); 39 gid_t group, int flag);
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | VolumeManager.h | 60 gid_t fMountGID;
|
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | Node.cpp | 79 gid_t
|