Re: [PATCH v4 2/3] binder: use cred instead of task for getsecid

2021-10-11 Thread Paul Moore
On Mon, Oct 11, 2021 at 5:59 PM Casey Schaufler wrote: > On 10/11/2021 2:33 PM, Paul Moore wrote: > > On Wed, Oct 6, 2021 at 8:46 PM Todd Kjos wrote: > >> Use the 'struct cred' saved at binder_open() to lookup > >> the security ID via security_cred_getsecid(). This > >> ensures that the security

Re: [PATCH v4 2/3] binder: use cred instead of task for getsecid

2021-10-11 Thread Casey Schaufler
On 10/11/2021 2:33 PM, Paul Moore wrote: > On Wed, Oct 6, 2021 at 8:46 PM Todd Kjos wrote: >> Use the 'struct cred' saved at binder_open() to lookup >> the security ID via security_cred_getsecid(). This >> ensures that the security context that opened binder >> is the one used to generate the secc

Re: [PATCH v4 3/3] binder: use euid from cred instead of using task

2021-10-11 Thread Paul Moore
On Fri, Oct 8, 2021 at 5:24 PM Todd Kjos wrote: > > On Fri, Oct 8, 2021 at 2:12 PM Paul Moore wrote: > > > > On Wed, Oct 6, 2021 at 8:46 PM Todd Kjos wrote: > > > > > > Set a transaction's sender_euid from the 'struct cred' > > > saved at binder_open() instead of looking up the euid > > > from t

Re: [PATCH v4 3/3] binder: use euid from cred instead of using task

2021-10-11 Thread Paul Moore
On Fri, Oct 8, 2021 at 5:25 PM Casey Schaufler wrote: > > On 10/8/2021 2:12 PM, Paul Moore wrote: > > On Wed, Oct 6, 2021 at 8:46 PM Todd Kjos wrote: > >> Set a transaction's sender_euid from the 'struct cred' > >> saved at binder_open() instead of looking up the euid > >> from the binder proc's

Re: [PATCH v4 2/3] binder: use cred instead of task for getsecid

2021-10-11 Thread Paul Moore
On Wed, Oct 6, 2021 at 8:46 PM Todd Kjos wrote: > > Use the 'struct cred' saved at binder_open() to lookup > the security ID via security_cred_getsecid(). This > ensures that the security context that opened binder > is the one used to generate the secctx. > > Fixes: ec74136ded79 ("binder: create

[no subject]

2021-10-11 Thread SPENDE
-- €2.800.000,00 Euro wurden Ihnen von Manuel Franco gespendet, der den Preis gewonnen hat Powerball-Jackpot von 768 Millionen Dollar. Kontaktiere ihn über E-Mail: mf90665...@gmail.com für weitere Informationen ___ devel mailing list de...@linuxdriverpro

[no subject]

2021-10-11 Thread SPENDE
-- €2.800.000,00 Euro wurden Ihnen von Manuel Franco gespendet, der den Preis gewonnen hat Powerball-Jackpot von 768 Millionen Dollar. Kontaktiere ihn über E-Mail: mf90665...@gmail.com für weitere Informationen ___ devel mailing list de...@linuxdriverpro