RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions | Variables
userenv.h File Reference

User Environment Support. More...

#include <sys/param.h>
#include <limits.h>
#include <rtems.h>
#include <rtems/fs.h>

Go to the source code of this file.

Data Structures

struct  rtems_user_env_t
 User environment. More...
 

Macros

#define LOGIN_NAME_MAX   9
 
#define rtems_current_user_env   rtems_current_user_env_get()
 
#define rtems_filesystem_current   (rtems_current_user_env->current_directory)
 
#define rtems_filesystem_root   (rtems_current_user_env->root_directory)
 
#define rtems_filesystem_umask   (rtems_current_user_env->umask)
 
#define _POSIX_types_Uid   (rtems_current_user_env->uid)
 
#define _POSIX_types_Gid   (rtems_current_user_env->gid)
 
#define _POSIX_types_Euid   (rtems_current_user_env->euid)
 
#define _POSIX_types_Egid   (rtems_current_user_env->egid)
 
#define _POSIX_types_Getlogin_buffer   (rtems_current_user_env->login_buffer)
 

Typedefs

typedef struct rtems_user_env_t rtems_user_env_t
 

Functions

rtems_user_env_trtems_current_user_env_get (void)
 Fetch the pointer to the current user environment.
 
rtems_status_code rtems_libio_set_private_env (void)
 Creates a private environment.
 
void rtems_libio_use_global_env (void)
 Use the global environment.
 
void rtems_current_user_env_getgroups (void)
 Gets the supplementary group IDs using the current user ID and updates the table of supplementary group IDs in the current user environment.
 

Variables

rtems_user_env_t rtems_global_user_env
 

Detailed Description

User Environment Support.