From owner-p4-projects@FreeBSD.ORG Mon Aug 14 11:57:55 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 91DAD16A4DE; Mon, 14 Aug 2006 11:57:55 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BCDC16A4DA for ; Mon, 14 Aug 2006 11:57:55 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF7EB43D53 for ; Mon, 14 Aug 2006 11:57:54 +0000 (GMT) (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 k7EBvs6I066529 for ; Mon, 14 Aug 2006 11:57:54 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7EBvs9H066526 for perforce@freebsd.org; Mon, 14 Aug 2006 11:57:54 GMT (envelope-from rdivacky@FreeBSD.org) Date: Mon, 14 Aug 2006 11:57:54 GMT Message-Id: <200608141157.k7EBvs9H066526@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 103827 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: Mon, 14 Aug 2006 11:57:55 -0000 http://perforce.freebsd.org/chv.cgi?CH=103827 Change 103827 by rdivacky@rdivacky_witten on 2006/08/14 11:57:26 Remove CLONE_PID checking, this flag doesnt exist in linux anymore. Also remove forgotten defines from linux32_machdep.c. Affected files ... .. //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux.h#3 edit .. //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux32_machdep.c#5 edit .. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux.h#18 edit .. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#46 edit Differences ... ==== //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux.h#3 (text+ko) ==== @@ -832,7 +832,7 @@ #define CLONE_FS 0x200 #define CLONE_FILES 0x400 #define CLONE_SIGHAND 0x800 -#define CLONE_PID 0x1000 /* this flag does not exist in linux */ +#define CLONE_PID 0x1000 /* this flag does not exist in linux anymore */ #define CLONE_PARENT 0x00008000 #define CLONE_THREAD 0x10000 #define CLONE_SETTLS 0x80000 ==== //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux32_machdep.c#5 (text+ko) ==== @@ -473,12 +473,6 @@ return (0); } -#define CLONE_VM 0x100 -#define CLONE_FS 0x200 -#define CLONE_FILES 0x400 -#define CLONE_SIGHAND 0x800 -#define CLONE_PID 0x1000 - int linux_clone(struct thread *td, struct linux_clone_args *args) { @@ -492,8 +486,6 @@ printf(ARGS(clone, "flags %x, stack %x"), (unsigned int)(uintptr_t)args->flags, (unsigned int)(uintptr_t)args->stack); - if (args->flags & CLONE_PID) - printf(LMSG("CLONE_PID not yet supported")); } #endif ==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux.h#18 (text+ko) ==== @@ -795,7 +795,7 @@ #define CLONE_FS 0x200 #define CLONE_FILES 0x400 #define CLONE_SIGHAND 0x800 -#define CLONE_PID 0x1000 /* this flag does not exist in linux */ +#define CLONE_PID 0x1000 /* this flag does not exist in linux anymore */ #define CLONE_PARENT 0x00008000 #define CLONE_THREAD 0x10000 #define CLONE_SETTLS 0x80000 ==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#46 (text+ko) ==== @@ -350,8 +350,6 @@ printf(ARGS(clone, "flags %x, stack %x, parent tid: %x, child tid: %x"), (unsigned int)args->flags, (unsigned int)args->stack, (unsigned int)args->parent_tidptr, (unsigned int)args->child_tidptr); - if (args->flags & CLONE_PID) - printf(LMSG("CLONE_PID not yet supported")); } #endif