All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] handle large user and group ID for isofs and udf
@ 2021-01-29  4:51 bingjingc
  2021-02-03 18:06 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: bingjingc @ 2021-01-29  4:51 UTC (permalink / raw)
  To: viro, jack, jack, axboe, linux-fsdevel
  Cc: linux-kernel, cccheng, bingjingc, robbieko, willy, rdunlap, miklos

From: BingJing Chang <bingjingc@synology.com>

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v3 0/3] handle large user and group ID for isofs and udf
  2021-01-29  4:51 [PATCH v3 0/3] handle large user and group ID for isofs and udf bingjingc
@ 2021-02-03 18:06 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2021-02-03 18:06 UTC (permalink / raw)
  To: bingjingc
  Cc: viro, jack, jack, axboe, linux-fsdevel, linux-kernel, cccheng,
	robbieko, willy, rdunlap, miklos

On Fri 29-01-21 12:51:48, bingjingc wrote:
> From: BingJing Chang <bingjingc@synology.com>
> 
> 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
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-03 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29  4:51 [PATCH v3 0/3] handle large user and group ID for isofs and udf bingjingc
2021-02-03 18:06 ` Jan Kara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.