mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 04:04:31 +08:00
util/mount.fuse.c: compile with linux headers < 3.5 (#798)
PR_SET_NO_NEW_PRIVS was added in linux 3.5 according to prtcl(2) man page https://elixir.bootlin.com/linux/v4.3/source/include/uapi/linux/prctl.h#L174
This commit is contained in:
parent
eb9eb1d8f1
commit
0433b40d17
@ -43,6 +43,10 @@
|
||||
#define SECBIT_NOROOT_LOCKED (issecure_mask(SECURE_NOROOT_LOCKED))
|
||||
#endif
|
||||
#endif
|
||||
/* linux < 3.5 */
|
||||
#ifndef PR_SET_NO_NEW_PRIVS
|
||||
#define PR_SET_NO_NEW_PRIVS 38
|
||||
#endif
|
||||
|
||||
#include "fuse.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user