All of lore.kernel.org
 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
Subject: [PATCH 0/3] handle large user and group ID for isofs and udf
Date: Thu, 28 Jan 2021 10:17:00 +0800	[thread overview]
Message-ID: <1611800220-9481-1-git-send-email-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):
  isofs: handle large user and group ID
  udf: handle large user and group ID
  parser: add unsigned int parser

 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-28  2:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28  2:17 bingjingc [this message]
2021-01-28  3:22 ` [PATCH 0/3] handle large user and group ID for isofs and udf Matthew Wilcox

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=1611800220-9481-1-git-send-email-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=robbieko@synology.com \
    --cc=viro@zeniv.linux.org.uk \
    /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 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.