diff for duplicates of <87y50fuei5.fsf@rustcorp.com.au> diff --git a/a/1.txt b/N1/1.txt index b747b00..496bee1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -85,7 +85,7 @@ Kees Cook <keescook@chromium.org> writes: >> >> + /* Force zero-based range special symbols into being absolute. */ >> + i = symbol_in_range(s, abs_ranges, ARRAY_SIZE(abs_ranges)); ->> + if (i >= 0 && abs_ranges[i].start = 0) +>> + if (i >= 0 && abs_ranges[i].start == 0) >> + s->force_absolute = 1; > > Rusty, is this 0-detection workable for you? If so, should you or akpm @@ -185,11 +185,11 @@ index 3c6224728960..21013e739773 100644 if (argc >= 2) { @@ -663,6 +683,8 @@ int main(int argc, char **argv) for (i = 1; i < argc; i++) { - if(strcmp(argv[i], "--all-symbols") = 0) + if(strcmp(argv[i], "--all-symbols") == 0) all_symbols = 1; -+ else if (strcmp(argv[i], "--absolute-percpu") = 0) ++ else if (strcmp(argv[i], "--absolute-percpu") == 0) + absolute_percpu = 1; - else if (strncmp(argv[i], "--symbol-prefix=", 16) = 0) { + else if (strncmp(argv[i], "--symbol-prefix=", 16) == 0) { char *p = &argv[i][16]; /* skip quote */ @@ -679,6 +701,8 @@ int main(int argc, char **argv) diff --git a/a/content_digest b/N1/content_digest index a6152ba..9d3a719 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,13 +3,13 @@ "ref\0CAGXu5j+QoHH004usCiCfJU6DPQFnQ2gt3P4GDLS7Gx8Tz_gK+A@mail.gmail.com\0" "From\0Rusty Russell <rusty@rustcorp.com.au>\0" "Subject\0Re: [PATCH v2 2/2] kallsyms: handle special absolute symbols\0" - "Date\0Thu, 13 Mar 2014 00:42:10 +0000\0" + "Date\0Thu, 13 Mar 2014 11:00:10 +1030\0" "To\0Kees Cook <keescook@chromium.org>\0" "Cc\0Linus Torvalds <torvalds@linux-foundation.org>" Andrew Morton <akpm@linux-foundation.org> Andrew Honig <ahonig@google.com> Michal Marek <mmarek@suse.cz> - x86@kernel.org <x86@kernel.org> + " x86\\@kernel.org <x86@kernel.org>" Tejun Heo <tj@kernel.org> Tony Luck <tony.luck@intel.com> Fenghua Yu <fenghua.yu@intel.com> @@ -105,7 +105,7 @@ ">>\n" ">> + /* Force zero-based range special symbols into being absolute. */\n" ">> + i = symbol_in_range(s, abs_ranges, ARRAY_SIZE(abs_ranges));\n" - ">> + if (i >= 0 && abs_ranges[i].start = 0)\n" + ">> + if (i >= 0 && abs_ranges[i].start == 0)\n" ">> + s->force_absolute = 1;\n" ">\n" "> Rusty, is this 0-detection workable for you? If so, should you or akpm\n" @@ -205,11 +205,11 @@ " \tif (argc >= 2) {\n" "@@ -663,6 +683,8 @@ int main(int argc, char **argv)\n" " \t\tfor (i = 1; i < argc; i++) {\n" - " \t\t\tif(strcmp(argv[i], \"--all-symbols\") = 0)\n" + " \t\t\tif(strcmp(argv[i], \"--all-symbols\") == 0)\n" " \t\t\t\tall_symbols = 1;\n" - "+\t\t\telse if (strcmp(argv[i], \"--absolute-percpu\") = 0)\n" + "+\t\t\telse if (strcmp(argv[i], \"--absolute-percpu\") == 0)\n" "+\t\t\t\tabsolute_percpu = 1;\n" - " \t\t\telse if (strncmp(argv[i], \"--symbol-prefix=\", 16) = 0) {\n" + " \t\t\telse if (strncmp(argv[i], \"--symbol-prefix=\", 16) == 0) {\n" " \t\t\t\tchar *p = &argv[i][16];\n" " \t\t\t\t/* skip quote */\n" "@@ -679,6 +701,8 @@ int main(int argc, char **argv)\n" @@ -236,4 +236,4 @@ " \tlocal aflags=\"${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL} \\\n" " \t\t ${NOSTDINC_FLAGS} ${LINUXINCLUDE} ${KBUILD_CPPFLAGS}\"" -d02e5896bddcfbcc9633c1482ad989bddd52b84056e7bf52688f196ed5b797d0 +5cc978cd419b073abd355a9a5215ece0aa1a001ee8f57d0faa20f987a87a377d
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.