kib 2fc806f00c In linprocfs_doargv():
- handle compat32 processes;
- remove the checks for copied in addresses to belong into valid
  usermode range, proc_rwmem() does this;
- simplify loop reading single string, limit the total amount of strings
  collected by ARG_MAX bytes;
- correctly add '\0' at the end of each copied string;
- fix style.

In linprocfs_doprocenviron():
- unlock the process before calling copyin code [1]. The process is held
  by pseudofs.

In linprocfs_doproccmdline:
- use linprocfs_doargv() to handle !curproc case for which p_args is not cached.

Reported by:		plulnet [1]
Tested by:		pluknet
Approved by:		des (linprocfs maintainer, previous
				version of the patch)
MFC after:		3 weeks
2010-09-28 11:32:17 +00:00
..
2010-09-27 09:42:31 +00:00
2010-09-28 11:32:17 +00:00
2010-09-28 03:24:53 +00:00
2010-09-25 10:32:52 +00:00
2010-07-12 10:18:10 +00:00
2010-09-28 03:24:53 +00:00
2010-09-27 19:36:15 +00:00
2010-08-02 22:26:08 +00:00
2010-09-23 11:52:32 +00:00
2010-09-28 03:24:53 +00:00
2010-09-17 09:14:40 +00:00