[Patch] Fix the prototype of personality(2)

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

 



According to the source code of Linux kernel, the type of the
return value of personality(2) should be long instead of int.

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