All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Christian Brauner <brauner@kernel.org>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] vfs: require verified birth date for file creation
Date: Wed, 1 Apr 2026 14:01:18 -0700	[thread overview]
Message-ID: <20260401210118.GE2466@quark> (raw)
In-Reply-To: <20260401-i-hope-someone-believes-this-is-real-04f24e03944e@brauner>

On Wed, Apr 01, 2026 at 02:43:21PM +0200, Christian Brauner wrote:
> +	u16				birthdate_year;

Shouldn't this be a u32 so that we don't have to rush to update this in
the year 65535?  Maybe even an arbitrary-length integer stored in a
separate allocation, so that this won't have to be revisited.

> +		if (age < 18)

Probably should go with something a bit higher to ensure it's sufficient
for all jurisdictions.  Maybe 50?

- Eric

  parent reply	other threads:[~2026-04-01 21:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-01 12:43 [PATCH] vfs: require verified birth date for file creation Christian Brauner
2026-04-01 13:51 ` Darrick J. Wong
2026-04-01 16:14   ` Linus Torvalds
2026-04-01 21:01 ` Eric Biggers [this message]
2026-04-02  0:56 ` Yury Norov
2026-04-12  9:49 ` Mike Keehan
  -- strict thread matches above, loose matches on Subject: below --
2026-04-01 16:29 Alexey Dobriyan

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=20260401210118.GE2466@quark \
    --to=ebiggers@kernel.org \
    --cc=brauner@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 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.