Searched refs:gid_t (Results 1 - 25 of 94) sorted by relevance

1234

/haiku/headers/private/kernel/
H A Dusergroup.h32 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 Dusergroup.cpp39 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 Dchown.c19 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 Dgrp.h15 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 Dpwd.h19 gid_t pw_gid;
H A Dunistd.h391 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 Dipc.h30 gid_t gid; /* owner's group ID */
32 gid_t cgid; /* creator's group ID */
/haiku/src/system/kernel/
H A Dusergroup.cpp40 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 Dsecurity.h47 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 DIdMap.h23 gid_t GetGroupId(const char* ownerGroup);
26 char* GetOwnerGroup(gid_t group);
H A DRPCAuth.cpp71 gid_t* groups = (gid_t*)malloc(count * sizeof(gid_t));
H A DIdMap.cpp47 gid_t
51 return _GetValue<gid_t>(ownerGroup, MsgNameToGID);
63 IdMap::GetOwnerGroup(gid_t group)
/haiku/headers/build/host/darwin/
H A Dunistd.h11 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 DPackageNode.h52 gid_t GroupID() const { return fGroupID; }
53 void SetGroupID(gid_t id) { fGroupID = id; }
91 gid_t fGroupID;
/haiku/headers/os/kernel/
H A Dfs_index.h19 gid_t gid;
/haiku/headers/posix/compat/sys/
H A Dstat.h24 gid_t st_gid; /* group ID of the owner of this file */
/haiku/headers/private/libroot/
H A Duser_group.h108 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 DStatable.h33 status_t GetGroup(gid_t *group) const;
34 status_t SetGroup(gid_t group);
/haiku/headers/os/storage/
H A DStatable.h42 status_t GetGroup(gid_t* group) const;
43 status_t SetGroup(gid_t group);
/haiku/src/system/libroot/posix/
H A Dgrp.cpp38 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 Dntfs.h53 gid_t gid;
/haiku/src/bin/
H A Did.c49 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 Dremapped_functions.h37 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 DVolumeManager.h60 gid_t fMountGID;
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DNode.cpp79 gid_t

Completed in 176 milliseconds

1234