cold-fglrx-3.14-current_euid.patch 422 B

123456789101112131415
  1. --- 14.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-02-23 19:26:52.215995002 +0100
  2. +++ 14.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-02-23 19:27:59.320999596 +0100
  3. @@ -1761,7 +1761,11 @@
  4. #else
  5. #ifdef current_euid
  6. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
  7. + return __kuid_val(current_euid());
  8. +#else
  9. return current_euid();
  10. +#endif
  11. #else
  12. return current->euid;
  13. #endif