patch-2.2.17 linux/fs/proc/array.c
Next file: linux/fs/proc/inode.c
Previous file: linux/fs/ntfs/util.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 4 18:39:27 2000
- Orig file:
v2.2.16/fs/proc/array.c
- Orig date:
Mon Sep 4 18:37:06 2000
diff -u --recursive --new-file v2.2.16/fs/proc/array.c linux/fs/proc/array.c
@@ -1486,7 +1486,7 @@
case PROC_PID_CPU:
return 0;
}
- if(capable(CAP_DAC_OVERRIDE) || (current->fsuid == euid && ok))
+ if((current->fsuid == euid && ok) || capable(CAP_DAC_OVERRIDE))
return 0;
return 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)