mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
vfs: pass cred to ioctl
This commit is contained in:
@@ -28,7 +28,7 @@ typedef struct {
|
||||
int (*mmap)(int minor, void *addr, uintmax_t offset, int flags);
|
||||
int (*munmap)(int minor, void *addr, uintmax_t offset, int flags);
|
||||
int (*isatty)(int minor);
|
||||
int (*ioctl)(int minor, unsigned long request, void *arg, int *result);
|
||||
int (*ioctl)(int minor, unsigned long request, void *arg, int *result, cred_t *cred);
|
||||
int (*maxseek)(int minor, size_t *max);
|
||||
void (*inactive)(int minor);
|
||||
} devops_t;
|
||||
|
||||
Reference in New Issue
Block a user