* about __ARCH_WANT_SYS_GETHOSTNAME
@ 2006-03-31 17:21 Randy.Dunlap
2006-04-01 18:53 ` Eric W. Biederman
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-03-31 17:21 UTC (permalink / raw)
To: linux-kernel
Hi,
What was/is the purpose of __ARCH_WANT_SYS_GETHOSTNAME?
and why do a few arches not #define it?
If it is not #defined, should those arches supply their own
sys_gethostname() function?
21 arches #define __ARCH_WANT_SYS_GETHOSTNAME.
A few don't: frv, ia64, & xtensa.
But all arches (except for um) #define __NR_gethostname.
Is __ARCH_WANT_SYS_GETHOSTNAME just crufty and doesn't matter
any more?
Thanks,
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: about __ARCH_WANT_SYS_GETHOSTNAME
2006-03-31 17:21 about __ARCH_WANT_SYS_GETHOSTNAME Randy.Dunlap
@ 2006-04-01 18:53 ` Eric W. Biederman
0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2006-04-01 18:53 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: linux-kernel
"Randy.Dunlap" <rdunlap@xenotime.net> writes:
> Hi,
>
> What was/is the purpose of __ARCH_WANT_SYS_GETHOSTNAME?
> and why do a few arches not #define it?
>
> If it is not #defined, should those arches supply their own
> sys_gethostname() function?
>
> 21 arches #define __ARCH_WANT_SYS_GETHOSTNAME.
> A few don't: frv, ia64, & xtensa.
> But all arches (except for um) #define __NR_gethostname.
>
> Is __ARCH_WANT_SYS_GETHOSTNAME just crufty and doesn't matter
> any more?
I know you can implement it by simply calling uname.
Beyond that I am puzzled.
Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-01 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-31 17:21 about __ARCH_WANT_SYS_GETHOSTNAME Randy.Dunlap
2006-04-01 18:53 ` Eric W. Biederman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome