#include "dce-unistd.h"
#include "utils.h"
#include "process.h"
#include "ns3/log.h"
#include "ns3/assert.h"
#include <errno.h>
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") |
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().
int dce_euidaccess | ( | const char * | pathname, |
int | mode | ||
) |
Definition at line 42 of file dce-credentials.cc.
References ns3::UtilsGetRealFilePath().
gid_t dce_getegid | ( | void | ) |
Definition at line 24 of file dce-credentials.cc.
References ns3::Current(), ns3::Process::egid, and ns3::Thread::process.
gid_t dce_getgid | ( | void | ) |
Definition at line 15 of file dce-credentials.cc.
References ns3::Current(), ns3::Thread::process, and ns3::Process::rgid.
pid_t dce_getpgrp | ( | void | ) |
Definition at line 33 of file dce-credentials.cc.
References ns3::Current(), ns3::Process::pgid, and ns3::Thread::process.
int dce_initgroups | ( | const char * | user, |
gid_t | group | ||
) |
Definition at line 62 of file dce-credentials.cc.
NS_LOG_COMPONENT_DEFINE | ( | "DceCredentials" | ) |