RT-WiFi/backport-include/linux/cred.h
2017-08-31 12:00:57 +02:00

11 lines
244 B
C

#ifndef __BACKPORT_LINUX_CRED_H
#define __BACKPORT_LINUX_CRED_H
#include_next <linux/cred.h>
#include <linux/version.h>
#ifndef current_user_ns
#define current_user_ns() (current->nsproxy->user_ns)
#endif
#endif /* __BACKPORT_LINUX_CRED_H */