added the QSE_CHROOT() macro
This commit is contained in:
parent
25288e45ad
commit
94ad148625
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user