Re: sonypc with Sony Vaio VGN-SZ1VP

From: Jan Engelhardt
Date: Thu Jan 04 2007 - 19:21:59 EST



On Jan 5 2007 00:36, Stelian Pop wrote:
>@@ -61,6 +61,7 @@ static struct acpi_driver sony_acpi_driv
>
> static acpi_handle sony_acpi_handle;
> static struct proc_dir_entry *sony_acpi_dir;
>+static struct acpi_device *sony_acpi_acpi_device = NULL;

acpi_acpi?

>@@ -310,7 +315,7 @@ static int sony_acpi_add(struct acpi_dev
> item->acpiset, &handle)))
> continue;
>
>- item->proc = create_proc_entry(item->name, 0600,
>+ item->proc = create_proc_entry(item->name, 0666,
> acpi_device_dir(device));
> if (!item->proc) {
> printk(LOG_PFX "unable to create proc entry\n");

Is this safe? I would not want normal users to poke on that.


-`J'
--
Himself owner of a VAIO U3.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/