[Bug 224011] kevent fails on cuse(3) devices
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 1 06:08:30 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224011
Bug ID: 224011
Summary: kevent fails on cuse(3) devices
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: yuri at freebsd.org
kevent fails on /dev/video0 (created through cuse(3) by webcamd).
The below testcase fails:
> QKqueueFileSystemWatcherEngine::addPaths: kevent: Invalid argument
Qt-styled testcase:
> #include <QFileSystemWatcher>
> #include <QThread>
>
> class T : public QThread {
> public:
> void run() {
> auto m_fsWatcher = new QFileSystemWatcher({"/dev"}, nullptr);
> QStringList paths;
> paths.push_back("/dev/video0");
> m_fsWatcher->addPaths(paths);
> }
> };
>
> int main(int argc, char* argv[]) {
> T t;
> t.start();
> t.wait();
> }
> c++ -std=c++11 -fPIC -o testcase -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5 testcase.cpp -L/usr/local/lib/qt5/ -lQt5Core
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list