mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
devfs: take cred struct in devfs_register
This commit is contained in:
@@ -170,7 +170,7 @@ static int registerdesc(blockdesc_t *desc, char *name) {
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return devfs_register(&devops, name, V_TYPE_BLKDEV, DEV_MAJOR_BLOCK, id, 0644);
|
||||
return devfs_register(&devops, name, V_TYPE_BLKDEV, DEV_MAJOR_BLOCK, id, 0600, NULL);
|
||||
}
|
||||
|
||||
#define PART_NONE 0
|
||||
|
||||
Reference in New Issue
Block a user