090-remove-cred.patch 395 B

123456789101112131415
  1. This is only needed for kernel < 2.6.29 and conflicts with kernel 4.4.42
  2. --- a/backport-include/linux/cred.h
  3. +++ /dev/null
  4. @@ -1,10 +0,0 @@
  5. -#ifndef __BACKPORT_LINUX_CRED_H
  6. -#define __BACKPORT_LINUX_CRED_H
  7. -#include_next <linux/cred.h>
  8. -#include <linux/version.h>
  9. -
  10. -#ifndef current_user_ns
  11. -#define current_user_ns() (current->nsproxy->user_ns)
  12. -#endif
  13. -
  14. -#endif /* __BACKPORT_LINUX_CRED_H */