Skip to contentSkip to conversation

handle large user and group ID for isofs and udf

PATCH In review bingjingc 2 participants 2 messages Jan 29, 2021 – Feb 3, 2021 VFS

lore
Share & tools
lore

bingjingc

author
#0 lore raw

v3 cover handle large user and group ID for isofs and udf

From: BingJing Chang <[email protected]>

The uid/gid (unsigned int) of a domain user may be larger than INT_MAX. The parse_options of isofs and udf will return 0, and mount will fail with -EINVAL. These patches try to handle large user and group ID.

BingJing Chang (3):
parser: add unsigned int parser
isofs: handle large user and group ID
udf: handle large user and group ID

 fs/isofs/inode.c       |  9 +++++----
 fs/udf/super.c         |  9 +++++----
 include/linux/parser.h |  1 +
 lib/parser.c           | 22 ++++++++++++++++++++++
 4 files changed, 33 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.4
reviewer
#1 lore raw
Quoted 10 lines · bingjingc

From: BingJing Chang <[email protected]>

The uid/gid (unsigned int) of a domain user may be larger than INT_MAX. The parse_options of isofs and udf will return 0, and mount will fail with -EINVAL. These patches try to handle large user and group ID.

BingJing Chang (3):
parser: add unsigned int parser
isofs: handle large user and group ID
udf: handle large user and group ID

Thanks for the patches. I've added these three patches to my tree.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR