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

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

 



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.

Cheers,

Michael


>  Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
>
>  ---
>
>  Index: man-pages-2.78/man2/personality.2
>  ===================================================================
>  --- man-pages-2.78.orig/man2/personality.2
>  +++ man-pages-2.78/man2/personality.2
>  @@ -33,7 +33,7 @@ personality \- set the process execution
>   .SH SYNOPSIS
>   .B #include <sys/personality.h>
>   .sp
>  -.BI "int personality(unsigned long " persona );
>  +.BI "long personality(unsigned long " persona );
>   .SH DESCRIPTION
>   Linux supports different execution domains, or personalities, for each
>   process.
>



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