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  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]
Date:	Thu, 23 Jan 2014 16:52:00 -0800
From:	Cong Wang <>
To:	Stephen Hemminger <>
Cc:	Linux Kernel Network Developers <>,
	Jamal Hadi Salim <>,
	"David S. Miller" <>
Subject: Re: [Patch net-next v2 3/5] net_sched: act: move tcf_hashinfo_init()
 into tcf_register_action()

On Thu, Jan 23, 2014 at 4:08 PM, Stephen Hemminger
<> wrote:
> On Thu, 23 Jan 2014 14:35:23 -0800
> Cong Wang <> wrote:
>>  struct tc_action {
>>       void                    *priv;
>> -     const struct tc_action_ops      *ops;
>> +     struct tc_action_ops    *ops;
> As much as possible all function tables should be constant.
> One of the rootkit tricks is to overwrite a function table entry
> at runtime. Granted tc action is a minor corner of the exposed
> universe, but this seems a step backwards when the only real
> gain is some refactoring/cleanup.

Yeah, then we can keep hinfo as a pointer in ops,
and allocate it dynamically.
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