posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
POSIX_USER_GROUPS

POSIX User and Group option group (placeholder). More...

Functions

gid_t getegid (void)
 Get the effective group ID of the calling process.
 
uid_t geteuid (void)
 Get the effective user ID of the calling process.
 
gid_t getgid (void)
 Get the real group ID of the calling process.
 
int getgroups (int gidsetsize, gid_t grouplist[])
 Get the supplementary group IDs of the calling process.
 
char * getlogin (void)
 Get the login name of the user.
 
uid_t getuid (void)
 Get the real user ID of the calling process.
 
int setegid (gid_t gid)
 Set the effective group ID of the calling process.
 
int seteuid (uid_t uid)
 Set the effective user ID of the calling process.
 
int setgid (gid_t gid)
 Set the real group ID of the calling process.
 
int setuid (uid_t uid)
 Set the real user ID of the calling process.
 

Detailed Description

POSIX User and Group option group (placeholder).

See also
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html

Function Documentation

◆ getegid()

gid_t getegid ( void  )

Get the effective group ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/getegid.html

◆ geteuid()

uid_t geteuid ( void  )

Get the effective user ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/geteuid.html

◆ getgid()

gid_t getgid ( void  )

Get the real group ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/getgid.html

◆ getgroups()

int getgroups ( int  gidsetsize,
gid_t  grouplist[] 
)

Get the supplementary group IDs of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/getgroups.html

◆ getlogin()

char * getlogin ( void  )

◆ getuid()

uid_t getuid ( void  )

Get the real user ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/getuid.html

◆ setegid()

int setegid ( gid_t  gid)

Set the effective group ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setegid.html

◆ seteuid()

int seteuid ( uid_t  uid)

Set the effective user ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/seteuid.html

◆ setgid()

int setgid ( gid_t  gid)

Set the real group ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setgid.html

◆ setuid()

int setuid ( uid_t  uid)

Set the real user ID of the calling process.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setuid.html