added the QSE_CHROOT() macro
This commit is contained in:
		| @ -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 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user