vfs: pass cred to ioctl

This commit is contained in:
Matheus
2024-08-30 22:53:57 -03:00
parent 0f18341674
commit ca42167fe1
11 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -36,6 +36,6 @@ void tty_init();
tty_t *tty_create(char *name, ttydevicewritefn_t writefn, ttyinactivefn_t inactivefn, void *internal);
void tty_process(tty_t *tty, char c);
void tty_unregister(tty_t *tty);
int tty_ioctl(tty_t *tty, unsigned long req, void *arg, int *result);
int tty_ioctl(tty_t *tty, unsigned long req, void *arg, int *result, cred_t *cred);
#endif