bsm_socket_type.c
imports <sys/socket.h>UDP socket type constant
SHA-2563faade64c5a6778b9086d7ae5f5d76ce3374b5b9565f8c1fcd8ac52717678c0e
MaleculeH(Cm)Md(In)
Evidence
2:31… c.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must rep …
19:6… PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE F …
26:59… ISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#include <sys/types.h>
31#include <sys/socket.h>
32
33#include <config/config.h>
34
35#include <bsm/audit_socket_type.h>
36#include <bsm/libbsm.h>
37
38struct bsm_socket_type {
⋯5 lines
45:3… atic const struct bsm_socket_type bsm_socket_types[] = {
46 { BSM_SOCK_DGRAM, SOCK_DGRAM },
47 { BSM_SOCK_STREAM, SOCK_STREAM },
48 { BSM_SOCK_RAW, SOCK_RAW },
49 { BSM_SOCK_RDM, SOCK_RDM },
50 { BSM_SOCK_SEQPACK …