All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	hch@lst.de, Takashi Sakamoto <o-takashi@sakamocchi.jp>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: compat_ioctl: avoid compat_alloc_user_space
Date: Mon, 21 Sep 2020 10:37:35 +0200	[thread overview]
Message-ID: <s5htuvrpltc.wl-tiwai@suse.de> (raw)
In-Reply-To: <20200918095642.1446243-1-arnd@arndb.de>

On Fri, 18 Sep 2020 11:56:19 +0200,
Arnd Bergmann wrote:
> 
> Using compat_alloc_user_space() tends to add complexity
> to the ioctl handling, so I am trying to remove it everywhere.
> 
> The two callers in sound/core can rewritten to just call
> the same code that operates on a kernel pointer as the
> native handler.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied now.  Thanks!


Takashi

WARNING: multiple messages have this Message-ID (diff)
From: Takashi Iwai <tiwai@suse.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.com>,
	linux-kernel@vger.kernel.org, hch@lst.de
Subject: Re: [PATCH] ALSA: compat_ioctl: avoid compat_alloc_user_space
Date: Mon, 21 Sep 2020 10:37:35 +0200	[thread overview]
Message-ID: <s5htuvrpltc.wl-tiwai@suse.de> (raw)
In-Reply-To: <20200918095642.1446243-1-arnd@arndb.de>

On Fri, 18 Sep 2020 11:56:19 +0200,
Arnd Bergmann wrote:
> 
> Using compat_alloc_user_space() tends to add complexity
> to the ioctl handling, so I am trying to remove it everywhere.
> 
> The two callers in sound/core can rewritten to just call
> the same code that operates on a kernel pointer as the
> native handler.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied now.  Thanks!


Takashi

  reply	other threads:[~2020-09-21  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  9:56 [PATCH] ALSA: compat_ioctl: avoid compat_alloc_user_space Arnd Bergmann
2020-09-18  9:56 ` Arnd Bergmann
2020-09-21  8:37 ` Takashi Iwai [this message]
2020-09-21  8:37   ` Takashi Iwai

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=s5htuvrpltc.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=o-takashi@sakamocchi.jp \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /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.