#include "libsysfs/sysfs/libsysfs.h"
#include "udev.h"
+#include "udev_lib.h"
#include "udev_version.h"
-#include "udev_dbus.h"
-#include "udev_selinux.h"
#include "logging.h"
#include "namedev.h"
#include "udevdb.h"
}
}
- if (!fake)
- selinux_add_node(filename);
-
/* create symlink if requested */
foreach_strpart(dev->symlink, " ", pos, len) {
strfieldcpymax(linkname, pos, len+1);
retval = create_node(&dev, fake);
if ((retval == 0) && (!fake))
- sysbus_send_create(&dev, path);
+ dev_d_send(&dev, subsystem);
exit:
if (class_dev)