diff for duplicates of <1496642698.2998.104.camel@linux.vnet.ibm.com> diff --git a/a/1.txt b/N1/1.txt index e006f04..25200f2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,13 +18,13 @@ On Tue, 2017-05-16 at 14:53 +0200, Roberto Sassu wrote: > without taking ima_extend_list_mutex, because there might have been a list > add between the two read operations. -Please correct me if I'm wrong. ?Your code walks the measurement list +Please correct me if I'm wrong. Your code walks the measurement list calculating the total number of measurements and the memory size -needed to store in the kexec header. ?Can't there be additional +needed to store in the kexec header. Can't there be additional measurements between the time these values - total number of measurements and memory needed - were calculated and actually saving -the measurements? ?How would that be any different than the problem -you're trying to solve? ?In both cases, the number of measurements +the measurements? How would that be any different than the problem +you're trying to solve? In both cases, the number of measurements might be less than the actual number of measurements. As long as you query the number of measurements before getting the @@ -239,8 +239,3 @@ Mimi > int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp, > int maxfields, struct ima_field_data *fields, int *curfields, > unsigned long *len_mask, int enforce_mask, char *bufname); - --- -To unsubscribe from this list: send the line "unsubscribe linux-security-module" in -the body of a message to majordomo at vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 586bc10..76ac6a1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,12 @@ "ref\020170516125347.10574-1-roberto.sassu@huawei.com\0" "ref\020170516125347.10574-6-roberto.sassu@huawei.com\0" - "From\0zohar@linux.vnet.ibm.com (Mimi Zohar)\0" - "Subject\0[Linux-ima-devel] [PATCH 5/7] ima: add securityfs interface to save a measurements list with kexec header\0" + "From\0Mimi Zohar <zohar@linux.vnet.ibm.com>\0" + "Subject\0Re: [Linux-ima-devel] [PATCH 5/7] ima: add securityfs interface to save a measurements list with kexec header\0" "Date\0Mon, 05 Jun 2017 02:04:58 -0400\0" - "To\0linux-security-module@vger.kernel.org\0" + "To\0Roberto Sassu <roberto.sassu@huawei.com>" + " linux-ima-devel@lists.sourceforge.net\0" + "Cc\0linux-security-module@vger.kernel.org" + " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" "On Tue, 2017-05-16 at 14:53 +0200, Roberto Sassu wrote:\n" @@ -26,13 +29,13 @@ "> without taking ima_extend_list_mutex, because there might have been a list\n" "> add between the two read operations.\n" "\n" - "Please correct me if I'm wrong. ?Your code walks the measurement list\n" + "Please correct me if I'm wrong. \302\240Your code walks the measurement list\n" "calculating the total number of measurements and the memory size\n" - "needed to store in the kexec header. ?Can't there be additional\n" + "needed to store in the kexec header. \302\240Can't there be additional\n" "measurements between the time these values - total number of\n" "measurements and memory needed - were calculated and actually saving\n" - "the measurements? ?How would that be any different than the problem\n" - "you're trying to solve? ?In both cases, the number of measurements\n" + "the measurements? \302\240How would that be any different than the problem\n" + "you're trying to solve? \302\240In both cases, the number of measurements\n" "might be less than the actual number of measurements.\n" "\n" "As long as you query the number of measurements before getting the\n" @@ -246,11 +249,6 @@ "> +\t\t\tunsigned long size);\n" "> int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp,\n" "> \t\t int maxfields, struct ima_field_data *fields, int *curfields,\n" - "> \t\t unsigned long *len_mask, int enforce_mask, char *bufname);\n" - "\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-security-module\" in\n" - "the body of a message to majordomo at vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "> \t\t unsigned long *len_mask, int enforce_mask, char *bufname);" -cf8ac40a45ac99cf001bd0699a2954b99d89946e5991c34199b8052c60e7e313 +a9804d7aae3807873828d7f1f2e693fb5e0cb8a7758e41aead3098fc9caaa82c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.