D | usbdevfs-drop-permissions.c | 19 void drop_privileges(int fd, uint32_t mask) in drop_privileges() argument 23 res = ioctl(fd, USBDEVFS_DROP_PRIVILEGES, &mask); in drop_privileges() 58 uint32_t mask, caps; in main() local 102 scanf("%x", &mask); in main() 103 drop_privileges(fd, mask); in main()
|