public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Dodd <ted@cypress.com>
To: linux-kernel@vger.kernel.org
Cc: Keith Owens <kaos@ocs.com.au>
Subject: Re: Modutils can't handle long kernel names
Date: Wed, 14 Nov 2001 16:04:38 -0600	[thread overview]
Message-ID: <3BF2EA76.6010702@cypress.com> (raw)
In-Reply-To: <13690.1005366589@ocs3.intra.ocs.com.au>



Keith Owens wrote:

> On Fri, 9 Nov 2001 23:23:43 +0100, 
> andersg@0x63.nu wrote:
>>On Fri, Nov 09, 2001 at 04:34:00PM +1100, Keith Owens wrote:
>>> It is not a modutils problem, it is a fixed restriction on the size of
>>> the uname() fields, modutils just uses what uname -r gives it.

> +uts_len		:= 64
> +uts_truncate	:= sed -e 's/\(.\{1,$(uts_len)\}\).*/\1/'


Should this be a fixed length of 64?
Or should it be grabbed form a header somewhere?
So when/if SYS_NMLN/_UTSNAME_LENGTH is changed
longer strings can be used? I check and Solaris 8
defines SYS_NMLN as 257.

Would this break cross-comiling badly?
Are other libc headers needed in the build?

	-Thomas



  reply	other threads:[~2001-11-14 22:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-09  4:42 Modutils can't handle long kernel names Mike Fedyk
2001-11-09  5:23 ` Mike Fedyk
2001-11-09  5:40   ` Robert Love
2001-11-09  5:34 ` Keith Owens
2001-11-09 22:23   ` andersg
2001-11-10  4:29     ` Keith Owens
2001-11-14 22:04       ` Thomas Dodd [this message]
2001-11-14 22:25         ` Keith Owens

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=3BF2EA76.6010702@cypress.com \
    --to=ted@cypress.com \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox