freebsd-nq/sys/compat
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
..
freebsd32 Regen. 2006-11-11 21:49:08 +00:00
ia32 Move some declaration of 32-bit signal structures into file 2006-10-05 01:56:11 +00:00
linprocfs MFP4: Change 109654 2006-11-27 21:10:55 +00:00
linsysfs Remove the dependency on procfs since it isn't used. 2006-05-11 15:27:58 +00:00
linux MFP4 (108673, 110519, 110874): 2006-12-02 14:56:25 +00:00
ndis while (0); -> while (0) in multi-line macros 2006-08-17 22:50:33 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Regen. 2006-11-11 21:49:08 +00:00