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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 10 Feb 2015 10:01:06 +0800
From:	Bryton Lee <>
To:	David Miller <>
Subject: Re: [PATCH] prevent the read ahead of /proc/slabinfo in ss

On Tue, Feb 10, 2015 at 3:16 AM, David Miller <> wrote:
> From: Bryton Lee <>
> Date: Mon,  9 Feb 2015 19:37:10 +0800
>> @@ -617,6 +617,7 @@ struct slabstat
>>  };
>>  struct slabstat slabstat;
>> +int slabstat_valid = 0;
>>  static const char *slabstat_ids[] =
>>  {
> Nothing sets this to a non-zero value.  If nothing is going to set it to
> a non-zero value, the code it guards should simple be removed instead.
when ss runs witch -s paramater slabstat will be used, and if kernel
not support NETLINK ss -t will use slabstat too.  so it's not nothing
sets this to a non-zero value.

> Otherwise, nothing uses this variable outside of this file, and if
> that's intentional it should be static.

Yes, these should be changed to static,  I will submit these change
soon.  thanks!

Best Regards

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists