From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 16 23:09:43 2010 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C69B8106566B for ; Tue, 16 Nov 2010 23:09:43 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 55AEB8FC0C for ; Tue, 16 Nov 2010 23:09:42 +0000 (UTC) Received: by eyb7 with SMTP id 7so777996eyb.13 for ; Tue, 16 Nov 2010 15:09:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0y6vafYJ/S85q4XexlP8SQo7NPucAxXGmqalMbzCfzE=; b=IDBmW9Rz5htU42L5yv4/MBrWIXuwMGqeUcms28/AwmNCyCu9+CHmNwaFgECg5SIsbV Y8aJX6szq20fEA2WQdgsYY9lyJCKfJEJYCaPe9dKDGfDNhUMcfyQNVcHaJ5lggrWEZV+ HkMzqmAwFlRrihJTswcTEDkinpfmyohJLJj+A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FncvouNUPatdsClEx9smJc+PzxwGbL3O3AG4f2kGiFrsEjwHbwXzOWuZhuOsoMsQ+a lJY0tWwLoIHiwLgEISIsQeLIPlUtMEo4eEE07230eSAvNSoUa1XEwmbeLMwzJlt0+C2l jeEBv6x61TKOxyL1zyFSLrDNUNA6Vnpmq1cG0= MIME-Version: 1.0 Received: by 10.204.65.10 with SMTP id g10mr8307042bki.16.1289947219577; Tue, 16 Nov 2010 14:40:19 -0800 (PST) Received: by 10.204.136.211 with HTTP; Tue, 16 Nov 2010 14:40:19 -0800 (PST) In-Reply-To: <20101115151256.13513f6rcjsjgkqo@webmail.leidinger.net> References: <20101115151256.13513f6rcjsjgkqo@webmail.leidinger.net> Date: Tue, 16 Nov 2010 23:40:19 +0100 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: emulation@freebsd.org Subject: Re: MFC (RELENG_8) testers for a linprocfs patch? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 23:09:43 -0000 On Mon, Nov 15, 2010 at 3:12 PM, Alexander Leidinger wrote: > Hi, > > can someone please test the attached patch on a recent RELENG_8 system? I > got a request to MFC it, but I do not have a RELENG_8 system around to te= st > it (I haven't even compile-tested it). > > The changes are for > =A0/compat/linux/proc/uptime > =A0/compat/linux/proc//stat > =A0/compat/linux/proc//procstatus > > I would like to just to know if it compiles fine and does not panic the > system when you access those files with cat. > > Bye, > Alexander. > > -- > BOFH excuse #139: > > UBNC (user brain not connected) Hi Alexander, I tried your patch on 8.1-RELEASE amd64. Compilation was clean. Before the patch: $ cat /compat/linux/proc/uptime 423.99 775.86 $ cat /compat/linux/proc/$$/stat 1528 (bash) S 1526 1528 1528 0 1565 0 1066 0 1 0 19 19 27 21 128 0 0 0 1614649358 41844736 706 17584 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 3 $ cat /compat/linux/proc/1528/status Name: bash State: S (sleeping) Pid: 1528 PPid: 1526 Uid: 1001 1001 1001 1001 Gid: 1001 1001 1001 1001 Groups: 1001 VmSize: 10216 kB VmLck: 0 kB VmRss: 2824 kB VmData: 420 kB VmStk: 128 kB VmExe: 608 kB VmLib: 9056 kB SigPnd: 00000000 SigBlk: 00000000 SigIgn: 1072c004 SigCgt: 6b883efb CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 After the patch: $ cat /compat/linux/proc/uptime 890.48 825.57 $ cat /compat/linux/proc/$$/stat 1528 (bash) S 1526 1528 1528 123 1636 0 1613 0 1 0 2 3 18 6 128 0 0 0 8358 41844736 706 17584 4194304 5861376 0 0 0 0 0 0 0 0 0 0 0 1 0 3 $ cat /compat/linux/proc/$$/status Name: bash State: S (sleeping) Pid: 1528 PPid: 1526 Uid: 1001 1001 1001 1001 Gid: 1001 1001 1001 1001 Groups: 1001 VmSize: 10216 kB VmLck: 0 kB VmRSS: 2824 kB VmData: 420 kB VmStk: 128 kB VmExe: 608 kB VmLib: 9056 kB SigPnd: 00000000 SigBlk: 00000000 SigIgn: 1072c004 SigCgt: 6b883efb CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 HTH > > http://www.Leidinger.net =A0 =A0Alexander @ Leidinger.net: PGP ID =3D B00= 63FE7 > http://www.FreeBSD.org =A0 =A0 =A0 netchild @ FreeBSD.org =A0: PGP ID =3D= 72077137 > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" > >