From: Dave Hansen <dave.hansen@intel.com>
To: ecryptfs@vger.kernel.org, Tyler Hicks <tyhicks@canonical.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: ecryptfs log spew from EINTR
Date: Wed, 05 Mar 2014 09:15:28 -0800 [thread overview]
Message-ID: <53175BB0.1020107@intel.com> (raw)
I have a little program that uses mmap() to copy files. Essentially:
addr1 = mmap(fd1);
addr2 = mmap(fd2);
memcpy(addr1, addr2, len);
If these files are on ecryptfs and I interrupt the memcpy() with ^C, I
consistently get this in dmesg:
ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4]
ecryptfs_readpage: Error decrypting page; rc = [-4]
-4 is, of course -EINTR because of the ^C. Should we be suppressing the
message when we see EINTR?
next reply other threads:[~2014-03-05 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 17:15 Dave Hansen [this message]
2014-03-05 17:53 ` ecryptfs log spew from EINTR Tyler Hicks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53175BB0.1020107@intel.com \
--to=dave.hansen@intel.com \
--cc=ecryptfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tyhicks@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox