004-header-backport-GENL_UNS_ADMIN_PERM.patch 532 B

123456789101112131415161718192021
  1. From: Felix Fietkau <nbd@nbd.name>
  2. Date: Sat, 14 May 2016 16:39:35 +0200
  3. Subject: [PATCH] header: backport GENL_UNS_ADMIN_PERM
  4. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  5. ---
  6. create mode 100644 backport-include/uapi/linux/genetlink.h
  7. --- /dev/null
  8. +++ b/backport-include/uapi/linux/genetlink.h
  9. @@ -0,0 +1,10 @@
  10. +#ifndef __COMPAT_UAPI_LINUX_GENETLINK_H
  11. +#define __COMPAT_UAPI_LINUX_GENETLINK_H
  12. +
  13. +#include_next <uapi/linux/genetlink.h>
  14. +
  15. +#ifndef GENL_UNS_ADMIN_PERM
  16. +#define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM
  17. +#endif
  18. +
  19. +#endif