Pmscalls.cpp File Reference

MASK_RWUSR

setgid(gid_t)

EXPORT_C int setgid ( gid_t gid )

Parameters

gid_t gid

getegid(void)

EXPORT_C gid_t getegid ( void )

Parameters

void

setegid(gid_t)

EXPORT_C int setegid ( gid_t gid )

Parameters

gid_t gid

setregid(gid_t, gid_t)

EXPORT_C int setregid ( gid_t rgid,
gid_t egid
)

Parameters

gid_t rgid
gid_t egid

getgid(void)

EXPORT_C gid_t getgid ( void )

Parameters

void

getuid(void)

EXPORT_C uid_t getuid ( void )

Parameters

void

setuid(uid_t)

EXPORT_C int setuid ( uid_t uid )

Parameters

uid_t uid

geteuid(void)

EXPORT_C uid_t geteuid ( void )

Parameters

void

seteuid(uid_t)

EXPORT_C int seteuid ( uid_t uid )

Parameters

uid_t uid

setreuid(uid_t, uid_t)

EXPORT_C int setreuid ( uid_t ruid,
uid_t euid
)

Parameters

uid_t ruid
uid_t euid

getpgid(pid_t)

EXPORT_C pid_t getpgid ( pid_t pid )

Parameters

pid_t pid

setpgid(pid_t, pid_t)

EXPORT_C pid_t setpgid ( pid_t pid,
pid_t pgid
)

Parameters

pid_t pid
pid_t pgid

getpgrp(void)

EXPORT_C pid_t getpgrp ( void )

Parameters

void

setpgrp(pid_t, pid_t)

EXPORT_C int setpgrp ( pid_t _pid,
pid_t _pgrp
)

Parameters

pid_t _pid
pid_t _pgrp

getgroups(int, gid_t)

EXPORT_C int getgroups ( int size,
gid_t grouplist
)

Parameters

int size
gid_t grouplist

setsid(void)

EXPORT_C pid_t setsid ( void )

Parameters

void

getppid(void)

EXPORT_C pid_t getppid ( void )

Parameters

void

umask(mode_t)

EXPORT_C mode_t umask ( mode_t cmask )

Parameters

mode_t cmask

chown(const char *, uid_t, gid_t)

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

Parameters

const char * path
uid_t owner
gid_t group

lchown(const char *, uid_t, gid_t)

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

Parameters

const char * path
uid_t owner
gid_t group

initgroups(const char *, gid_t)

EXPORT_C int initgroups ( const char * ,
gid_t
)

Parameters

const char *
gid_t

sched_yield(void)

EXPORT_C int sched_yield ( void )

Parameters

void

sched_get_priority_max(int)

EXPORT_C int sched_get_priority_max ( int )

Parameters

int

sched_get_priority_min(int)

EXPORT_C int sched_get_priority_min ( int )

Parameters

int

brk(const void *)

EXPORT_C int brk ( const void * )

Parameters

const void *