From owner-p4-projects@FreeBSD.ORG Sun Dec 31 23:53:34 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B5F7616A510; Sun, 31 Dec 2006 23:53:34 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84B9416A506 for ; Sun, 31 Dec 2006 23:53:34 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 759BF13C469 for ; Sun, 31 Dec 2006 23:53:34 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBVNrYTF007013 for ; Sun, 31 Dec 2006 23:53:34 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBVNrYYY007010 for perforce@freebsd.org; Sun, 31 Dec 2006 23:53:34 GMT (envelope-from rdivacky@FreeBSD.org) Date: Sun, 31 Dec 2006 23:53:34 GMT Message-Id: <200612312353.kBVNrYYY007010@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rdivacky@FreeBSD.org using -f From: Roman Divacky To: Perforce Change Reviews Cc: Subject: PERFORCE change 112379 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2006 23:53:35 -0000 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);