lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1326401943.2617.0.camel@edumazet-laptop>
Date:	Thu, 12 Jan 2012 21:59:03 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Bart Van Assche <bvanassche@....org>
Cc:	netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
	Mike Christie <michaelc@...wisc.edu>,
	Eric Paris <eparis@...hat.com>
Subject: Re: Consequences of commit 16e5726269611b71c930054ffe9b858c1cea88eb

Le jeudi 12 janvier 2012 à 19:14 +0000, Bart Van Assche a écrit :
> Hi,
> 
> If my analysis is correct commit
> 16e5726269611b71c930054ffe9b858c1cea88eb ("af_unix: dont send
> SCM_CREDENTIALS by default") changes the value of
> NETLINK_CREDS(skb)->pid from the sender pid into zero. Does that mean
> that the code using that construct did work in kernel 3.1 but that it
> is broken in kernel 3.2 ? Should that commit be reverted or will
> someone fix the code that uses NETLINK_CREDS() ? Would changing
> NETLINK_CREDS(skb)->pid into NETLINK_CB(skb).pid be sufficient ?
> 
> Thanks,
> 
> Bart.
> 
> $ git grep 'NETLINK_CREDS([a-zA-Z0-9_]*)->pid'
> drivers/scsi/scsi_netlink.c:	pid = NETLINK_CREDS(skb)->pid;
> kernel/audit.c:	pid  = NETLINK_CREDS(skb)->pid;


What is your problem exactly ?



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ