stat-util: also add stat_verify_char() and use it everywhere
This commit is contained in:
@@ -31,6 +31,8 @@ int fd_verify_linked(int fd);
|
||||
int stat_verify_block(const struct stat *st);
|
||||
int fd_verify_block(int fd);
|
||||
|
||||
int stat_verify_char(const struct stat *st);
|
||||
|
||||
int stat_verify_device_node(const struct stat *st);
|
||||
int is_device_node(const char *path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user