ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-credentials.cc File Reference
#include "dce-unistd.h"
#include "utils.h"
#include "process.h"
#include "ns3/log.h"
#include "ns3/assert.h"
#include <errno.h>
+ Include dependency graph for dce-credentials.cc:

Go to the source code of this file.

Functions

int dce_chown (const char *path, uid_t owner, gid_t group)
int dce_eaccess (const char *pathname, int mode)
int dce_euidaccess (const char *pathname, int mode)
gid_t dce_getegid (void)
gid_t dce_getgid (void)
pid_t dce_getpgrp (void)
int dce_initgroups (const char *user, gid_t group)
 NS_LOG_COMPONENT_DEFINE ("DceCredentials")

Function Documentation

int dce_chown ( const char *  path,
uid_t  owner,
gid_t  group 
)

Definition at line 56 of file dce-credentials.cc.

int dce_eaccess ( const char *  pathname,
int  mode 
)

Definition at line 49 of file dce-credentials.cc.

References ns3::UtilsGetRealFilePath().

+ Here is the call graph for this function:

int dce_euidaccess ( const char *  pathname,
int  mode 
)

Definition at line 42 of file dce-credentials.cc.

References ns3::UtilsGetRealFilePath().

+ Here is the call graph for this function:

gid_t dce_getegid ( void  )

Definition at line 24 of file dce-credentials.cc.

References ns3::Current(), ns3::Process::egid, and ns3::Thread::process.

+ Here is the call graph for this function:

gid_t dce_getgid ( void  )

Definition at line 15 of file dce-credentials.cc.

References ns3::Current(), ns3::Thread::process, and ns3::Process::rgid.

+ Here is the call graph for this function:

pid_t dce_getpgrp ( void  )

Definition at line 33 of file dce-credentials.cc.

References ns3::Current(), ns3::Process::pgid, and ns3::Thread::process.

+ Here is the call graph for this function:

int dce_initgroups ( const char *  user,
gid_t  group 
)

Definition at line 62 of file dce-credentials.cc.

NS_LOG_COMPONENT_DEFINE ( "DceCredentials"  )