Changeset 4ba4f82 in rtems


Ignore:
Timestamp:
Apr 21, 2016, 12:42:53 PM (4 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
master
Children:
e79a0ca7
Parents:
f0fc2c0
git-author:
Christian Mauderer <Christian.Mauderer@…> (04/21/16 12:42:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/28/16 11:10:01)
Message:

libnetworking: Hide SO_PRIVSTATE

Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/kern/uipc_socket.c

    rf0fc2c0 r4ba4f82  
    4646#include <sys/sysctl.h>
    4747#include <limits.h>
     48#ifdef __rtems__
     49/*
     50 * This socket option was removed 1997 from the upstream FreeBSD network stack.
     51 * Turn this feature into essentially dead code.
     52 */
     53#define SO_PRIVSTATE    0x1009          /* get/deny privileged state */
     54#endif /* __rtems__ */
    4855
    4956static int somaxconn = SOMAXCONN;
  • cpukit/libnetworking/sys/socket.h

    rf0fc2c0 r4ba4f82  
    101101#define SO_ERROR        0x1007          /* get error status and clear */
    102102#define SO_TYPE         0x1008          /* get socket type */
    103 #define SO_PRIVSTATE    0x1009          /* get/deny privileged state */
    104103
    105104/*
Note: See TracChangeset for help on using the changeset viewer.