Benign freebsd Download

bsm_token.c

imports <sys/socket.h>Declares a C IPv4 socket address
SHA-25654fa3ca93f960a2117d6468aea4f7d1bad7411411d4d45996ab506ba07036df4
MaleculeH(Cm)Md(In)

Evidence

English function-word token "the" lines 1–14
⋯5 lines
6 * All rights reserved.
7 *
8 * This code was developed in part by Robert N. M. Watson, Senior Principal
9 * Scientist, SPARTA, Inc.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above co …
English function-word token "for" lines 25–26
25:6… PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE F …
imports <sys/socket.h> lines 32–59
32:58… VISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 */
35
36#include <sys/param.h>
37#include <sys/types.h>
38#include <sys/endian.h>
39#include <sys/queue.h>
40#include <sys/socket.h>
41#include <sys/time.h>
42
43#include <sys/ipc.h>
44#include <sys/libkern.h>
45#include <sys/malloc.h>
46#include <sys/un.h>
47
48#include <netinet/in.h>
49#include <netinet/in_systm.h>
50#include <netinet/ip.h>
51
52#include <bsm/audit.h>
53#include <bsm/audit_internal.h>
54#include <bsm/audit_record.h>
55#include <security/audit/audit.h>
56#include <security/audit/audit_private.h>
57
58#define GET_TOKEN_AREA(t, dptr, length) do { \
59 t = malloc(sizeof(token_t), M_AUDITBSM, M_W …
English function-word token "have" lines 919–923
919:21… rguments to this routine are assumed to already have been
920 * converted to the BSM constant space, so we don't do that here.
921 */
922token_t *
923au_to_sock …
Declares a C IPv4 socket address lines 924–933
924:34… ruct sockaddr *sa_remote)
925{
926 token_t *t;
927 u_char *dptr = NULL;
928 struct sockaddr_in *sin;
929 struct sockaddr_in6 *sin6;
930
931 if (so_domain == AF_INET)
932 GET_TOKEN_AREA(t, dptr, sizeof(u_char) +
933 5 * sizeof(u_int …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.