From owner-svn-src-head@freebsd.org Fri Aug 25 17:20:17 2017 Return-Path: Delivered-To: svn-src-head@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 686BDDDD163; Fri, 25 Aug 2017 17:20:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) (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 3439C681C1; Fri, 25 Aug 2017 17:20:16 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi0-f42.google.com with SMTP id j144so3964871oib.1; Fri, 25 Aug 2017 10:20:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=yr9LzJ1mUJ5mg6XqkB6hi6thCu5QNUcv23HTBi+axqg=; b=RSQuUE6/t80JGpkqt7hYcCA4qX5Udcrlbg/N0x0Ta1oBRU7IVWOH3v3En5tVroLWlP /C79zx5gxOGG5gpf/6kXSIOmkDcwryHHD8+R2Ys+OhMhba7tJbgcHaGoexj9JHmpFqW7 TaO4g+Kt0IDrU1LUevYSjWl0+gXeS7A7YijBkheFJOPAFf0h6w9Gf6BPcEDDS3qdx4/n Ymbe4+79Ja2UOHKBoiOrS12PmQPIOCo7QSWLK+oS+MIXV4lVT0vDf0AXGgS0OKgQDe0f bXEgB2j8VMnUdVWizyf/1JxdvOJqCgLAHqKKludUXIdXTxMaP6oleZ4Y4QkZ0kNNHeOi rv5A== X-Gm-Message-State: AHYfb5jszLLV/eQCCw/eMbR/KaNBX4rcIh+Kxxd/iSZysnpn8OGzjxcS MQHcEdYWMQW8e/eSJm8= X-Received: by 10.202.95.139 with SMTP id t133mr14562796oib.207.1503681610011; Fri, 25 Aug 2017 10:20:10 -0700 (PDT) Received: from mail-it0-f45.google.com (mail-it0-f45.google.com. [209.85.214.45]) by smtp.gmail.com with ESMTPSA id e206sm6296027oig.50.2017.08.25.10.20.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Aug 2017 10:20:09 -0700 (PDT) Received: by mail-it0-f45.google.com with SMTP id 77so2221417itj.0; Fri, 25 Aug 2017 10:20:09 -0700 (PDT) X-Received: by 10.36.129.138 with SMTP id q132mr155784itd.174.1503681609622; Fri, 25 Aug 2017 10:20:09 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.2.81.131 with HTTP; Fri, 25 Aug 2017 10:20:09 -0700 (PDT) In-Reply-To: References: <201708251531.v7PFVtoZ038242@repo.freebsd.org> From: Conrad Meyer Date: Fri, 25 Aug 2017 10:20:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r322893 - head/bin/dd To: Alan Somers Cc: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2017 17:20:17 -0000 Well, not negative, just large uint64_t numbers that would be negative as off_t (int64_t). E.g., dd if=/dev/kmem bs=1 iseek=0xfffff...foo count=8. I think we would like that to work. I don't recall whether it does or not before this change. Best, Conrad On Fri, Aug 25, 2017 at 10:08 AM, Alan Somers wrote: > Nope. Do you mean negative offsets for the iseek argument? I didn't > know you could do that. > > On Fri, Aug 25, 2017 at 10:59 AM, Conrad Meyer wrote: >> Hi Alan, >> >> By any chance did you test this change with /dev/kmem and kernel >> addresses ("negative" off_t values)? >> >> Thanks, >> Conrad