mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
fuser: restore functionality by fixing fsid type
Use types from sys/stat.h for the filesystem and inode numbers for extra safety. PR: 259504 Reported by: Markus Wild <freebsd-bugs@virtualtec.ch> MFC after: 1 week
This commit is contained in:
parent
91feb4f420
commit
e18fbe6f19
@ -92,8 +92,8 @@ struct consumer {
|
||||
STAILQ_ENTRY(consumer) next;
|
||||
};
|
||||
struct reqfile {
|
||||
uint32_t fsid;
|
||||
uint64_t fileid;
|
||||
dev_t fsid;
|
||||
ino_t fileid;
|
||||
const char *name;
|
||||
STAILQ_HEAD(, consumer) consumers;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user