mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-24 16:10:11 +07:00
[PATCH] use numeric owner/group as default values to avoid parsing userdb
This commit is contained in:
parent
9bad6028f7
commit
915a12adc2
@ -84,8 +84,8 @@ int udev_init_device(struct udevice *udev, const char* devpath, const char *subs
|
||||
}
|
||||
|
||||
udev->mode = 0660;
|
||||
strcpy(udev->owner, "root");
|
||||
strcpy(udev->group, "root");
|
||||
strcpy(udev->owner, "0");
|
||||
strcpy(udev->group, "0");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user