Re: [PATCH] man2/shmget.2: Remove unexisted EPERM error

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

 



Sorry for noise. I will send a v2 patch and add details about
hugetlb_shm_group value.
> I have seen kernel ipc/shm.c code, I don't see shmget has EPERM error
> when using SHM_HUGETLB. So remove it.
> 
> Signed-off-by: Yang Xu<xuyang2018.jy@xxxxxxxxxxx>
> ---
>   man2/shmget.2 | 7 -------
>   1 file changed, 7 deletions(-)
> 
> diff --git a/man2/shmget.2 b/man2/shmget.2
> index 757b7b7f1..f10ba7a1f 100644
> --- a/man2/shmget.2
> +++ b/man2/shmget.2
> @@ -267,13 +267,6 @@ or allocating a segment of the requested
>   .I size
>   would cause the system to exceed the system-wide limit on shared memory
>   .RB ( SHMALL ).
> -.TP
> -.B EPERM
> -The
> -.B SHM_HUGETLB
> -flag was specified, but the caller was not privileged (did not have the
> -.B CAP_IPC_LOCK
> -capability).
>   .SH CONFORMING TO
>   POSIX.1-2001, POSIX.1-2008, SVr4.
>   .\" SVr4 documents an additional error condition EEXIST.




[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