LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Vadim Lobanov <vadim@cs.washington.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: modprobe_path & hotplug_path
Date: Sat, 22 May 2004 18:13:50 -0400	[thread overview]
Message-ID: <40AFD09E.8060607@quark.didntduck.org> (raw)
In-Reply-To: <20040522150054.R26485-100000@attu1.cs.washington.edu>

Vadim Lobanov wrote:
> Hi,
> 
> Just wanted to inquire about something curious that I saw in the kernel 
> subtree...
> 
> Currently modprobe_path and hotplug_path are declared as "char ...[256]", 
> though it seems to me (unless I've missed something), that they only ever 
> hold "/sbin/modprobe" and "/sbin/hotplug", respectively. Any reason why we 
> couldn't simply declare them "char ...[]", and let them be sized 
> appropriately?
> 
> Let me know if I've missed something.
> 
> Thanks,
> Vadim Lobanov

Because userspace can change them.

--
				Brian Gerst

  parent reply	other threads:[~2004-05-22 22:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-22 22:05 Vadim Lobanov
2004-05-22 22:11 ` Scott C. Batura
2004-05-22 22:13 ` Brian Gerst [this message]
2004-05-22 22:30 ` modprobe_path & hotplug_path Horst von Brand

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=40AFD09E.8060607@quark.didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vadim@cs.washington.edu \
    --subject='Re: modprobe_path & hotplug_path' \
    /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

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).