Hello, I checkout linux-linaro-tracking yesterday and during the build I had and error on the build of fs/proc/base.c. I join my patch: diff --git a/fs/proc/base.c b/fs/proc/base.c index ba0f834..a171006 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -981,7 +981,7 @@ static int oom_adjust_permission(struct inode *inode, int mask)
p = get_proc_task(inode); if(p) { - uid = task_uid(p); + uid = __kuid_val(task_uid(p)); put_task_struct(p); }
@@ -989,7 +989,7 @@ static int oom_adjust_permission(struct inode *inode, int mask) * System Server (uid == 1000) is granted access to oom_adj of all * android applications (uid > 10000) as and services (uid >= 1000) */ - if (p && (current_fsuid() == 1000) && (uid >= 1000)) { + if (p && (__kuid_val(current_fsuid()) == 1000) && (uid >= 1000)) { if (inode->i_mode >> 6 & mask) { return 0; }