Re: Question about verify_area() removal from socket.c

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

 



# cat /proc/version
Linux version 2.4.16-pre1 (root@celica.ltc.austin.ibm.com) (gcc version
2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #4 Tue Dec 4 16:46:04 CST 2001

# man recv
RECV(2)             Linux Programmer's Manual             RECV(2)
    :
    :
ERRORS
       These are some standard errors generated by the socket layer.
    :
    :
 EFAULT The receive buffer pointer(s) point outside the process's address
space.
    :

If the error doesn't get returned....why document it...if the error does
get returned...shouldn't it return everytime?

- Robbie

Robert V. Williamson
Linux Test Project
IBM Linux Technology Center
Phone: (512) 838-9295   T/L: 638-9295
http://ltp.sourceforge.net


                                                                                                          
                    "David S.                                                                             
                    Miller"              To:     Robert Williamson/Austin/IBM@IBMUS                       
                    <davem@redhat.       cc:     linux-net@vger.kernel.org                                
                    com>                 Subject:     Re: Question about verify_area() removal from       
                                          socket.c                                                        
                    12/05/2001                                                                            
                    05:11 PM                                                                              
                                                                                                          
                                                                                                          



   From: "Robert Williamson" <robbiew@us.ibm.com>
   Date: Wed, 5 Dec 2001 17:02:38 -0600

   So I'm assuming since the test should be fixed....the manpage
   should also be corrected?

Yes the test should be fixed, that is what I said.

The manpage does not say that EFAULT must be returned, but it is
up to Andi Kleen whether to change the wording or not.




-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux