mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
vfs: pass cred to ioctl
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ static int munmap(int minor, void *addr, uintmax_t offset, int flags) {
|
||||
#define FBIOGET_FSCREENINFO 0x4602
|
||||
#define FBIOBLANK 0x4611
|
||||
|
||||
static int ioctl(int minor, unsigned long request, void *arg, int *result){
|
||||
static int ioctl(int minor, unsigned long request, void *arg, int *result, cred_t *cred){
|
||||
if (minor >= count)
|
||||
return ENODEV;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user