|
@@ -1755,9 +1755,9 @@ int pid_getattr(const struct path *path, struct kstat *stat,
|
|
|
|
|
|
generic_fillattr(inode, stat);
|
|
generic_fillattr(inode, stat);
|
|
|
|
|
|
- rcu_read_lock();
|
|
|
|
stat->uid = GLOBAL_ROOT_UID;
|
|
stat->uid = GLOBAL_ROOT_UID;
|
|
stat->gid = GLOBAL_ROOT_GID;
|
|
stat->gid = GLOBAL_ROOT_GID;
|
|
|
|
+ rcu_read_lock();
|
|
task = pid_task(proc_pid(inode), PIDTYPE_PID);
|
|
task = pid_task(proc_pid(inode), PIDTYPE_PID);
|
|
if (task) {
|
|
if (task) {
|
|
if (!has_pid_permissions(pid, task, HIDEPID_INVISIBLE)) {
|
|
if (!has_pid_permissions(pid, task, HIDEPID_INVISIBLE)) {
|