1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef USERS_H #define USERS_H #include "types.h" #define USERS_MAX 8 #define USER_ROOT 0 /* current user in use */ extern struct fs_user c_user; struct fs_user { char name[32]; ino_t home; uint8_t perm; // TODO, permissions }; /* all users are in rom device */ #endif