Alexander Leidinger f6018b1434 MFP4 (108673, 110519, 110874):
- Currently LINUX_MAX_COMM_LEN is smaller than MAXCOMLEN, but in case
  this will change we have a buffer overflow. Apply some defensive
  programming to DTRT when this should happen.
- Use copyinstr() instead of copyin where appropriate.
  * Fallback to copyin() in case of ENAMETOOLONG. [1]
  * Use the right source and destination (it was wrong before).
- Use strlcpy instead of strcpy.
- Properly lock the read case (PR_GET_NAME) like the write case.

Reviewed by:	rwatson (except [1])
Suggested by:	rwatson [1]
2006-12-02 14:56:25 +00:00
..
2006-10-28 10:59:59 +00:00
2006-11-18 17:27:39 +00:00
2006-12-02 14:56:25 +00:00
2006-10-28 10:59:59 +00:00
2006-10-15 12:51:43 +00:00
2006-09-23 19:06:54 +00:00