diff for duplicates of <20180302200429.GC3888@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 27576cc..0be1846 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -33,7 +33,7 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > * need to check address->sa_family as it is possible to have > * sk->sk_family = PF_INET6 with addr->sa_family = AF_INET. > */ -> - if (address->sa_family == AF_INET) { +> - if (address->sa_family = AF_INET) { > - if (addrlen < sizeof(struct sockaddr_in)) { > - err = -EINVAL; > - goto out; @@ -62,7 +62,7 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > + /* Note that SCTP services expect -EINVAL, whereas > + * others expect -EAFNOSUPPORT. > + */ -> + if (sksec->sclass == SECCLASS_SCTP_SOCKET) +> + if (sksec->sclass = SECCLASS_SCTP_SOCKET) > + return -EINVAL; > + else > + return -EAFNOSUPPORT; @@ -73,7 +73,7 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > * need to check address->sa_family as it is possible to have > * sk->sk_family = PF_INET6 with addr->sa_family = AF_INET. > */ -> - if (address->sa_family == AF_INET) { +> - if (address->sa_family = AF_INET) { > + switch (address->sa_family) { > + case AF_INET: > addr4 = (struct sockaddr_in *)address; @@ -92,7 +92,7 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > + /* Note that SCTP services expect -EINVAL, whereas > + * others expect -EAFNOSUPPORT. > + */ -> + if (sksec->sclass == SECCLASS_SCTP_SOCKET) +> + if (sksec->sclass = SECCLASS_SCTP_SOCKET) > + return -EINVAL; > + else > + return -EAFNOSUPPORT; @@ -104,10 +104,6 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sctp" in -> the body of a message to majordomo at vger.kernel.org +> the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -> --- -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 a0e1387..a35aa61 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020180302195434.15435-1-richard_c_haines@btinternet.com\0" - "From\0marcelo.leitner@gmail.com (Marcelo Ricardo Leitner)\0" - "Subject\0[PATCH] selinux: Fix ltp test connect-syscall failure\0" - "Date\0Fri, 2 Mar 2018 17:04:29 -0300\0" + "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" + "Subject\0Re: [PATCH] selinux: Fix ltp test connect-syscall failure\0" + "Date\0Fri, 02 Mar 2018 20:04:29 +0000\0" "To\0linux-security-module@vger.kernel.org\0" "\00:1\0" "b\0" @@ -40,7 +40,7 @@ "> \t\t * need to check address->sa_family as it is possible to have\n" "> \t\t * sk->sk_family = PF_INET6 with addr->sa_family = AF_INET.\n" "> \t\t */\n" - "> -\t\tif (address->sa_family == AF_INET) {\n" + "> -\t\tif (address->sa_family = AF_INET) {\n" "> -\t\t\tif (addrlen < sizeof(struct sockaddr_in)) {\n" "> -\t\t\t\terr = -EINVAL;\n" "> -\t\t\t\tgoto out;\n" @@ -69,7 +69,7 @@ "> +\t\t\t/* Note that SCTP services expect -EINVAL, whereas\n" "> +\t\t\t * others expect -EAFNOSUPPORT.\n" "> +\t\t\t */\n" - "> +\t\t\tif (sksec->sclass == SECCLASS_SCTP_SOCKET)\n" + "> +\t\t\tif (sksec->sclass = SECCLASS_SCTP_SOCKET)\n" "> +\t\t\t\treturn -EINVAL;\n" "> +\t\t\telse\n" "> +\t\t\t\treturn -EAFNOSUPPORT;\n" @@ -80,7 +80,7 @@ "> \t\t * need to check address->sa_family as it is possible to have\n" "> \t\t * sk->sk_family = PF_INET6 with addr->sa_family = AF_INET.\n" "> \t\t */\n" - "> -\t\tif (address->sa_family == AF_INET) {\n" + "> -\t\tif (address->sa_family = AF_INET) {\n" "> +\t\tswitch (address->sa_family) {\n" "> +\t\tcase AF_INET:\n" "> \t\t\taddr4 = (struct sockaddr_in *)address;\n" @@ -99,7 +99,7 @@ "> +\t\t\t/* Note that SCTP services expect -EINVAL, whereas\n" "> +\t\t\t * others expect -EAFNOSUPPORT.\n" "> +\t\t\t */\n" - "> +\t\t\tif (sksec->sclass == SECCLASS_SCTP_SOCKET)\n" + "> +\t\t\tif (sksec->sclass = SECCLASS_SCTP_SOCKET)\n" "> +\t\t\t\treturn -EINVAL;\n" "> +\t\t\telse\n" "> +\t\t\t\treturn -EAFNOSUPPORT;\n" @@ -111,12 +111,8 @@ "> \n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-sctp\" in\n" - "> the body of a message to majordomo at vger.kernel.org\n" + "> the body of a message to majordomo@vger.kernel.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\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 + > -ddace2c64a766a711f52ad86d98a6dc5ae57ad2bfebeef1ae32166b73af05ef4 +10b829a9697b58e977900640245331899ad07f3c8f29fefeeccd8211d2680c8b
diff --git a/a/1.txt b/N2/1.txt index 27576cc..38822b1 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -104,10 +104,6 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sctp" in -> the body of a message to majordomo at vger.kernel.org +> the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -> --- -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/N2/content_digest index a0e1387..19f68ee 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,8 +1,20 @@ "ref\020180302195434.15435-1-richard_c_haines@btinternet.com\0" - "From\0marcelo.leitner@gmail.com (Marcelo Ricardo Leitner)\0" - "Subject\0[PATCH] selinux: Fix ltp test connect-syscall failure\0" + "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" + "Subject\0Re: [PATCH] selinux: Fix ltp test connect-syscall failure\0" "Date\0Fri, 2 Mar 2018 17:04:29 -0300\0" - "To\0linux-security-module@vger.kernel.org\0" + "To\0Richard Haines <richard_c_haines@btinternet.com>\0" + "Cc\0selinux@tycho.nsa.gov" + netdev@vger.kernel.org + linux-sctp@vger.kernel.org + linux-security-module@vger.kernel.org + paul@paul-moore.com + vyasevich@gmail.com + nhorman@tuxdriver.com + sds@tycho.nsa.gov + eparis@parisplace.org + casey@schaufler-ca.com + jmorris@namei.org + " anders.roxell@linaro.org\0" "\00:1\0" "b\0" "On Fri, Mar 02, 2018 at 07:54:34PM +0000, Richard Haines wrote:\n" @@ -111,12 +123,8 @@ "> \n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-sctp\" in\n" - "> the body of a message to majordomo at vger.kernel.org\n" + "> the body of a message to majordomo@vger.kernel.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\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 + > -ddace2c64a766a711f52ad86d98a6dc5ae57ad2bfebeef1ae32166b73af05ef4 +85d113630045ff8dab0c685c81985c94f58757f6f1e23f4a9c64aeff7f2b8d1d
diff --git a/a/1.txt b/N3/1.txt index 27576cc..df1dcec 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -16,10 +16,10 @@ On Fri, Mar 02, 2018 at 07:54:34PM +0000, Richard Haines wrote: > INFO: ltp-pan reported some tests FAIL > LTP Version: 20180118 > -> Reported-by: Anders Roxell <anders.roxell@linaro.org> -> Signed-off-by: Richard Haines <richard_c_haines@btinternet.com> +> Reported-by: Anders Roxell <anders.roxell-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> +> Signed-off-by: Richard Haines <richard_c_haines-FhtRXb7CoQBt1OO0OYaSVA@public.gmane.org> -Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> +Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > security/selinux/hooks.c | 42 ++++++++++++++++++++++++++++++------------ @@ -104,10 +104,6 @@ Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sctp" in -> the body of a message to majordomo at vger.kernel.org +> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -> --- -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/N3/content_digest index a0e1387..48a24d1 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,8 +1,17 @@ "ref\020180302195434.15435-1-richard_c_haines@btinternet.com\0" - "From\0marcelo.leitner@gmail.com (Marcelo Ricardo Leitner)\0" - "Subject\0[PATCH] selinux: Fix ltp test connect-syscall failure\0" + "ref\020180302195434.15435-1-richard_c_haines-FhtRXb7CoQBt1OO0OYaSVA@public.gmane.org\0" + "From\0Marcelo Ricardo Leitner <marcelo.leitner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" + "Subject\0Re: [PATCH] selinux: Fix ltp test connect-syscall failure\0" "Date\0Fri, 2 Mar 2018 17:04:29 -0300\0" - "To\0linux-security-module@vger.kernel.org\0" + "To\0Richard Haines <richard_c_haines-FhtRXb7CoQBt1OO0OYaSVA@public.gmane.org>\0" + "Cc\0anders.roxell-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" + nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org + netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + vyasevich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org + linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-sctp-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + selinux-+05T5uksL2qpZYMLLGbcSA@public.gmane.org + " sds-+05T5uksL2qpZYMLLGbcSA@public.gmane.org\0" "\00:1\0" "b\0" "On Fri, Mar 02, 2018 at 07:54:34PM +0000, Richard Haines wrote:\n" @@ -23,10 +32,10 @@ "> INFO: ltp-pan reported some tests FAIL\n" "> LTP Version: 20180118\n" "> \n" - "> Reported-by: Anders Roxell <anders.roxell@linaro.org>\n" - "> Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>\n" + "> Reported-by: Anders Roxell <anders.roxell-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>\n" + "> Signed-off-by: Richard Haines <richard_c_haines-FhtRXb7CoQBt1OO0OYaSVA@public.gmane.org>\n" "\n" - "Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\n" + "Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n" "\n" "> ---\n" "> security/selinux/hooks.c | 42 ++++++++++++++++++++++++++++++------------\n" @@ -111,12 +120,8 @@ "> \n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-sctp\" in\n" - "> the body of a message to majordomo at vger.kernel.org\n" + "> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\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 + > -ddace2c64a766a711f52ad86d98a6dc5ae57ad2bfebeef1ae32166b73af05ef4 +20693cbaff941db91a4ce50a1526486852b89694fdcd02cd0731bf47090530b5
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.