Re: [Patch] Fix the prototype of personality(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 10, 2008 at 8:24 AM, WANG Cong <xiyou.wangcong@xxxxxxxxx> wrote:
> From: "Michael Kerrisk" <mtk.manpages@xxxxxxxxxxxxxx>
>  Date: Mon, 10 Mar 2008 08:21:32 +0100
>
>
>  > Hi Cong,
>  >
>  > On Sat, Mar 8, 2008 at 1:04 PM, WANG Cong <xiyou.wangcong@xxxxxxxxx> wrote:
>  > >
>  > >  According to the source code of Linux kernel, the type of the
>  > >  return value of personality(2) should be long instead of int.
>  >
>  > But in <sys/personality.h>, the return type is long...  So it seems to
>  > me the page is correct.  Let me know if/why you still disagree.
>  >
>
>  Oh, I see.
>
>  It seems that glibc wraps it, right? And what's the relation between
>  kernel headers and glibc headers?

I'm not 100% sure of the details on this point.  Let me know if you find out.

Cheers,

Michael


-- 
Michael Kerrisk
Maintainer of the Linux man-pages project
http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug?  Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux