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>] [day] [month] [year] [list]
Date:	Wed, 22 Oct 2008 22:39:30 +0900
From:	hooanon05@...oo.co.jp
To:	ttb@...tacle.dhs.org, rml@...ell.com
cc:	linux-kernel@...r.kernel.org
Subject: lock free inotify_ioctl()?


Hello John McCutchan and Robert Love,

I have a question about inotify_ioctl().
I am investigating if a user process misses the inotify event or gets
wrong event by ioctl(fd, FIONREAD, &pending) in linux-2.6.27, and found
it doesn't acquire dev->ev_mutex lock before accessing dev->queue_size.

In SMP system, is it safe and sure too?
Is the mutex lock unnecessary?


Junjiro R. Okajima
--
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