Date: Sun, 31 Dec 2006 23:53:34 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 112379 for review Message-ID: <200612312353.kBVNrYYY007010@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112379 Change 112379 by rdivacky@rdivacky_witten on 2006/12/31 23:53:30 Implement SETALL/GETALL IPC primitives. This fixes some LTP testcases. Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_ipc.c#8 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_ipc.c#8 (text+ko) ==== @@ -571,9 +571,13 @@ td->td_retval[0] = seminfo.semmni; return 0; /* No need for __semctl call */ case LINUX_GETALL: - /* FALLTHROUGH */ + cmd = GETALL; + semun.val = args->arg.val; + break; case LINUX_SETALL: - /* FALLTHROUGH */ + cmd = SETALL; + semun.val = args->arg.val; + break; default: linux_msg(td, "ipc type %d is not implemented", args->cmd & ~LINUX_IPC_64);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612312353.kBVNrYYY007010>