linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bingjingc <bingjingc@synology.com>
To: viro@zeniv.linux.org.uk, jack@suse.com, jack@suse.cz,
	axboe@kernel.dk, linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, cccheng@synology.com,
	bingjingc@synology.com, robbieko@synology.com,
	willy@infradead.org, rdunlap@infradead.org, miklos@szeredi.hu
Subject: [PATCH v3 0/3] handle large user and group ID for isofs and udf
Date: Fri, 29 Jan 2021 12:51:48 +0800	[thread overview]
Message-ID: <20210129045148.10155-1-bingjingc@synology.com> (raw)

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


             reply	other threads:[~2021-01-29  4:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29  4:51 bingjingc [this message]
2021-02-03 18:06 ` [PATCH v3 0/3] handle large user and group ID for isofs and udf Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210129045148.10155-1-bingjingc@synology.com \
    --to=bingjingc@synology.com \
    --cc=axboe@kernel.dk \
    --cc=cccheng@synology.com \
    --cc=jack@suse.com \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=rdunlap@infradead.org \
    --cc=robbieko@synology.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).