From: Jeff Garzik <jgarzik@pobox.com>
To: Vasiliy Kulikov <segoon@openwall.com>
Cc: Len Brown <lenb@kernel.org>,
kernel-hardening@lists.openwall.com,
Shaohua Li <shaohua.li@intel.com>,
Zhang Rui <rui.zhang@intel.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-ide@vger.kernel.org, linux-pci@vger.kernel.org
Subject: [kernel-hardening] Re: [PATCH] acpi: constify ops structs
Date: Fri, 15 Jul 2011 02:58:35 -0400 [thread overview]
Message-ID: <4E1FE51B.70009@pobox.com> (raw)
In-Reply-To: <20110715063526.GB3166@albatros>
On 07/15/2011 02:35 AM, Vasiliy Kulikov wrote:
> Hi Len,
>
> On Sat, Jun 25, 2011 at 21:07 +0400, Vasiliy Kulikov wrote:
>> Structs battery_file, acpi_dock_ops, file_operations,
>> thermal_cooling_device_ops, thermal_zone_device_ops, kernel_param_ops
>> are not changed in runtime. It is safe to make them const.
>> register_hotplug_dock_device() was altered to take const "ops" argument
>> to respect acpi_dock_ops' const notion.
>>
>> Signed-off-by: Vasiliy Kulikov<segoon@openwall.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
WARNING: multiple messages have this Message-ID (diff)
From: Jeff Garzik <jgarzik@pobox.com>
To: Vasiliy Kulikov <segoon@openwall.com>
Cc: Len Brown <lenb@kernel.org>,
kernel-hardening@lists.openwall.com,
Shaohua Li <shaohua.li@intel.com>,
Zhang Rui <rui.zhang@intel.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-ide@vger.kernel.org, linux-pci@vger.kernel.org
Subject: Re: [PATCH] acpi: constify ops structs
Date: Fri, 15 Jul 2011 02:58:35 -0400 [thread overview]
Message-ID: <4E1FE51B.70009@pobox.com> (raw)
In-Reply-To: <20110715063526.GB3166@albatros>
On 07/15/2011 02:35 AM, Vasiliy Kulikov wrote:
> Hi Len,
>
> On Sat, Jun 25, 2011 at 21:07 +0400, Vasiliy Kulikov wrote:
>> Structs battery_file, acpi_dock_ops, file_operations,
>> thermal_cooling_device_ops, thermal_zone_device_ops, kernel_param_ops
>> are not changed in runtime. It is safe to make them const.
>> register_hotplug_dock_device() was altered to take const "ops" argument
>> to respect acpi_dock_ops' const notion.
>>
>> Signed-off-by: Vasiliy Kulikov<segoon@openwall.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
next prev parent reply other threads:[~2011-07-15 6:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-25 17:07 [kernel-hardening] [PATCH] acpi: constify ops structs Vasiliy Kulikov
2011-06-25 17:07 ` Vasiliy Kulikov
2011-07-15 6:35 ` [kernel-hardening] " Vasiliy Kulikov
2011-07-15 6:35 ` Vasiliy Kulikov
2011-07-15 6:58 ` Jeff Garzik [this message]
2011-07-15 6:58 ` Jeff Garzik
2011-07-16 22:37 ` [kernel-hardening] " Len Brown
2011-07-16 22:37 ` Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E1FE51B.70009@pobox.com \
--to=jgarzik@pobox.com \
--cc=jbarnes@virtuousgeek.org \
--cc=kernel-hardening@lists.openwall.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=segoon@openwall.com \
--cc=shaohua.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.