added the QSE_CHROOT() macro

This commit is contained in:
hyung-hwan 2009-03-05 18:13:41 +00:00
parent 25288e45ad
commit 94ad148625

View File

@ -165,4 +165,9 @@
# define QSE_GETEGID() getegid() # define QSE_GETEGID() getegid()
#endif #endif
#ifdef SYS_chroot
# define QSE_CHROOT(path) syscall(SYS_chroot,path)
#else
# define QSE_cHROOT(path) chroot(path)
#endif
#endif #endif