Content-type: text/html
sia_chdir - Interface to the chdir system call - SIA (Security Integration Architecture)
Standard C library (libc.so and libc.a)
#include <siad.h>
int sia_chdir(
const char * directory,
time_t timelimit);
The sia_chdir() routine implements a "NFS-safe" way to change the current working directory. This routine calls the chdir() system call which is protected by alarm() and signal-handling for SIGALRM, SIGHUP, SIGINT, SIGQUIT, and SIGTERM. Receipt of any of these signals causes the chdir() operation to fail. If the chdir call completes within the time limit given, the call succeeds.
The sia_chdir() routine returns SIASUCCESS or SIAFAIL.
The errno value is not (normally) set explicitly by sia_* routines. The errno values are those returned from the dynamic loader interface, from dependent (siad_*) routines, or from malloc. Possible errors include resource constraints (no memory) and various authentication failures.
/etc/passwd
chdir(2)
Security delim off