On Fri, 2006-05-26 03:14:06 -0600, Eric W. Biederman <[email protected]> wrote: > "Randy.Dunlap" <[email protected]> writes: > > This patch is against 2.6.17-rc5, for review/comments, please. > > It won't apply to -mm since Andrew has merged the uts-namespace patches. > > I'll see about merging it with those patches next. > > --- > > > > From: Randy Dunlap <[email protected]> > > > > Implement POSIX-defined length for 'hostname' so that hostnames > > can be longer than 64 characters (max. 255 characters plus > > terminating NULL character). > > > > Adds sys_gethostname_long() and sys_sethostname_long(). > > Tested on i386 and x86_64. > > Is there any particular reason for this? > The existing sys_gethostname and sys_sethostname interfaces > should work for any string length. > > Although I do agree that we need at least one new syscall > for the architectures that don't currently use get_hostname. ...and this should have gone to linux-arch, too... MfG, JBG -- Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: "Randy.Dunlap" <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- References:
- [PATCH] POSIX-hostname up to 255 characters
- From: "Randy.Dunlap" <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: [email protected] (Eric W. Biederman)
- [PATCH] POSIX-hostname up to 255 characters
- Prev by Date: Re: [PATCH 7/9] Resending NetXen 1G/10G NIC driver patch
- Next by Date: [PATCH 0/2] tpm: bios log parsing fixes
- Previous by thread: Re: [PATCH] POSIX-hostname up to 255 characters
- Next by thread: Re: [PATCH] POSIX-hostname up to 255 characters
- Index(es):