Check FreeBSD upstream changes and apply important patches.

* sysv_sem.cc (__semctl): Check copyin return value (from 1.76).
	* sysv_shm.cc (shminit): Actually use the iterating variable in the
	for loop when trying to avoid overflow (from 1.102).
This commit is contained in:
Corinna Vinschen
2006-01-09 15:10:14 +00:00
parent 104fffd24d
commit e3786825c0
4 changed files with 12 additions and 2 deletions

View File

@@ -28,6 +28,7 @@
#define __FBSDID(s) const char version[] = (s)
#endif
__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/kern/sysv_msg.c,v 1.52 2003/11/07 04:47:14 rwatson Exp $");
/* CV, 2006-01-09: Inspected upstream up to version 1.60. */
#define _KERNEL 1
#define __BSD_VISIBLE 1