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] [day] [month] [year] [list]
Date:	Thu, 29 Nov 2012 21:25:49 -0800
From:	anish singh <anish198519851985@...il.com>
To:	Roger Yang <netyrj@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Function show_uevent@...vers/base/core.c

On Thu, Nov 29, 2012 at 7:37 PM, Roger Yang <netyrj@...il.com> wrote:
> drivers/base/core.c
>
> static ssize_t show_uevent(struct device *dev, struct device_attribute *attr,
>                             char *buf)
>  {
>          ....
>
>         kset = top_kobj->kset;
>          if (!kset->uevent_ops || !kset->uevent_ops->uevent)
>                  goto out;
>
>         /* respect filter */
>  -       if (kset->uevent_ops && kset->uevent_ops->filter)
>  +       if (kset->uevent_ops->filter)
>                  if (!kset->uevent_ops->filter(kset, &dev->kobj))
>                          goto out;
>
>         env = kzalloc(sizeof(struct kobj_uevent_env), GFP_KERNEL);
>          if (!env)
>                  return -ENOMEM;
what is the problem?
>
>         ...
>  }
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ