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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 6 Mar 2014 21:19:36 +0300 From: Dan Carpenter <dan.carpenter@...cle.com> To: Shuah Khan <shuah.kh@...sung.com> Cc: Valentina Manea <valentina.manea.m@...il.com>, gregkh@...uxfoundation.org, devel@...verdev.osuosl.org, linux-usb@...r.kernel.org, ly80toro@....cs.fau.de, tobias.polzer@....de, linux-kernel@...r.kernel.org, firefly@...ts.rosedu.org, dominik.paulus@....de, ihadzic@...earch.bell-labs.com Subject: Re: [PATCH 01/12] staging: usbip: userspace: migrate usbip_bind to libudev On Thu, Mar 06, 2014 at 09:15:01AM -0700, Shuah Khan wrote: > >--- a/drivers/staging/usbip/userspace/libsrc/usbip_common.h > >+++ b/drivers/staging/usbip/userspace/libsrc/usbip_common.h > >@@ -29,6 +29,15 @@ > > #define USBIP_HOST_DRV_NAME "usbip-host" > > #define USBIP_VHCI_DRV_NAME "vhci_hcd" > > > >+/* sysfs constants */ > >+#define SYSFS_MNT_PATH "/sys" > >+#define SYSFS_BUS_NAME "bus" > >+#define SYSFS_BUS_TYPE "usb" > >+#define SYSFS_DRIVERS_NAME "drivers" > >+ > >+#define SYSFS_PATH_MAX 256 > >+#define SYSFS_BUS_ID_SIZE 32 > > I wish we have some global defines we could use. Except for the mount point, the rest of the path is part of the kernel API. regards, dan carpenter -- 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