From owner-freebsd-current@freebsd.org Fri Jun 3 15:57:52 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43381B68159 for ; Fri, 3 Jun 2016 15:57:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F0781B91 for ; Fri, 3 Jun 2016 15:57:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id i127so1660694ita.1 for ; Fri, 03 Jun 2016 08:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=SDQP1VhedifBgRd7WBhw3httGg/WsVtr2iKZv1thtME=; b=wplcgN/0g2oOaqODAojHJkY7pnzWQCWpekQ+8zkq8vy4NKxRLl2cFzY0CjijnPae1j vbkxyrOiPTQiggzKHOxGDwYY59jgl1xLpme6UmP6Le/JteCFoYfdFE7gCS5PcxqyZnY2 8VvU0M+OVK+o+ehOKGU1EUHuRCiizTS1P/QQ7Dc5vc8gYpe8jIP5Z6Iha/hfERZjopIp 71UVfl1gJEY0xtzQGN0K79Ko3mUsyF68fllY5d6Rx3kaI25fPoddOdupbO+aKKRuWbuU ykytOeO1r/0isjM6oKEPNyR+19vfJS07JwtzN6NDki/zGr4lkaLoz8CV+bWLK9+BKVSG gKZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=SDQP1VhedifBgRd7WBhw3httGg/WsVtr2iKZv1thtME=; b=eAUYnmZ4TBYssNXK9l2WYcbufNwKLxuCnOYXFTIwhfSvhCDUol05JC2xpk/2vJk6sP ncbSub63K5qXXimX+83wpPN2MAe4hJ2/Ql4DCkG9VEQCoO+11F5VvDAfVTv6ahiDoWNF b8JIY16vpAh0C9nRGRQDdv3stNXp3oN0YM3DMj4CudknqzZeMcuFyKPPcAy8yNVrdPzc V0fGyPeZgNodcHF/hWX4owltzjh73v1O8p/Cj8AAzWs3roKLNOEMPA9w7OtZhRKhyiu8 Lt7dCu+/c/AF5P6h4moEZgjO3z72i1xcKEgEXmz/64/8Bm1wxZETVq8pea1U6zGpawuL 9rsA== X-Gm-Message-State: ALyK8tJR9jZP2tJxBR9unG7qfj9wjn5UD1xA0JXwT+Cly3YKmiNJ8YSvBTeY2IuIvgnDRD9/0Qq4iiPorTmlXQ== X-Received: by 10.36.81.79 with SMTP id s76mr344565ita.71.1464969471385; Fri, 03 Jun 2016 08:57:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.113.3 with HTTP; Fri, 3 Jun 2016 08:57:50 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Fri, 3 Jun 2016 08:57:50 -0700 Message-ID: Subject: Re: MMap in FreeBSD 11 To: "Kubiak, Patryk" Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 15:57:52 -0000 On 3 June 2016 at 05:34, Kubiak, Patryk wrote: > Hi , > > I have question about mmap and /dev/mem in the FreeBSD 11. We found, that= ours applications does not work correct in the 11 - there is a problem wit= h mapping physical memory via mmap and /dev/mem device - we are receiving "= Permission Denied" error. Is there any important change in the new version,= that prohibits this operation, or it is just a bug in the OS or App? Can you provide any further information? Maybe some example code? -adrian > Regards, > Patryk > -------------------------------------------------------------------- > > Intel Technology Poland sp. z o.o. > ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wy= dzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-= 316 | Kapital zakladowy 200.000 PLN. > > Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresa= ta i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej = wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jaki= ekolwiek > przegladanie lub rozpowszechnianie jest zabronione. > This e-mail and any attachments may contain confidential material for the= sole use of the intended recipient(s). If you are not the intended recipie= nt, please contact the sender and delete all copies; any review or distribu= tion by > others is strictly prohibited. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "