From: Alexey Gladkov <legion@mozilla-russia.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] /lib/modules/ access permissions
Date: Sun, 30 Nov 2014 04:15:07 +0300
Message-ID: <547A6F9B.6050101@mozilla-russia.org> (raw)
In-Reply-To: <20141129234759.GA15355@altlinux.org>
30.11.2014 02:47, Dmitry V. Levin пишет:
> Да, libkmod не занимается блокировкой файлов модулей, там все просто:
> open O_RDONLY
> mmap PROT_READ MAP_PRIVATE
> finit_module
> (с разновидностями вида gzdopen/gzread с последующим init_module,
> если поддерживаются сжатые модули).
>
> В ушедшем module-init-tools тоже на авось:
> open O_RDONLY
> read в цикле
> init_module
>
>> Я думаю, что описанная в баге проблема должна быть обсуждена ещё раз.
>
> Давайте обсудим. Очевидно, что потенциальный DoS путем блокировки файла
> модуля сейчас уже не реализуем.
Сейчас я не могу придумать зачем могут быть нужны ограничения на этот
каталог. Там есть дополнительная информация о том, какие модули
находится в ядре, но с другой стороны эту же информацию можно
почерпнуть в /proc/config.gz, который доступен на чтение.
--
Rgrds, legion
next prev parent reply other threads:[~2014-11-30 1:15 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 15:48 [devel] libguestfs Alexey Shabalin
2014-11-20 7:16 ` Alexey Gladkov
2014-11-27 12:17 ` Alexey Shabalin
2014-11-27 12:48 ` Alexey Gladkov
2014-11-27 13:53 ` Eugene Prokopiev
2014-11-27 14:15 ` Alexey Shabalin
2014-11-27 14:29 ` Michael Shigorin
2014-11-27 14:36 ` Alexey Shabalin
2014-11-27 18:04 ` Eugene Prokopiev
2014-11-27 18:15 ` Alexey Gladkov
2014-11-27 18:31 ` Eugene Prokopiev
2014-11-27 14:50 ` Alexey Gladkov
2014-11-27 17:38 ` Eugene Prokopiev
2014-11-27 18:05 ` Alexey Gladkov
2014-11-28 16:54 ` Alexey Shabalin
2014-11-28 17:02 ` Alexey Gladkov
2014-11-28 17:03 ` Dmitry V. Levin
2014-11-29 21:34 ` Alexey Gladkov
2014-11-29 23:47 ` [devel] /lib/modules/ access permissions (was: libguestfs) Dmitry V. Levin
2014-11-30 1:15 ` Alexey Gladkov [this message]
2014-12-05 13:14 ` Alexey Shabalin
2014-12-05 22:52 ` Dmitry V. Levin
2014-11-29 23:37 ` [devel] libguestfs Alexey Shabalin
2014-12-05 22:59 ` Dmitry V. Levin
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=547A6F9B.6050101@mozilla-russia.org \
--to=legion@mozilla-russia.org \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git